4 ms·
I'm a little confused - is this just a wrapper around https://alire.ada.dev/ https://alire.ada.dev/ ? That tool itself isn't very hard to install.
by inamberclad 2y ago
I'm a little confused - is this just a wrapper around https://alire.ada.dev/ https://alire.ada.dev/ ? That tool itself isn't very hard to install.
- ajdude 2y agoGetting alire installed involves downloading the zip, extracting the binary, and moving the binary to a directory in $PATH. If you're on a mac, you also have to run an "xattr" command on the tool to get it running. I've seen the last parts get newcomers tripped up so Getada takes the rustup approach. It uses github's api to retrieve the latest published release of alire[1] and then downloads and extracts it to a specified directory in $HOME. Then it creates an env file[2] and sources that file in .profile and/or .zshenv. It also logs everything that it does so it can undo it later with getada --uninstall [1] https://github.com/alire-project/alire/releases https://github.com/alire-project/alire/releases [2] Here's roughly what the env file looks like that it creates https://github.com/AJ-Ianozi/getada/blob/main/src/shells.adb#L53 https://github.com/AJ-Ianozi/getada/blob/main/src/shells.adb...
- zilti 2y agoThat is literally a bash oneliner - pipe curl into tar, and have it unpack to ~/.local/bin.
- Karellen 2y ago> Getting alire installed involves downloading the zip, extracting the binary, and moving the binary to a directory in $PATH. If you're on a mac, you also have to run an "xattr" command on the tool to get it running. Is that considered a high bar for software developers to get right?
- adastra22 2y agoIn practice, yes.
- zilti 2y agoWe're doomed.
- workingjubilee 2y agoyeah, g-d forbid that any routine busywork gets automated by software, otherwise all those lines of code might actually have a point!
- zilti 2y agoThat is literally a bash oneliner - pipe curl into tar, and have it unpack to ~/.local/bin.
- vips7L 2y agoShouldn't a good package manager just take care of those steps?
- crabbone 2y agoAlire is kind of a bummer on musl systems... I don't know if this tool solves the problem, but on musl systems (eg. Apline) you have to build Alire from source... i.e. bootstrapping, dependencies... it's not pretty.
- ajdude 2y ago> I don't know if this tool solves the problem Not yet but it's on my list as a "phase 2" of sorts for getada. I have an alpine VPS that I'm playing around with but the main issue is that while alire can be built for alpine, any compilers it pulls from its toolchain won't work with it since none of them are built against musl. We've been talking about it here https://github.com/alire-project/alire/issues/792#issuecomment-1758760974 https://github.com/alire-project/alire/issues/792#issuecomme...