Uh oh!
There was an error while loading. Please reload this page.
Accept GitHub issues numbered only 32426 or above - #519
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hugovk
left a comment
There was a problem hiding this comment.
Please could you add some tests?
Hopefully we can get #520 merged soon, then we can add unit tests.
In the meantime, tests are done by adding valid blurb files in the pass dir and invalid ones in the fail dir at https://github.com/python/core-workflow/tree/main/blurb/tests, and then running blurb test.
Uh oh!
There was an error while loading. Please reload this page.
menkotoglou
commented
Dec 18, 2023
Seems like the Also, the tests wouldn't pass if we didn't raise an exception at the Finally, retrospectively fixed some old tests that indeed were using smaller GH issue numbers. |
hugovk
left a comment
There was a problem hiding this comment.
Thanks! It's nice when adding tests reveals a problem in the original implementation :)
Looks good, here's a wording suggestion.
Uh oh!
There was an error while loading. Please reload this page.
menkotoglou
commented
Dec 20, 2023
Thanks a lot for the review @hugovk. Suggestion commited! |
pradyunsg
left a comment
There was a problem hiding this comment.
A couple of non-blocking suggestions, with one of them being a nitpick that you're welcome to ignore if it's too much effort and a request to name a magic number.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
menkotoglou
commented
Dec 20, 2023
Thanks a lot for the review @pradyunsg. Feedback addressed already! |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
menkotoglou
commented
Dec 29, 2023
Hey @pradyunsg, @hugovk, you think we're OK to merge this? |
hugovk
commented
Dec 29, 2023
Yes, let's merge. Thank you for your contribution! |
Fixes#504.
Iterates through the template file to find the gh-issue line and checks number if it's in the accepted issue number range.
This is how an unsuccessful attempt looks like: