Page MenuHomePhorge

Expose only canonical Clone URI for external repo and Differential uninstalled
AbandonedPublic

Authored by aklapper on Apr 11 2024, 12:13.

Details

Summary

When Differential is uninstalled, it does not make sense to have Diffusion canonically host code repositories as no commits can be pushed into them via Differential. Instead expose the canonical code repository location URI, ignoring whether the URI is enabled / visible, so folks who clone the code repository have an URI set in their local checkout which allows developer interaction (e.g. pushing branches).

Closes T15780

Test Plan
  • Set up a repository in Diffusion which is observed from a third party location.
  • Go to the Diffusion repository in the web browser, click the green "Clone" button, inspect the offered URIs.

Diff Detail

Repository
rP Phorge
Branch
observedReposOnlyClone (branched from master)
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningsrc/applications/diffusion/controller/DiffusionCloneController.php:46TXT3Line Too Long
Unit
Tests Passed
Build Status
Buildable 1159
Build 1159: arc lint + arc unit