To make the Repository Conduit calls provide information needed for automated cloning, this adds the default branch name.
If there are any other areas that this may affect, please warn me. I tested the web interface for conduit and command line.
Differential D11055
Added defaultBranch to the Repository Dictionary that is returned on conduit calls. locutus on Dec 29 2014, 10:29 PM. Authored by Tags None Referenced Files
Subscribers
Details
To make the Repository Conduit calls provide information needed for automated cloning, this adds the default branch name. If there are any other areas that this may affect, please warn me. I tested the web interface for conduit and command line. Make sure conduit returns the needed values.
Diff Detail
Event TimelineComment Actions Even if this doesn't get added to the mainline, I would like a second opinion on how/if this may adversely affect other elements in Phabricator. I have been testing this on my own test instance and have not seen any issues with arc diff/land/branch/call-conduit I have not seen any issues cloning Repositories through git or browsing them through the web interface. However, I'm concerned I may be overlooking something that could be catastrophic if I deploy. Is there any other areas that might call on this updated function that could miss-handle the updated return value? Comment Actions Our testing results: We went ahead an landed this on our fork about a month ago and have not had any issues. |