eget icon indicating copy to clipboard operation
eget copied to clipboard

Getting dist file for Archlinux while running from Fedora

Open esdnm opened this issue 1 year ago • 1 comments

Happened here https://github.com/contour-terminal/contour/releases/tag/v0.3.2.202

eget https://github.com/contour-terminal/contour
https://github.com/contour-terminal/contour/releases/download/v0.3.2.202/contour_0.3.2.202-archlinux_x86_64
Downloading 100% [========================================================================================================================================] (1.2/1.2 MB, 557.055 kB/s)        
Extracted `contour_0.3.2.202-archlinux_x86_64` to `contour`

Should have got the .rpm

esdnm avatar Aug 12 '22 21:08 esdnm

Doing distro-specific auto-detection is difficult and hard to test. I'm not sure it's worth implementing, though it is annoying that eget downloads the wrong file automatically. Maybe a practical solution would be to detect if there are multiple distro-specific binaries available and let the user choose. You can always use the --asset option to select the right one as well.

zyedidia avatar Aug 12 '22 23:08 zyedidia