This is an archive of the discontinued LLVM Phabricator instance.

[docs] Set Phabricator as the tool for pre-commit code reviews
ClosedPublic

Authored by kparzysz on Jun 7 2021, 7:02 AM.

Details

Summary

This is a follow-up to the discussions about deprecating email code reviews in favor of Phabricator:
https://lists.llvm.org/pipermail/llvm-dev/2021-May/150344.html
https://lists.llvm.org/pipermail/llvm-dev/2021-May/150619.html
It includes updated wording suggested by David Blaikie.

I did not move any information to different sections because that would change the structure of the document: I wanted to keep the information about tools used for reviews in the same section where it was originally located.

Diff Detail

Event Timeline

kparzysz requested review of this revision.Jun 7 2021, 7:02 AM
kparzysz created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2021, 7:02 AM

This looks about right to me - probably follow-up on the email threads to mention this has been sent for review/link to this review?

kuhnel accepted this revision.Jun 7 2021, 8:47 AM
This revision is now accepted and ready to land.Jun 7 2021, 8:47 AM
dblaikie accepted this revision.Jun 7 2021, 9:03 AM

Sounds good

This revision was landed with ongoing or failed builds.Jun 7 2021, 9:52 AM
This revision was automatically updated to reflect the committed changes.
beanz added a subscriber: beanz.Jun 10 2021, 9:47 AM

So, I realize I probably should have mentioned this earlier on the llvm-dev thread, but is this really a change we should be making the week after Phabricator officially became an unsupported project:

https://admin.phacility.com/phame/post/view/11/phacility_is_winding_down_operations/

I feel like in practice we use Phabricator and not really pre-commit email reviews, so this might just be formalizing the practice, but Phabricator not being officially maintained means that we'll likely need to move off it at some point, so this policy change would likely be short lived.

So, I realize I probably should have mentioned this earlier on the llvm-dev thread, but is this really a change we should be making the week after Phabricator officially became an unsupported project:

https://admin.phacility.com/phame/post/view/11/phacility_is_winding_down_operations/

I feel like in practice we use Phabricator and not really pre-commit email reviews, so this might just be formalizing the practice, but Phabricator not being officially maintained means that we'll likely need to move off it at some point, so this policy change would likely be short lived.

Good to know (+@mehdi_amini) - but given this is a small/simple textual change and codifies existing practice, I'm still good with this change.

But I agree this does mean we need to be re-evaluating our tooling around code reviews, and might help push things in the direction of moving to pull requests, for instance.

The commercial entity behind Phab is dropping development of new features but they said they'll keep the maintenance for the foreseeable future I believe. Also there is a community currently organizing to fork the project and continue the development: https://docs.google.com/document/d/1YxQ_JGdhWYPSdoaI_m1TLzwbGLZdtOD7ux2SVL263Ow/edit

Also, we have been upgrading our instance every ~2years. It is overall quite stable so we won't be under any "urgency" any time soon.

+1 on David and Mehdi

If we move to another code review tool, we would just s/Phabricator/the new tool/g and the general workflow would hopefully stay the same.

nice, thank you!