Page MenuHomePhabricator

Search revisions by "Repository Projects"
Closed, ResolvedPublic

Description

When having lots of repos, seeing "all revisions in this project" is hard - we ended up adding herald rules to basically copy project tags to the revisions (And that needs to be done per-project).

Teaching the relevant Repositories search field to support relevant functions will solve this better.

Event Timeline

avivey moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.May 17 2016, 12:58 AM
eadler added a project: Restricted Project.May 21 2016, 4:03 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

You can likely do this:

  • Follow PhabricatorProjectMembersDatasource to create DiffusionTaggedRepositoriesFunctionDatasource, which would expose a tagged(project) function.
  • Follow DifferentialReviewerDatasource to create a composite datasource which composes RepositoryDatasource and TaggedRepositoriesDatasource.
  • Update DifferentialRevisionSearchEngine to swap the vanilla RepositoryDatasource for your new fancy datasource.

That should cover it. Token resolution is entirely done by the datasource so none of the query / conduit API method / etc need to change.