StableRequestCheck: Add stabletime config option#429
StableRequestCheck: Add stabletime config option#429EmRowlands wants to merge 2 commits intopkgcore:masterfrom
Conversation
|
Seems reasonable. Might be nice to see if we can add a test for it. |
0c969d5 to
0b1210d
Compare
|
Instead of adding a new test, I've added a fixture to an existing test that runs with varying values of This solution might be a bit over-engineering-y, so I'm happy to split the default-value case back out into a separate test and use |
There was a problem hiding this comment.
@EmRowlands Could you please add a signoff to the commit (to the same rules as for Gentoo repository)?
While this isn't a must policy, I do plan to move the whole stack to Gentoo infra repo, and having a signoff would make our life easier.
Also, this looks very nice, so I do plan to merge it after those comments. In which case during the release commit, I need to write your contribution in the NEWS file with your name (as a thanks token) - so which is the preferred way to write your full name?
Codecov Report
@@ Coverage Diff @@
## master #429 +/- ##
=======================================
Coverage 95.96% 95.96%
=======================================
Files 55 55
Lines 7813 7814 +1
Branches 2211 2211
=======================================
+ Hits 7498 7499 +1
Misses 194 194
Partials 121 121
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Last I checked, I was unable to contribute to Gentoo itself because I ran afoul of one of the relevant GLEPs. I'll have a read through of the notes I made after I push the changes you've suggested, and I'll push again later with the signoff if there's no issues.
Thank you, I appreciate the gesture. My full name can be written as it appears in the git log: "Emily Rowlands". |
0b1210d to
16aeb72
Compare
|
I've implemented the suggested changes, but (as I said in #429 (comment)) I've not added the signoff. I'll report back once I've investigated why it was that I was previously unable to do it. |
16aeb72 to
dbb65b1
Compare
|
Please feel free to email me privately (or arthur) if needed. |
|
(force-push again because I messed up my rebase) |
This commit adds an option allows the user to specify the time before a version is flagged by StableRequestCheck. The primary use case for this is in overlays where the stabilisation policy may be different from ::gentoo. Signed-off-by: Emily Rowlands <emily@erowl.net>
This commit parametrizes test_existing_stable_keyword. The existing test case is preserved by including a case that uses a default value. Signed-off-by: Emily Rowlands <emily@erowl.net>
dbb65b1 to
b51b431
Compare
|
Good news: the situation that prevented me from doing the signoff no longer applies. Please re-review or merge if ready! |
@EmRowlands, as agreed, you can see your name in NEWS file, and in v0.10.13 release notes |
This commit adds an option allows the user to specify the time before a version is flagged by StableRequestCheck. The primary use case for this is in overlays where the stabilisation policy may be different from ::gentoo.
I deliberately did not add a short option for
--stabletimebecause there are a limited number of valid single-letter options, and I didn't think that this case warranted using one. If maintainers think it's a good idea to have one, I'd be happy to add it in.