Ref T4789. While it is possible to create a repo with the conduit, it
is not possible to control the hosting and policy parameters. This
patch introduces the following parameters to the conduit call, which
are forwarded without validation to the PhabricatorRepository.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T4789: Extend Conduit method repository.create with the hosting parameter
Create a repo with
echo '{"name":"test-repo","callsign":"TRP","vcs":"git","hosting-enabled":true,"serve-over-http": "readwrite", "pushPolicy":"PHID-PROJ-2ougcjiddsrkkcptcfpi", "localPath":"/var/repo/CDEL"}' | arc call-conduit repository.create
To find out the PHIDs of your projects, execute
echo "{}" | arc call-conduit project.query
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- conduit-repository-create
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 1171 Build 1171: [Placeholder Plan] Wait for 30 Seconds