def fetch_quick_index(source_uri, all)
      index = all ? 'index' : 'latest_index'

      zipped_index = fetcher.fetch_path source_uri + "quick/#{index}.rz"

      unzip(zipped_index).split("\n")
    rescue ::Exception => e
      unless all then
        say "Latest index not found, using quick index" if
          Gem.configuration.really_verbose

        fetch_quick_index source_uri, true
      else
        raise Gem::OperationNotSupportedError,
              "No quick index found: #{e.message}"
      end
    end
def fetch_quick_index(source_uri, all)
      index = all ? 'index' : 'latest_index'

      zipped_index = fetcher.fetch_path source_uri + "quick/#{index}.rz"

      unzip(zipped_index).split("\n")
    rescue ::Exception => e
      unless all then
        say "Latest index not found, using quick index" if
          Gem.configuration.really_verbose

        fetch_quick_index source_uri, true
      else
        raise Gem::OperationNotSupportedError,
              "No quick index found: #{e.message}"
      end
    end
Get the quick index needed for incremental updates.