Alire: how to look at package source? say the "ado" package?

Hi;

Please pardon me in advance for being dense…

Using Alire, let’s say I want to learn how to use databases. I notice that the “ado” package(s) interface with database(s). Again, inside Alire, how to read the documentation for the package? I’ve spent some time previously, and just recently, looking at the Alire documentation and I do not see how to get the the package documentation for a package in the index. I don’t see an external reference to the package.

It is probably so simple and easy, but I’m not grokking it at all.

Thanks,
Retired Build Engineer

The report generated by alr show ado shows, at the end, a link to the website (quite often, the Github page):

   Version: 2.4.0
   Website: https://gitlab.com/stcarrez/ada-ado
Dependencies (direct):
   utilada^2.6.0
   utilada_xml^2.6.0
1 Like

Regarding the ado crate (for instance), you can put its name in the Alire search engine (Alire - Search) or even directly plug the name into the URL: https://alire.ada.dev/crates/ado

You can also use the search engine on the website here: https://search.ada-lang.io/

For specs search for: package Package_Name
For bodies search for package body Package_Name

and then pick the result with the filename that corresponds to the one you are looking for (often there are multiple releases out there)

It would be interesting that search.ada-lang.io provided links to the crate https://alire.ada.dev/

Moreover, thinking on new user experience, when entering through the header in ada-lang.io, they won’t know what this search engine is for, and what they are seeing in the search results. So probably some helping text should be added to the front-page of search.ada-lang.io.