As a user, I can create a manifest for the files in a directory
This is a request to provide a supported command line tool, installable as an RPM, to generate PULP_MANIFEST files in the right format for a directory structure. This should handle recursive generation as well as being able to re-run it and generate an updated PULP_MANIFEST.
There are a few examples of this in use today:
Rather than have floating around tools, users would benefit from a simple, supported tool from the Pulp project that properly generates what Pulp requires to sync a repository.
Requirements for the tool:
- name = 'pulp-manifest'
- it takes 1 positional argument that specifies a path to the directory where the PULP_MANIFEST file should be created
- it creates PULP_MANIFEST file by walking the directory structure recursively and recording information about files in the CSV format: file_name,checksum,file size
- if a PULP_MANIFEST already exists, it should be regenerated
- pulp-rpm.spec file should be updated to have this tool installable as a separate RPM.
#2 Updated by mhrivnak over 3 years ago
- Tracker changed from Issue to Story
- Project changed from Pulp to RPM Support
- Subject changed from Add a command line utility to turn a directory into a file (iso) repository to As a user, I can create a manifest for the files in a directory
- Description updated (diff)
- % Done set to 0
#5 Updated by firstname.lastname@example.org over 3 years ago
I see this as a command line tool called 'pulp-manifest'. For version 0.1 it can take 1 positional argument that specifies a path to the directory where the PULP_MANIFEST file should be created. If a PULP_MANIFEST already exists in the directory, it is removed and a new one is created by walking the directory structure recursively and recording all the files to the manifest.
Please register to edit this issue