Add additional information to help beginners submit reviews.
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 31113 Build 31112: arc lint + arc unit
Event Timeline
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | It really should be emphasized that either the appropriate repo field should be set, |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | I'm don't know what you mean by 'appropriate repo field'. I've emphasied there must be one or more Reviewers. Or do you mean something else? |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | @lebedev.ri do you mean add information about forking of llvm/llvm-project, clone the fork and then creating a commit? |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | I'm only highlighting "The mailing list should be added as a subscriber on all reviews" from https://llvm.org/docs/Phabricator.html |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | Ok, so instead of: "It requires one or more Reviewers and allows zero or more Subscribers, finding-reviewer-names_." How about: "arc requires one or more Reviewers (finding-reviewer-names_) and Subscribers should be llvm-commits plus the appropriate -dev list(s) from listinfo." I'll update llvm/docs/Phabricator-commit-message.png when I get it right :) |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | Although I normally add subscribers out of habit, Herald takes care of this for you when you submit a patch -- believe this is all maintained by @benhamilton. |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | There is a sufficient number of cases where that isn't so, |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | Not sure I understand your question -- don't use gui's, but figure they can't be that different. In any case, after you create a new patch in phab, you can update it by simply typeing arc diff. If you want to do it from somewhere other than where you originally ran the initial arc diff, you need to use the --update option, e.g., arc diff --update D61267. You don't need to do anything else. For example, look at the first few lines of history at the top of this page. You'll see that Herald add the llvm project, and subscribed llvm-commits. It's a one-time thing you don't need to worry about. As for @lebedev.ri comment about it not always working, personally, I'd consider that a bug and raise it on the list. I think @benhamilton fixed a few of those for me a couple of years ago. However, it doesn't hurt to mention it in the docs. hth... don |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | It seems adding "xxx-commit" doesn't hurt and its nice Hearld will do the right thing. I went ahead and updated the text and Phabricator-commit-message.png image. If you guys would like something different, let me know. |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | The repository field is set automatically based on the closest .arcconfig file going up from the directory in which you ran arc diff. |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | (I think there are scenarios where someone can run arc diff from a different directory or upload a diff directly to Phabricator which can bypass its detection of the repository, which could explain @lebedev.ri 's issues. Regardless, directly reporting problems can help.) |
llvm/docs/Phabricator.rst | ||
---|---|---|
70–71 | So is there any more changes anyone would like me to make? |
I've added a few reviewers more familiar with this documentation.
My main concern is the addition of images. None of the other documentation has any, and I'm not sure about the policy, so I'll leave that question to others.
However, I have made a couple comments below.
llvm/docs/Phabricator.rst | ||
---|---|---|
71 | I think it would be helpful to include the subscribers info @benhamilton provided. | |
168 | You could also mention arc cover here. | |
197 | Cut-n-paste error? |
llvm/docs/Phabricator.rst | ||
---|---|---|
71 | I'd add one more sentence here, to tell people that in the case that they are doing the currently-recommend thing, they do _NOT_ need to worry about this. Something like: LGTM otherwise! |
Update as suggested by jyknight
Add an additional sentence to the "Before uploading ..." paragraph
so clarify that Phabicator can update Subscribers automatically.
It really should be emphasized that either the appropriate repo field should be set,
or appropriate -commits list be subscribed, from the start.