1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 04:20:55 +01:00
phorge-phorge/src/applications/repository/query
epriestley 576b73dc53 Index all repository URIs, not just the "primary" repository URI
Summary:
Ref T10923. When regenerating the URI index for a repository, index every URI.

  - Also, make the index slightly stricter (domain + path instead of just path). Excluding the domain made more sense when we were generating only first-party URIs.
  - Make the index smarter about `/diffusion/123/` URIs.
  - Show normalized URIs in `diffusion.repository.search` results.

Test Plan:
  - Ran migration.
  - Verified sensible-looking results in database.
  - Searched for a repository URI by first-party clone URI.
  - Searched for a repository URI by mirror URI.
  - Used `diffusion.repository.search` to get information about repository URIs.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10923

Differential Revision: https://secure.phabricator.com/D15876
2016-05-11 06:36:06 -07:00
..
PhabricatorRepositoryGitLFSRefQuery.php Implement a Git LFS link table and basic batch API 2016-03-17 17:15:20 -07:00
PhabricatorRepositoryPullEventQuery.php Add a basic pull event log for debugging repository cloning 2016-01-28 08:18:34 -08:00
PhabricatorRepositoryPushEventQuery.php Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
PhabricatorRepositoryPushLogQuery.php Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
PhabricatorRepositoryPushLogSearchEngine.php Fix an issue with PHID/handle management in push logs 2016-04-20 04:47:10 -07:00
PhabricatorRepositoryQuery.php Index all repository URIs, not just the "primary" repository URI 2016-05-11 06:36:06 -07:00
PhabricatorRepositoryRefCursorQuery.php Add a DiffusionRefDatasource for typeahead'ing branches, tags, bookmarks and refs 2015-12-10 14:21:24 -08:00
PhabricatorRepositorySearchEngine.php Index all repository URIs, not just the "primary" repository URI 2016-05-11 06:36:06 -07:00
PhabricatorRepositoryTransactionQuery.php Use application PHIDs for application transactions 2013-07-29 12:04:15 -07:00
PhabricatorRepositoryURIQuery.php Rough sketch of new repository URI editing 2016-04-29 09:21:00 -07:00
PhabricatorRepositoryURITransactionQuery.php Add repository URI view pages and IO/Display edit logic 2016-04-29 09:22:16 -07:00