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

Feature request: keep a number of old systemd-genie versions #16

Open
Elberet opened this issue Jun 29, 2022 · 4 comments
Open

Feature request: keep a number of old systemd-genie versions #16

Elberet opened this issue Jun 29, 2022 · 4 comments

Comments

@Elberet
Copy link

Elberet commented Jun 29, 2022

Please maintain a set of older versions of genie in this repository, rather than only including the latest and greatest version.

This change would be helpful, because - for example:

  1. A recent change in genie 2.4 has broken genie on (my) Windows 10 system (ref: Genie 2.4 breaks WSL interop on Windows 10 genie#287). I could easily work around this issue by installing genie 2.3, but since that version is no longer in the package repository, rolling back to 2.3 is needlessly complicated.
  2. In my use-case, WSL environments are ephemeral: quickly disposed and quickly reinstalled via script. In order to maintain reproducability of these environments, it is ideal to pin installed packages to know a known version, and only upgrade after reviewing a new release. This is impossible if the repository only ever contains the latest and greatest version, because the script would start failing as soon as a new genie release is published.
@Elberet Elberet changed the title Feature request: keep a number of old versions of wsl-genie Feature request: keep a number of old wsl-genie versions Jun 29, 2022
@Elberet Elberet changed the title Feature request: keep a number of old wsl-genie versions Feature request: keep a number of old systemd-genie versions Jun 29, 2022
@cerebrate
Copy link
Member

reprepro doesn't normally allow that for the same release (it automatically removes the old version whenever it adds a new version), which is going to add some extra complications anyway, but I'll see what can be done.

@cerebrate
Copy link
Member

Okay, I've beaten my head against this for a while and concluded that apt just doesn't want to allow this; of all the tools to build apt repos, all but one (aptly) claims to only support one version at a time of any given package, and I can't get aptly to work usefully, so I'm afraid this one may go unanswered.

I don't suppose having the script curl the appropriate .deb file from the arkane-systems/genie releases page and then install it with sudo dpkg -i <filename> is an option? That page should have installables for every version I release pretty much forever.

@Elberet
Copy link
Author

Elberet commented Sep 7, 2022

That's what I'm doing right now. It would have been nicer to get all packages through the same type of mechanism, but oh well, so be it.

@cerebrate
Copy link
Member

Yeah, it's pretty intensely frustrating. The apt client tools look like they should be able to handle, but none of the repo-side tooling will do it. I've asked a few questions of people more knowledgeable than me on the topic, but don't holdout all that much hope, I'm afraid.

@cerebrate cerebrate pinned this issue Sep 8, 2022
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

2 participants