As of this change, users who are new contributors to LLVM and/or new to GitHub itself will recieve this comment on their first PR to LLVM:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the “Reviewers” section on this page.
If this is not working for you, it is probably because you do not have write
permissions for the repository. In which case you can instead tag reviewers by
name in a comment by using@
followed by their GitHub username.If you have received no comments on your PR for a week, you can request a review
by "ping"ing the PR by adding a comment “Ping”. The common courtesy “ping” rate
is once a week. Please remember that you are asking for valuable time from other developers.If you have further questions, they may be answered by the LLVM GitHub User Guide.
You can also ask questions in a comment on this PR, on the LLVM Discord or on the forums.
This message is posted before labelling is done and therefore before anyone else is subscribed to the PR. If you are not a first time user, the greeting is skipped and labelling runs as usual.
The content is based on my experience in other projects, suggestions from new users and common questions myself and others have been answering.
This RFC is to make you all aware that:
- This exists and if you see it not working, let me know.
(no new user PRs so far today, otherwise I’d link an example) - If you want to edit the comment content, it is in this file.
If this gives you ideas for a workflow of your own, I can report that although a bit tedious, it is quite simple to test workflows on your own fork of llvm. You do not need any special tokens or keys from the llvm organisation itself.
A few tips:
- When you change the target of a PR, the UI doesn’t update immediately. Be patient or risk opening a bunch of rubbish PRs to llvm itself (like I did).
- The workflows will have a
github.repository == 'llvm/llvm-project'
line. Edit this to be your fork, change it back when you PR it back to llvm itself. - If you need to test a rare property, like being a first time user, pick another property you can more easily test and replace it when you’ve finally got the syntax right.
- Use a YAML formatter, it’ll save you a lot of frustration.
One suggestion has been to also give a message like this to folks who have been away for a while, maybe more than a year. I think that would be best done by querying a GitHub API instead of crawling the repo ourselves, but haven’t tried either.
If you’ve done that sort of stuff before, I’d love to know what the possibilities are.