Skip to content

Rename "repo URI" to "repo name"

Administrator requested to merge remove-deprecated-usages-of-repo-uri into master

Created by: sqs

For the repository identifier that looks like github.com/foo/bar, the term name has been preferred to uri for 6+ months now. (The uri fields have been deprecated in our public GraphQL API since May.)

This PR renames our code to use the preferred term (uri -> name) in:

  • internal API fields (with backcompat for the one difficult-to-upgrade case, zoekt-sourcegraph-indexserver)
  • Go func/type/struct field names
  • code documentation
  • site config documentation
  • code comments
  • our own GraphQL queries
  • local var names
  • PostgreSQL DB column names

It DOES NOT remove uri from our GraphQL API, so external API clients will be unaffected by this change.

There are many individual commits here to make rebasing easier. The codemods or gorenames used are also listed.

This PR updates the CHANGELOG.md file to describe any user-facing changes.

Merge request reports

Loading