Red Hat Bugzilla – Bug 1025903
RPM file path includes directory names from upstream
Last modified: 2014-09-22 20:17:20 EDT
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):
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
the directory tree ends in "Packages" or whatever the directory name is from step
the directory tree should not include the "Packages" directory
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 ***