Page MenuHomeDevCentral

repository.query will be deprecated on Phabricator
Open, NormalPublic

Description

The notifications center uses repository.query to get information about repositories: URLs to match GitHub repositories, projects to sort notifications.

Two classes in the code referencing that:

  • PhabricatorListener
  • PhabricatorStory

https://secure.phabricator.com/T10945 offers to deprecate the old repository.query in favour of diffusion.repository.search.

This has a nice benefit: currently, we need a custom repository.query code, as upstream rejected a change to get projects, as they don't want to revisit legacy .query API method, in favour of modern .search methods.