python / python/bedevere

`News entry file name incorrectly formatted` when moving a news entry

Open
#642 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
141
Forks
62
Avg merge
5m
Merged PRs (30d)
2

Description

If a news entry is moved to a different category, you get News entry file name incorrectly formatted as an error message.

https://github.com/python/bedevere/blob/504dc34aee40478ddea8331ad090b63710974e7c/bedevere/news.py#L59

https://github.com/python/bedevere/blob/504dc34aee40478ddea8331ad090b63710974e7c/bedevere/news.py#L73-L80

I spent way too long trying to figure this out.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in bedevere/news.py at the linked lines 59 and 73-80, and trace the filename validation used when a news entry moves categories. Reproduce the move and identify why the existing filename check reports an incorrectly formatted name; done means a valid category move no longer produces that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.