AustinWise / smeagol

A simple wiki
https://smeagol.dev/
MIT License
27 stars 5 forks source link

Copy-paste commands to easily download and install binaries #19

Closed AustinWise closed 2 years ago

AustinWise commented 2 years ago

Some ideas are in the CLI book: https://rust-cli.github.io/book/tutorial/packaging.html

trust gets most of the way there. There are some tweaks I would like to make:

Also, a cargo install command should be listed, so people can install on targets I have not yet create binaries for.

Some more pie-in-the-sky ideas:

AustinWise commented 2 years ago

See also how the rustup website detects the OS, to suggest which installer to use: https://github.com/rust-lang/rustup/tree/master/www

AustinWise commented 2 years ago

I had an idea:

  • Instead of parsing the message GitHub gives when doing a 302 redirect to find the the latest version, use include a version.txt as one of the release files. See 769fc8dfe9a0ac3f8a3246aa0c547c0590c69b92

Unfortunately there does not appear to be a URL that will allow us to reach this file =( .