Bug 1025903 - RPM file path includes directory names from upstream
Summary: RPM file path includes directory names from upstream
Keywords:
Status: CLOSED DUPLICATE of bug 1093745
Alias: None
Product: Pulp
Classification: Retired
Component: rpm-support
Version: Master
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-01 21:54 UTC by Michael Hrivnak
Modified: 2014-09-23 00:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-23 00:17:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Hrivnak 2013-11-01 21:54:28 UTC
Description of problem:
When pulp saves an RPM to disk, it saves the relative path as it appears in the repo's metadata. This is harmless, but it would be better to strip any leading directories off the path as it appears in the XML. Currently, the same RPM could be saved on disk twice if it appears in two different directories within two different repos.

Version-Release number of selected component (if applicable):
2.3

How reproducible:
always

Steps to Reproduce:
1. sync a repository that puts RPMs in a directory like "Packages"
2. look in /var/lib/pulp/content/rpm/path/to/an/rpm

Actual results:
the directory tree ends in "Packages" or whatever the directory name is from step 

Expected results:
the directory tree should not include the "Packages" directory

Comment 1 Chris Duryee 2014-09-23 00:17:20 UTC
I believe this was fixed as part of #1093745. If that is not the case, feel free to re-open.

*** This bug has been marked as a duplicate of bug 1093745 ***


Note You need to log in before you can comment on or make changes to this bug.