-
-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
Codecov Report
@@ Coverage Diff @@
## master #105 +/- ##
==========================================
- Coverage 98.61% 91.02% -7.59%
==========================================
Files 3 4 +1
Lines 144 156 +12
==========================================
Hits 142 142
- Misses 2 14 +12
Continue to review full report at Codecov.
|
Many of the recent |
We'll leave that up to the maintainer that looks at the PR. (We will add guidelines about this in the developer docs, and via an email to astropy-dev). But basically: if a maintainer adds the "copyedited" label, this indicates that the PR doesn't need copyediting, and she will skip it. We discussed adding a no-copyediting-needed label, but decided that was overengineering. |
|
||
# TODO: we need to note somewhere that if the copyeditor changes, this needs to | ||
# be updated! | ||
COPYEDITOR_GH_HANDLE = 'lglattly' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this can be a configurable item in pyproject.toml
? If other packages decides to deploy this in their own repo, you don't want lglattly
to get spammed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha! Right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although, it might be a way to get @lglattly some more work ;)
That seems a bit much for the usual few liners. Anyway, I'm comfortable saying something doesn't need copy editing, but not comfortable saying that something has been copy edited. What happened with the original idea of staying |
@eteq and I discussed and decided that it would be easier to forget and accidentally merge before copyediting was done if it requires a maintainer to manually add the "needs" label. This way, it requires an action to ignore it. |
@bsipocz So you would prefer a "no-copyediting-required" label? |
and that action will be done by the ones who do the labeling most of the time anyways. I'm still 👎 on this unless a better name comes up for the label. I won't set |
I don't actually think those doing the labeling should have to set this: setting "copyedited" or, if we make it, "no-copyediting-needed" should be set by whoever reviews the PR, IMO. |
Then who would set it? I might misunderstood something. Isn't the proposal that everything that is labeled by |
This a |
I just explained: the PR reviewer. I'm not suggesting we merge failing PRs: I'm suggesting that, in order to skip the check, the PR reviewer needs to deliberately indicate that copyediting should be skipped. In my initial proposal, that was by way of setting the existing "copyedited" label. But yes, another option would be to have a "no-copyediting-needed" label. |
who is in many times for those little docs PRs is @pllim or me as we do the labeling anyway and approve trivial stuff like missing backticks, changelog fixes, etc that are all |
So yes, please bring it up with a wider contributor pool than just @eteq and ask what others prefer. An opt in |
Got it: I didn't appreciate that you and @pllim end up reviewing docs PRs in the course of labeling. We're discussing more options with @crawfordsm and @kelle. More soon... |
Well, both of us are motivated to keep the number of open PRs under control and not to ping subpackage maintainers with trivial stuff when they have bigger fish to fry. |
After some discussion, I think the goal here is to make a clear set of tasks for the copyeditor(s) to do. So here's a proposal for what to do:
Longer-term, we would want to set some sort of infrastructure that actually diffs the docs and the copy-editor can drive their work using that rather than the actual PRs/issues. But that requires a non-trivial amount of setup/maintainence so it would be a future project. Does that 1-4 seem reasonable, @bsipocz ? |
Note: under this new proposal, since copyediting isn't a requirement to merge, we would also want to make sure that the copyediting-needed label stays on a PR after it is merged, so @lglattly could in principle review any relevant text after merging. I don't love this, but I also don't want a bottleneck to happen where a bunch of PRs are waiting on copyediting. |
I still don't mind it being a blocker if it's an opt in system. E.g. we manually add the copy edit needed for PRs that actually need copy editing. E.g. I'm not sure it's the ones with |
In theory, it should be easy for the bot to auto-add "copy-editing-needed" label when "docs" label is present and the former is not added. I am not 100% of the race condition behavior if maintainer manually adds "docs" and then adds "copy-editing-needed" right after, also manually, but hopefully this is rare occasion. What the bot cannot do is in a situation where the PR is primarily not about docs, but doc is added as part of the code change. We usually don't label "docs" for those, at least not consistently. Or... if we do #65 first, then maybe this will be even easier. Because in that case, labels are automatically added by the bot, and maintainers curate those afterwards. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm coming to this conversation late, but based on where this conversation is going, is this PR still needed since copyediting isn't a requirement to merge? Please request a review from me again if you do end up wanting it to be reviewed.
Yep, I guess the conclusion is that this isn't needed - I'll close |
This fixes #104.
This adds a new PR check that fails if the label "docs" is set unless the label "copyedited" has been added.
Note that this depends on functionality added to baldrick in OpenAstronomy/baldrick#76, and so shouldn't be merged until that PR is resolved and merged.