Project

Profile

Help

Story #269

[RFE] uploading a directory does not preserve directory hierarchy

Added by justin.garrison@disneyanimation.com almost 7 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1162347 ++

Description of problem:

Description of problem: When uploading a directory to an iso repo using the -d flag the files inside the directory are flattened into a single folder and folder hierarchy is not preserved.

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

How reproducible: always

Steps to Reproduce:
1. Create iso repo
2. Upload files using -d flag

Actual results: All files are put at the root of the /pulp/isos/repo/ folder

Expected results: Folder structure would be preserved

Additional info:

--- Additional comment from at 11/17/2014 16:08:51 ---

Can you elaborate on why it would be helpful to preserve the directory hierarchy?

--- Additional comment from at 11/17/2014 16:27:59 ---

I want to host extracted iso images in pulp (http) for PXE boot. When the iso is extracted it has isolinux/ and images/ folders. When importing that folder into pulp it removes the directories and recursively publishes each file at the root of the repo url. That obviously breaks pxe booting which automatically looks for those folders.

--- Additional comment from at 11/17/2014 17:22:19 ---

For now, you might be able to use the pulp_rpm yum plugins to manage these files. The importer and distributor will handle all files required for kickstart, including those in isolinux/ and images/.

Otherwise, this will likely be addressed by a new "file plugin" that we intend to implement in the future.

History

#1 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 2 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#3 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF