» Webpin command-line client
Yesterday I've written a tiny little command-line client for Benjamin Weber's excellent openSUSE Package Search service (also known as "webpin").
It's quite simple but is a great tool to check whether a package is available in one of the many indexed repositories (including all the openSUSE Build Service repositories), or even to look up a file as part of a package.
My script merely requires python and python-xml to be installed, and is available either directly from source or as an RPM package (also available and mirrored through my "guru" repository).
A few screenshots are available as well:
- the help screen (--help)
- results for bash in 10.2, using the default search (package names + content), with highlighting on a dark terminal
- results for lsof in 10.2, using the --url parameter to display the full repository URLs, on a light terminal
- results for lsof in Factory (--dist=factory), searching only for package name matches (--by-name)
- search for packages containing /bin/bash (-c to search by package content) in 10.1 (-d10.1)
2 Comments:
This rocks! Very useful. Thanks a lot!
I like it on first sight (and I already have set "alias wp='webpin -u'", because I know I'll want to see the URLs every time).
Cheers Pascal - very useful.
Post a Comment
<< Home