-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paying more attention to PRs #4935
Comments
I think we could make PRs more attractive by
Maybe we could try out special labels for PRs?
There are also draft PRs, but we need pr-incomplete anyways for the case the author needs to do rework. If we see it gets a fail, we can simply remove the labels 😆 |
I'd change "reviewer" to "review" on the second two tags, and maybe
pr-incomplete could be pr-wip? Cuts down on the length a bit.
…On Sun, Apr 14, 2019, 19:48 Johannes Lorenz ***@***.***> wrote:
I think we could make PRs more attractive by
1. allowing to split style and functional
2. labeling clearly where review is missing
Maybe we could try out special labels for PRs?
- *pr-incomplete* (if it's a draft yet or the author needs to do some
rework)
- *pr-needs-style-reviewer*
- *pr-needs-functional-reviewer* (yes, that's still a valid label name)
There are also draft PRs, but we need *pr-incomplete* anyways for the
case the author needs to do rework.
If we see it gets a fail, we can simply remove the labels 😆 Can I please
try that out?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4935 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIgVmmXsC_MhBN1-8ss_toos9RA9EyUzks5vg2oIgaJpZM4cg8xB>
.
|
I see we already have an "in-progress" label. That looks redundant to "pr-wip", we should consider removing "pr-wip" and use the existing "in-progress". |
One of the biggest reasons is the lack of time to review PRs. I've been keeping trying to spend more time to review PRs, but I feel it's still not enough. I think many of us don't have much spare time to do reviews. We don't have enough people to compensate for it either. |
Maybe we can speed up steps of the review? Review requires 3 steps:
TestingThere are some tests that require code know-how, but most tests do not (in my experience). We could need some testers. Developers are very rare (as @PhysSong noted), but we have hundreds of users in Discord. With the help of the LMMS bot it's easy to test a PR. However, everytime I ask in "general" for testers, no one replies (or only devs ...). Maybe it's not attractive to test because you won't be listed in the credits (but code/style reviewers aren't listed there, too, I think?). Or maybe there's another reason? Style reviewWill be solved by Functional code reviewThese are just thoughts, not necessarily my option. However, I wonder if we can review PRs faster, especially feature PRs. I think about Microwave (pending), Spectrum Analyzer (reviewed), or Lv2 (reviewed). E.g. when reviewing Spectrum analyzer, I tried to understand every code line. Maybe this is too much (I don't know how others do reviews). What must be reviewed:
Maybe, the following
It could be even more easier if the dev checks the "What must be reviewed" list and passes it to the reviewer. |
I'd like to add own experience here as well as I have gone through several code reviews in the last months. First of all I'd like to thank everyone who has taken the time to give me a review! I am aware that I am by far not doing as many reviews as others. However, I also consider myself a little bit more "remote" to the project due to the fact that I am not on Discord and therefore don't really know what's going on in the project. Another reason is that I do not have that much time for the project anyway and therefore I'd like to concentrate more on providing features. I am also aware that this would not work if everybody did it like this. 😉 To much focus on style reviewsFrom my experience I'd say that currently far too much focus is put on style reviews. Or perhaps I should rather say that I am under the impression that I am mostly getting style reviews and almost no functional reviews. I am not saying that a coherent style is unimportant. However, it will never get 100% coherent anyway and style reviews should also not be about personal little preferences in my opinion. To me it also does not make sense to get style reviews from different people. The reason is that they all have different tastes and preferences. Due to that it always feels a little bit like the style of the corresponding reviewer is somewhat "forced" onto the own style before it is green-lit. So I agree that the code styling should be done by a tool. This would at least be more coherent. Alternatively the style reviews should be more "forgiving" with regards to personal taste and only report more "serious" issues. Functionality and FeaturesIn my opinion the functionality of the application and getting it forward with regards to new features should be more important than the code style anyway. Because the functionality is what the users are actually seeing (and hopefully appreciating). |
I'm around more than others which can chime in better on functionality, and my focus is style first anyway. The clang-format/tidy configuration we do have isn't 100% compliant with the way our coding conventions are, and we generally need to decide if we want to change the convention or adjust the tooling. Eventually style reviews will just be checking if you ran tidy/format, but until that day we still need to try to maintain convention throughout the codebase as it gets updated. The opinionated reviews on certain style formats are because we don't have convention for that situation, and we need to decide how we want it to be formatted for when we use style tooling in the future. |
Motivation
Some practical examples:
Why PRs need more attention
affect others (look at our unstable master branch)
What are the reasons for PRs not reviewed?
At least:
The text was updated successfully, but these errors were encountered: