You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, all salt packages are in a single repo. That means both LTS and STS releases are in the same repo. Anyone who wants to mirror the repository, and only target a specific version, needs to do extra work that is often hacky to separate the different versions. Specifically, someone who wants to stick to LTS only releases and mirror.
For RPMs I see there is an attempt to implement a workaround with excludes, which also creates a timebomb for someone in the future using an outdated repo file. This is hacky.
X-Repolib-Name: Salt Project
Description: Salt has many possible uses, including configuration management.
Built on Python, Salt is an event-driven automation tool and framework to deploy,
configure, and manage complex IT systems. Use Salt to automate common
infrastructure administration tasks and ensure that all the components of your
infrastructure are operating in a consistent desired state.
- Website: https://saltproject.io
- Public key: https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public
Enabled: yes
Types: deb
URIs: https://packages.broadcom.com/artifactory/saltproject-deb
Signed-By: /etc/apt/keyrings/salt-archive-keyring.pgp
Suites: stable
Components: main
For Debina/Ubuntu, its one repo, there is no separation workaround like for RPMs.
Describe the solution you'd like
Repository per major version as before
Describe alternatives you've considered
Users can use the repos directly, and use tools such as dnf versionlock or apt-mark hold. However, for anyone wanting to mirror only LTS releases, the only alternative is implementing multi staged mirror where some middleware implements package version filtering.
Additional context
Most popular OSS ships separate repositories for major versions of their software
The text was updated successfully, but these errors were encountered:
Please do not do this. At least for Debian, everything is supposed to be in the same repo.
There is no need for a workaround. You are supposed to use version pinning (not lock/hold), and not have to negotiate tons of separate repos.
The only thing that sounds reasonable, is a separate repo for LTS-only releases, but it should still have all the previously released LTS versions in it.
Is your feature request related to a problem? Please describe.
Currently, all salt packages are in a single repo. That means both LTS and STS releases are in the same repo. Anyone who wants to mirror the repository, and only target a specific version, needs to do extra work that is often hacky to separate the different versions. Specifically, someone who wants to stick to LTS only releases and mirror.
For RPMs I see there is an attempt to implement a workaround with excludes, which also creates a timebomb for someone in the future using an outdated repo file. This is hacky.
https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.repo
Unfortunately the above can't easily be implemented in a mirroring tool such as Foreman/Satellite.
And Debian/Ubuntu
https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.sources
For Debina/Ubuntu, its one repo, there is no separation workaround like for RPMs.
Describe the solution you'd like
Repository per major version as before
Describe alternatives you've considered
Users can use the repos directly, and use tools such as
dnf versionlock
orapt-mark hold
. However, for anyone wanting to mirror only LTS releases, the only alternative is implementing multi staged mirror where some middleware implements package version filtering.Additional context
Most popular OSS ships separate repositories for major versions of their software
The text was updated successfully, but these errors were encountered: