pulp / pulp/pulpcore

Improve error output

Open
#1,985 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.