-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
News entry file name incorrectly formatted
when moving a news entry
#642
Comments
How does this happen? Please can you share steps to reproduce? |
I manually moved an existing news entry because it was in the wrong category. |
Please can you give explicit steps of what you did/ran, what happened and what you expected? |
The relevant pull request is here: python/cpython#120735
In this case the error message should simply be No news entry in Misc/NEWS.d/next/ or "skip news" label found. |
We should probably move it to this check: Lines 52 to 53 in 504dc34
if not util.is_news_dir(file["file_name"]) or len(file["patch"]) == 0:
continue |
I also saw this error after renaming a blurb file to fix the referenced issue number in PR python/cpython#125285 |
If a news entry is moved to a different category, you get
News entry file name incorrectly formatted
as an error message.bedevere/bedevere/news.py
Line 59 in 504dc34
bedevere/bedevere/news.py
Lines 73 to 80 in 504dc34
I spent way too long trying to figure this out.
The text was updated successfully, but these errors were encountered: