Document and remove some scary warnings from repository hosting
Summary: Fixes T2230. This isn't a total walk in the park to configure, but should work for early adopters now. Test Plan: Read documentation, browsed UI. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2230 Differential Revision: https://secure.phabricator.com/D7634
This commit is contained in:
@@ -92,15 +92,18 @@ final class DiffusionRepositoryEditHostingController
|
||||
'Users will not be able to push commits to this repository.'))
|
||||
->setValue($v_hosting);
|
||||
|
||||
$doc_href = PhabricatorEnv::getDoclink(
|
||||
'article/Diffusion_User_Guide_Repository_Hosting.html');
|
||||
|
||||
$form = id(new AphrontFormView())
|
||||
->setUser($user)
|
||||
->appendRemarkupInstructions(
|
||||
pht(
|
||||
'NOTE: Hosting is extremely new and barely works! Use it at '.
|
||||
'your own risk.'.
|
||||
"\n\n".
|
||||
'Phabricator can host repositories, or it can track repositories '.
|
||||
'hosted elsewhere (like on GitHub or Bitbucket).'))
|
||||
'hosted elsewhere (like on GitHub or Bitbucket). For information '.
|
||||
'on configuring hosting, see [[ %s | Diffusion User Guide: '.
|
||||
'Repository Hosting]]',
|
||||
$doc_href))
|
||||
->appendChild($hosted_control)
|
||||
->appendChild(
|
||||
id(new AphrontFormSubmitControl())
|
||||
|
||||
Reference in New Issue
Block a user