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

RFE: Repositories should include all versions for a cycle until "refreshed" #18

Open
nazunalika opened this issue Jul 29, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@nazunalika
Copy link
Member

nazunalika commented Jul 29, 2022

Is this feature request related to a problem? If so, please describe it.

Current behavior of yumrepofs prioritizes latest versions of packages to be reposynced or used as it is presented. For users who need to fall back to an older version, this makes it difficult to roll back unless they have the old packages in cache or still have an older sync available, or do not use --delete on reposyncs.

For a given project, it should be possible to reposync all available packages and an option to remove all older versions (eg as a "refresh" or "preparing to build/release X.Y", or slimming down a continuous built project like lookahead).

Describe the solution you'd like to see

An option to turn off or on the ability to have older packages, optionally a "number" of older versions at max, perhaps.

Internal discussion lead to "max 3" being supported in a repository, similar to kernels installed to a system.

Have you considered alternative solutions/features? If so, please describe them.

N/A. Repo data cannot be arbitrarily signed outside the build system and createrepo takes too long to run on growing repositories (quantity and number of packages per repo).

Version and Build Information

Current. Cadence should be around 8.7/9.1 or 8.8/9.2.

Additional Context

Currently we are utilizing pungi and some scripts for Rocky Linux 8 to keep older packages around. A similar function would be neat for users of Rocky Linux 9 and beyond.

@nazunalika nazunalika added the enhancement New feature or request label Jul 29, 2022
@mstg
Copy link
Member

mstg commented Jul 31, 2022

During the development cycle of yumrepofs, I changed the default behavior to always remove older artifacts. That should be enough to let empanadas handle that I assume

@NeilHanlon
Copy link
Member

thinking out loud:

We could hardlink all assets to a vault/9.0 folder and then they'll be available on the vault mirror. this may help for 9.0 so we don't have to backport as many even if it's only for the next ~month.

@NeilHanlon NeilHanlon moved this to Backlog in Peridot Oct 9, 2022
@NeilHanlon NeilHanlon moved this from Backlog to In Progress in Peridot Oct 9, 2022
@NeilHanlon NeilHanlon moved this from In Progress to Backlog in Peridot Oct 9, 2022
@NeilHanlon NeilHanlon added this to the 9.2 milestone Feb 13, 2023
@hdp7891000
Copy link

When will this problem be resolved?

@nazunalika
Copy link
Member Author

nazunalika commented May 18, 2023 via email

@hdp7891000
Copy link

This is a key feature we are wanting to introduce in v2. #120

On Wed, May 17, 2023, 19:11 epeng @.> wrote: When will this problem be resolved? — Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXQHKHAX65N3XQAHZCGOA3XGWAOHANCNFSM547LJHVA . You are receiving this because you were assigned.Message ID: @.>

Thank you, what is the estimated time? By that time, can the old packages of 9.0/9.1 be downloaded from https://dl.rockylinux.org/vault/?

bryan-bar added a commit to EnterpriseDB/edb-terraform that referenced this issue May 14, 2024
…n instead of '-v' with 'nvme id-ctrl'

After the release of rocky9.4, nvme-cli's latest package release changed from v2.4 -> v2.6 under rocky9.3 since rocky fetches the latest minor release packages.
This causes rocky9.3 to fail when executing 'setup_volume.sh' since the vendor-specific hex dump is missing.
nvme-cli v2.6 has a breaking change due to the addition of the verbose.
Option '-v' now refers to '--verbose' and '-V' refers to '--vendor-specific'.

Ref:
linux-nvme/nvme-cli#1936
rocky-linux/peridot#18
bryan-bar added a commit to EnterpriseDB/edb-terraform that referenced this issue May 14, 2024
…n instead of '-v' with 'nvme id-ctrl'

After the release of rocky9.4, nvme-cli's latest package release changed from v2.4 -> v2.6 under rocky9.3 since rocky fetches the latest minor release packages.
This causes rocky9.3 to fail when executing 'setup_volume.sh' since the vendor-specific hex dump is missing.
nvme-cli v2.6 has a breaking change due to the addition of the verbose.
Option '-v' now refers to '--verbose' and '-V' refers to '--vendor-specific'.

Ref:
linux-nvme/nvme-cli#1936
rocky-linux/peridot#18
bryan-bar added a commit to EnterpriseDB/edb-terraform that referenced this issue May 14, 2024
…n instead of '-v' with 'nvme id-ctrl'

After the release of rocky9.4, nvme-cli's latest package release changed from v2.4 -> v2.6 under rocky9.3 since rocky fetches the latest minor release packages.
This causes rocky9.3 to fail when executing 'setup_volume.sh' since the vendor-specific hex dump is missing.
nvme-cli v2.6 has a breaking change due to the addition of the verbose.
Option '-v' now refers to '--verbose' and '-V' refers to '--vendor-specific'.

Ref:
linux-nvme/nvme-cli#1936
rocky-linux/peridot#18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

4 participants