The two scripts are a part of updating CocoaPods to work with a CDN instead of only via git repos.
add_indexes.sh - Adds an index for every Pod, this should probably only need to be used once.add_incremental_index.sh - Uses git to update only Pods which have changed in the given commit range.