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)
Tue, Jan 21, 10:01 AM
Unknown Object (File)
Sat, Jan 18, 6:19 AM
Unknown Object (File)
Fri, Jan 17, 4:49 PM
Unknown Object (File)
Jan 13 2025, 12:31 AM
Unknown Object (File)
Jan 6 2025, 7:59 AM
Unknown Object (File)
Jan 4 2025, 5:56 AM
Unknown Object (File)
Jan 2 2025, 5:48 AM
Unknown Object (File)
Dec 27 2024, 3:22 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.