Closed mgrojo closed 1 year ago
It seems related to this TODO comment: https://github.com/alire-project/alire/blob/5c17abb0dc6ed48158ebd51750761317063b5ccd/src/alr/alr-commands-show.adb#L237-L239
I was able to reproduce the issue with alr --no-tty show --jekyll
on Windows, by trying to show info about a Linux-based crate (epoll).
The website update script runs on Linux and so only the crates available on Linux are shown. I think that's what is happening. There might be a way to get all the crates even the ones not available.
Sure. Especially since the alr show
command without --jekyll
shows any crate, even if it doesn't support the OS where the command is run.
Tremendous, the formerly hidden crates are now visible on the Web site: https://alire.ada.dev/crates.html since it uses Alire 2.0.0+ !
Found out by @zertovitch
I guess it happens with Windows-only crates. Looking at this: https://github.com/alire-project/alire.ada.dev/blob/f22d61db8a57302d891b757f1289bd6448daf229/update-gh-pages.sh#L34C21-L34C21
I think this command does not work on Linux because the crate is not available. I reproduce it:
The web should list all crates, indicating the OS where they are available.
Apparently, the problem is only with the
--jekyll
argument: