Page MenuHomePhabricator

Expose repository ref rules via "diffusion.repository.search"
ClosedPublic

Authored by epriestley on Apr 15 2019, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 20, 1:07 PM
Unknown Object (File)
Tue, Mar 5, 12:10 PM
Unknown Object (File)
Fri, Mar 1, 5:08 AM
Unknown Object (File)
Feb 21 2024, 1:20 PM
Unknown Object (File)
Feb 3 2024, 10:10 PM
Unknown Object (File)
Feb 3 2024, 10:09 PM
Unknown Object (File)
Feb 3 2024, 10:09 PM
Unknown Object (File)
Jan 29 2024, 11:57 AM
Subscribers
None

Details

Summary

Depends on D20425. Ref T13277. See PHI1067. There's currently no way to retrieve branch/ref rules over the API, which makes some management operations against a large number of repositories difficult.

Expose these rules to the API.

Test Plan

Called diffusion.repository.search, got rules in the result set.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

amckinley added inline comments.
src/applications/repository/storage/PhabricatorRepository.php
2842

Should be "Fetch, track, and permanent ref rules", right?

This revision is now accepted and ready to land.Apr 17 2019, 8:06 PM
src/applications/repository/storage/PhabricatorRepository.php
2842

I'm being sneaky about "track" since I'm trying to get rid of it.

This revision was automatically updated to reflect the committed changes.