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)
Thu, Apr 25, 12:33 AM
Unknown Object (File)
Mon, Apr 22, 4:10 PM
Unknown Object (File)
Wed, Apr 17, 2:38 PM
Unknown Object (File)
Sat, Mar 30, 12:01 AM
Unknown Object (File)
Mar 25 2024, 1:51 PM
Unknown Object (File)
Mar 25 2024, 1:51 PM
Unknown Object (File)
Mar 25 2024, 1:51 PM
Unknown Object (File)
Feb 29 2024, 11:21 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