I agree and I made a similar suggestion, though I am not a decision maker.
There is substantial work to migrate existing patches to GitHub pull requests. Allowing comments is important for a smoother transition, otherwise people cannot even say: âhey, this is now available at https://github.com/llvm/llvm-project/pull/xxx, please move the discussion thereâ âa similar patch patch has landed and this can be closed (but we cannot because we are in a read-only mode)â. (And
sometimes itâs difficult to connect Phabricator handles with GitHub handles)
@mehdi_amini: We could also on just disable creating new revision entirely right now? And we wouldnât be in a hurry for the read-only switch.
@MaskRay : what about a 403 on the URL to create a new revision? (the one used by arc as well, assuming it used a different entry point for creation and update!)
I am fine with disabling new revisions right now.
Some components like comments may be usable for a bit longer, but there is no service-level agreement.
I added a banner discouraging new differentials as that seemed straightforward. Disabling new differentials may need a bit more exploratory work (GitHub - phacility/phabricator: Effective June 1, 2021: Phabricator is no longer actively maintained.)âŠ
diff --git a/src/view/page/PhabricatorStandardPageView.php b/src/view/page/PhabricatorStandardPageView.php
index ecb12bb81d..4e397fee58 100644
--- a/src/view/page/PhabricatorStandardPageView.php
+++ b/src/view/page/PhabricatorStandardPageView.php
@@ -473,4 +473,14 @@ final class PhabricatorStandardPageView extends PhabricatorBarePageView
$developer_warning,
$header_chrome,
+
+ phutil_tag_div(
+ 'aphront-developer-error-callout',
+ array(
+ pht('Please use '),
+ phutil_tag('a', array('style' => 'color:#ccc', 'href' => 'https://github.com/llvm/llvm-project/pulls'), pht('GitHub pull requests')),
+ pht(' for new patches. '),
+ phutil_tag('a', array('style' => 'color:#ccc', 'href' => 'https://discourse.llvm.org/t/update-on-github-pull-requests/71540'), pht('Phabricator shutdown timeline')),
+ )),
+
phutil_tag(
'div',
BTW, with existing information I have, the read-only mode is changing this variable:
phab@llvm-reviews:/srv/http/phabricator$ grep read-only conf/local/local.json
"cluster.read-only": false,
â T4571 Allow Phabricator to run in Read-Only Mode We will need to figure out how read-only it is:) If someone can take a look at the code and make a confirmation, that would be really useful.