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
F13091741: D20426.diff
Thu, Apr 25, 3:11 AM
Unknown Object (File)
Sat, Apr 20, 8:31 PM
Unknown Object (File)
Sat, Apr 20, 8:20 PM
Unknown Object (File)
Sat, Apr 20, 4:45 PM
Unknown Object (File)
Fri, Apr 19, 10:26 AM
Unknown Object (File)
Sat, Mar 30, 7:58 AM
Unknown Object (File)
Mar 20 2024, 1:07 PM
Unknown Object (File)
Mar 5 2024, 12:10 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
Branch
autoclose10
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22598
Build 30961: Run Core Tests
Build 30960: arc lint + arc unit

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.