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

FeatureRequest: add possibility to add the codename to the name of a downloaded package #1260

Open
geosone opened this issue Mar 27, 2024 · 2 comments
Assignees

Comments

@geosone
Copy link

geosone commented Mar 27, 2024

Detailed Description

As there are some broken debain repos for different releases (buster bookworn ...) and these repos put everything into there own repos with dist/pool dirs so the deb packages have the same name across all the repos (a good examplle is the microsoft mssql dotnet repos) so it would be great if the deb file gets renamed (only the file not the package control file) with for ex the codename added so these repos can be integrated into one pool directory.
at the moent when i try to merge thes repos it would not merge these repos becuase of 2-3 deb files with same name und differnt checksums.

Context

this would make it possibel to merge these broken repos into one pool direcotry.
this would also help other users with the smae problem.

Possible Implementation

add a paramter like pkgrename=auto or rename=yourname/codename
and in case of auto if it trays downloading a deb with a filename already presnet it would rename the file and add it to the pool

Your Environment

using it to create a local repo for the big external repos for security reasons. with point snapshots.

@neolynx neolynx self-assigned this Apr 17, 2024
@neolynx
Copy link
Member

neolynx commented Apr 17, 2024

good idea! I wonder what the limitations/drawbacks are...

@fti-sfuke
Copy link

We want to create a local apt mirror with tagged packages for each client installation. This ensures that when different releases like Debian 12.4 and Debian 12.5 require different versions of a package, they pull the appropriate one during installation.

However, we want to avoid duplicating the same packages in different repositories to prevent wasting storage space.
Our preference is to add tags to existing packages and pull them based on these tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@geosone @neolynx @fti-sfuke and others