Posts

Showing posts from March, 2014

rpmout: Go (golang) tools for listing installed RPMs in HTML,. LaTeX, json

rpmout is a utility for creating user facing rpm information written in Go. It extracts the rpm tag info (using the rpm command) and produces an HTML list fragment (default), JSON, simple text, and LaTeX. It can be restricted to the rpms that are implicated in a particular set of directories. My use is to produce a list of bioinformatics applications installed as RPMS on a Rocks cluster http://en.wikipedia.org/wiki/Rocks_Cluster_Distribution For example: users want to know what is installed in the bioinformatics install dir /opt/bioinformatics, and 'rpmout' generates (by default) an HTML fragment made up of a list of rpms and their useful attributes. This fragment is meant to be embedded into a static HTML page that wraps it with the appropriate local style, titles it, etc. Here is an example HTML output file: https://github.com/AAFC-MBB/rpmout/blob/master/sample.html.gz?raw=true (~1.4MB compressed) rpmout is my first real Go program, and I learned a lot about