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)
Sun, Nov 3, 11:41 PM
Unknown Object (File)
Oct 9 2024, 12:08 PM
Unknown Object (File)
Oct 8 2024, 12:18 PM
Unknown Object (File)
Oct 5 2024, 12:40 AM
Unknown Object (File)
Oct 2 2024, 9:28 PM
Unknown Object (File)
Oct 2 2024, 9:26 PM
Unknown Object (File)
Oct 2 2024, 9:25 PM
Unknown Object (File)
Oct 2 2024, 9:23 PM
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.