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
F18791686: D13602.id32865.diff
Thu, Oct 16, 4:52 PM
F18743051: D13602.id.diff
Thu, Oct 2, 10:11 PM
F18737238: D13602.diff
Wed, Oct 1, 9:35 AM
F18718579: D13602.diff
Mon, Sep 29, 4:08 PM
F18705490: D13602.diff
Sun, Sep 28, 11:35 AM
F18627948: D13602.id32873.diff
Sep 16 2025, 5:11 AM
F18601636: D13602.id.diff
Sep 13 2025, 1:02 PM
F18434195: D13602.id.diff
Aug 31 2025, 9:01 AM
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