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
Unknown Object (File)
Fri, Jan 17, 9:53 AM
Unknown Object (File)
Wed, Jan 15, 7:39 PM
Unknown Object (File)
Mon, Jan 6, 12:06 PM
Unknown Object (File)
Fri, Dec 27, 4:19 PM
Unknown Object (File)
Wed, Dec 25, 2:08 PM
Unknown Object (File)
Fri, Dec 20, 8:36 PM
Unknown Object (File)
Dec 12 2024, 11:16 PM
Unknown Object (File)
Dec 10 2024, 3:11 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