Fraser Cormack via llvm-dev
2021-Dec-10 11:39 UTC
[llvm-dev] How to submit a series of patches in a single review
Hi Shaka, I just taught someone else how to do this morning! What I do first is option 2 to get 2 separate reviews, then navigate to the web interface for 'B' and click "Edit Related Revisions" -> "Edit Parent Revisions" -> <click A>. This creates a patch "stack" which is what you're after. I agree it's not very well documented: it took me a while to work out what to do. Do people think we should add some documentation to this effect? Thanks, Fraser On Fri, 2021-12-10 at 19:28 +0800, shaka via llvm-dev wrote:> Hi all, > > I'm new for community contribution and I wonder is there a way to > submit patch series in a single review? > For example I have 2 patches: A and B. B depends on A. How can I > submit them together? > 1. The Web interface ( > https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface > ) seems doesn't allow uploading multiple patches. > 2. I also tried the command line tool arc ( > https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-command-line > ) by invoking `arc diff HEAD~` on each commit. > But these produce 2 seperate reviews and lose dependency. > > Any advice? > > Best regards, > Shaka > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >
Andrzej Warzynski via llvm-dev
2021-Dec-10 13:41 UTC
[llvm-dev] How to submit a series of patches in a single review
See https://moz-conduit.readthedocs.io/en/latest/arcanist-user.html#series-of-commits. There's a link to a blog post that explained this use-case very well. Sadly, that page is gone :( On 10/12/2021 11:39, Fraser Cormack via llvm-dev wrote:>> Do people think we should add some documentation to this> effect? Yes, please :) It's also worth asking on Discord and Discourse. -Andrzej