metabrainz / metabrainz/python-discid
Split up DiscError
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Right now the DiscError exception is being called for any issue with reading the disc, e.g., including there not being a disc drive at all or the user not having permission to access it. It would be nice if at least these two (no drive, no permissions) could be handled by their own exceptions.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing where the DiscError exception is defined and raised while reading the disc, then inspect how libdiscid reports missing drives and permission failures. The change is complete when those two cases use distinct exceptions rather than DiscError, with existing disc-reading behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100