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

Stable latest version download link #157

Closed
ulrichwisser opened this issue Feb 24, 2025 · 6 comments
Closed

Stable latest version download link #157

ulrichwisser opened this issue Feb 24, 2025 · 6 comments

Comments

@ulrichwisser
Copy link

Hi,
I would like to automatically download the latest stable version of FRR.
Currently the version number is part of your release asset filename.
Unfortunately that doesn't allow for stable URL for the latest release.

github has a mechanism for this

https://github.com/icann/icann-rdap/releases/download/v0.0.21/icann-rdap-x86_64-unknown-linux-gnu.tar.gz

becomes

https://github.com/icann/icann-rdap/releases/latest/download/icann-rdap-x86_64-unknown-linux-gnu.tar.gz

Would be nice to have this feature for FRR.

@ydahhrk
Copy link
Member

ydahhrk commented Feb 26, 2025

I'm not terribly enthusiastic about removing the version numbers from the final official file names...

But it occurs to me that I can add version-free clones of the files.

Eg. Upload fort-1.6.6.tar.gz, and also fort.tar.gz. These files will be identical.

Once 1.6.7 releases, it will include its own fort.tar.gz, and at this point I can delete 1.6.6's fort.tar.gz. (Since latest will not point to it anymore.)

Sounds good?

Do you only need the .tar.gz, or do you need all of them?

@ulrichwisser
Copy link
Author

Sorry for the late reply, been traveling.
I would only need the deb file, but I guess it would be interesting for the other version of the release too.

@ydahhrk
Copy link
Member

ydahhrk commented Mar 11, 2025

Ok, they're uploaded.

@ulrichwisser
Copy link
Author

The link works exactly as expected!
Thank you!

Why is there only an amd64 deb package, no x86? And vice versa for rpm?

@ydahhrk
Copy link
Member

ydahhrk commented Mar 21, 2025

Why is there only an amd64 deb package, no x86? And vice versa for rpm?

Mm... because nobody has complained about it, basically.

And momentum. I'd have to figure out how to do it.

Also, I don't really have a framework for testing in other architectures ATM. If I uploaded other packages, I'd be hoping for the best. Though the risk of an issue at that level is probably low.

If you need a quick fix, it seems Debian does automatically produce binaries for everything:

If you want this feature, feel free to open a new issue for it. If you can help, these are the scripts I presently use to produce the release files.

@ulrichwisser
Copy link
Author

Thanks for all your help!

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