Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PULP-317] Allow configuring RPM repository layout to use a flat directory structure #3874

Closed
anfimovdm opened this issue Jan 31, 2025 · 0 comments · Fixed by #3878
Closed
Assignees
Labels

Comments

@anfimovdm
Copy link

Is your feature request related to a problem? Please describe.
Currently, RPM repositories in pulp_rpm follow a specific directory structure where packages are organized under subdirectories based on their first letter. This format is:

<repo>/Packages/<first letter>/<package>.rpm

This structure makes us regenerate repodata each time after exporting packages from pulp.

Describe the solution you'd like
I propose adding a configurable option in the settings to allow users to choose a different repository layout. Specifically, the option would allow storing all RPM packages directly under the Packages/ directory instead of using the first-letter subdirectories.
Desired format:

<repo>/Packages/<package>.rpm

Describe alternatives you've considered

  • Keeping the current structure as the default while introducing a configuration variable (e.g., FLAT_PACKAGE_LAYOUT=True) to enable the alternative format.
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 12, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 12, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 12, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 12, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 12, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 12, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 12, 2025
@dralley dralley self-assigned this Feb 12, 2025
@dralley dralley changed the title Allow configuring RPM repository layout to use a flat directory structure [PULP-317] Allow configuring RPM repository layout to use a flat directory structure Feb 12, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 17, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 17, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 17, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 17, 2025
dralley added a commit to dralley/pulp_rpm that referenced this issue Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants