Page MenuHomePhabricator

Evolve conduit API about repository.create : local repository
Needs RevisionPublic

Authored by azerttyu on Jul 8 2015, 11:41 AM.
Tags
None
Referenced Files
F18434195: D13602.id.diff
Sun, Aug 31, 9:01 AM
F18430932: D13602.id32865.diff
Sun, Aug 31, 4:37 AM
F18406447: D13602.diff
Sat, Aug 30, 12:12 AM
F18383875: D13602.id32865.diff
Thu, Aug 28, 11:32 PM
F18350897: D13602.id32873.diff
Tue, Aug 26, 8:38 PM
F18350105: D13602.diff
Tue, Aug 26, 7:13 PM
F17946895: D13602.diff
Jul 31 2025, 3:24 PM
F17662258: D13602.diff
Jul 12 2025, 4:57 PM
Subscribers

Details

Summary

Allow false value to uri argument.
uri is remote_uri value is only required to clone a remote reposiotory. If set to false or empty, then we can considere as a local repository.

Test Plan
echo '{ "name": "comments", "vcs": "git", "callsign": "CALLSIGN", "uri": false }' | arc call-conduit --conduit-uri https://phabricator/ --conduit-token <conduit-token> repository.create
echo '{ "name": "comments", "vcs": "git", "callsign": "CALLSIGN", "uri": "" }' | arc call-conduit --conduit-uri https://phabricator/ --conduit-token <conduit-token> repository.create

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 7214
Build 7470: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

azerttyu retitled this revision from to Evolve conduit API about repository.create : local repository.
azerttyu updated this object.
azerttyu edited the test plan for this revision. (Show Details)
azerttyu set the repository for this revision to rP Phabricator.
azerttyu edited edge metadata.

Add serve mode , set http and ssh serve mode (read only, ready and write or nothing)

epriestley added a reviewer: epriestley.

I don't want to make changes to this API method until we resolve T5873.

This revision now requires changes to proceed.Jul 8 2015, 1:41 PM