Older blog entries for conrad (starting at number 46)

22 Apr 2010 (updated 9 May 2010 at 08:09 UTC) »

Trivial git routines in Haskell (ght 0.2.0)

Yesterday I uploaded ght to Hackage. Its just a bunch of trivial routines for inspecting git repositories. It is in no way useful beyond that.

It uses UI.Command to handle various subcommands and generate documentation:

conrad@slippy:~$ ght
Trivial git inspection tools
Usage: ght [--version] [--help] command [args]

  This is a bunch of trivial routines for inspecting git repositories. It is in no way useful beyond that.

Reporting:
  show-prefix   Show path from top-level directory of repo
  show-root     Show path to top-level directory of repo

Blob management:
  show          Show an object
  log           Show commit logs
  show-raw      Show the raw dump of an object
  show-pack     Show the raw dump of a pack
  hash-object   Compute object ID from a file
  branch        show branches

Miscellaneous:
  help          Display help for a specific cmdcommand
  man           Generate Unix man page for specific cmdcommand

Please report bugs to <conrad@metadecks.org>

I wrote ght a few months back, and subsequently found gat. Similarly, the motivation for writing ght was mainly to understand git better. Often the best way to understand a new system or language is to implement it in Haskell ;-)

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!