Improve error output
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
Author: wibbit (wibbit)
Redmine Issue: 8615, https://pulp.plan.io/issues/8615
While attempting to sync an rpm repository this morning I was greeted with the following error.
'error': {'description': 'Cannot create repository version. More than one '
'rpm.package content with the duplicate values for '
'name, epoch, version, release, arch, location_href.',
Which is particularly unhelpful, understanding which combination of name, epoch, version, release, arch,location_href would help tremendously.
Contributor guide
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 reproducing the failure while syncing an RPM repository and trace the error path for duplicate rpm.package values. The issue does not name a file or test, so locate the relevant error handling first; done means the error output identifies the duplicated name, epoch, version, release, arch, and location_href combination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100