[csw-maintainers] REST: Getting paths and packages by basename
Maciej (Matchek) Blizinski
maciej at opencsw.org
Wed Feb 22 16:56:02 CET 2012
I added a new RESTful URL. It allows you to give it a basename, e.g.
"libgcc_s.so.1" and get the list of paths under which this file occurs. For
$ time curl -s "
| python -c "import json, pprint, sys;
(the python part is only to prettify the results)
This call is used by checkpkg to identify which shared libraries could a
binary link to. This is one of the more powerful queries that the checkpkg
database allows. It can also get quite slow if you're searching for
something occurring in many packages.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the maintainers