The newest pages in the codewiki are:

This is a collection of small toys and tools for doing various things to MPD (Music Player Daemon) from the command line. Some of them are very useful, while others are only amusing.

Some examples of things the mpdtoys can do include moving the playing song between different mpd daemons on different machines, storing the state of a mpd daemon and loading it back later, reversing the playlist, slowly fading volume up or down, stopping playback after the current song finishes, emulating a skipping record, and editing the playlist in a text editor.

The mpdtoys are available in git at git://git.kitenet.net/mpdtoys, or in gitweb.

News

mpdtoys 0.8 released with these changes

  • vipl: New program, allows editing the mpd playlist in your text editor.
  • Use debhelper v7; rules file minimisation.
  • Use DESTDIR rather than DEST.

Posted in the wee hours of Tuesday night, April 30th, 2008

mpdtoys 0.7 released with these changes

  • sats: Add -n option allowing to stop after more than one song has played.

Posted in the wee hours of Tuesday night, January 30th, 2008

mpdtoys 0.6 released with these changes

  • mpswap: Fix handling when two hosts are specified on the command line.

Posted late Saturday afternoon, January 19th, 2008

Posted in the wee hours of Friday night, December 1st, 2007

etckeeper is a collection of tools to let /etc be stored in a git, mercurial, or bzr repository. It hooks into apt (and other package managers) to automatically commit changes made to /etc during package upgrades. It tracks file metadata that revison control systems do not normally support, but that is important for /etc, such as the permissions of /etc/shadow. It's quite modular and configurable, while also being simple to use if you understand the basics of working with revision control.

etckeeper is available in git at git://git.kitenet.net/etckeeper, or in gitweb. It's packaged in Debian; packages for other distributions are forthcoming.

News

etckeeper 0.20 released with these changes

  • [ Jelmer Vernooij ]
    • Use new Bazaar API.
    • Pass --quiet to bzr add to avoid new files from being printed twice.
    • Don't consider warnings from bzr plugins when checking if tree was modified.

Posted at lunch time on Monday, July 7th, 2008

etckeeper 0.19 released with these changes

  • Patch from Miklos Vajna to fix one more git- command that crept in.

Posted early Saturday morning, July 5th, 2008

etckeeper 0.18 released with these changes

  • Allow AVOID_COMMIT_BEFORE_INSTALL to be set to zero to disable.
  • Don't allow LC_COLLATE to reorder the .etckeeper file. Closes: #489057

Posted late Wednesday night, July 3rd, 2008

Posted Monday evening, November 5th, 2007
mr

The mr(1) command can checkout, update, or perform other actions on a set of repositories as if they were one combined respository. It supports any combination of subversion, git, cvs, mecurial, bzr and darcs repositories, and support for other revision control systems can easily be added. (There are extensions adding support for unison and git-svn.)

It is extremely configurable via simple shell scripting. Some examples of things it can do include:

  • Update a repository no more frequently than once every twelve hours.
  • Run an arbitrary command before committing to a repository.
  • When updating a git repository, pull from two different upstreams and merge the two together.
  • Run several repository updates in parallel, greatly speeding up the update process.
  • Remember actions that failed due to a laptop being offline, so they can be retried when it comes back online.

mr is available in git at git://git.kitenet.net/mr, or in gitweb. It's recently been added to Debian. If you want a tarball, the best place to get one if from http://packages.debian.org/unstable/source/mr.

News

mr 0.33 released with these changes

  • Add a push subcommand, which pushes committed changes for DCVS, and does nothing for svn/cvs. Closes: #491865

Posted Tuesday afternoon, July 22nd, 2008

mr 0.32 released with these changes

  • Include the right (v2) version of GPL in the source.

Posted late Monday night, July 22nd, 2008

mr 0.31 released with these changes

  • Add an offline mode. When in offline mode, mr will remember commands that failed (presumably due to lack of network access), and will run them again once back online. (This is for all the laptop users like me who don't want to have to remember which git repos to mr push when they come back from a nice long hack in the woods. :-)

Posted Friday night, June 27th, 2008

Posted late Saturday night, October 21st, 2007

pristine-tar can regenerate a pristine upstream tarball using only a small binary delta file and a copy of the source which can be a revision control checkout.

The package also includes a pristine-gz command, which can regenerate a pristine .gz file.

The delta file is designed to be checked into revision control along-side the source code, thus allowing the original tarball to be extracted from revision control.

pristine-tar is available in git at git://git.kitenet.net/pristine-tar/

It's also in Debian.

Posted late Friday evening, October 19th, 2007

A while ago I had some ideas for novel video games in the platformer genre. My code name for these is "kong".

Currently the code is buried in git (git://git.kitenet.net/joey/misc in the kong directory) and consists of a basic character (done in ascii art of all things) and the beginnings of a game. And the only ASCII art phile I ever put together.

The main "kong" game is intended to be a cross between a platformer and tetris. Your character has to run and jump on the platforms, to catch the falling peices, which he then puts down, that become the platforms he's running and jumping on. I think this is a new idea. There would be some silly storyline too of course, a goal, etc.

The idea for the other, secondary kong game is derived from the fact that after I've played a platformer for a while and am back reading an e-book, I can't help but imagine a little guy climbing and jumping around in the words, trying to collect all the punctuation, and maybe occaisionally using some of it as bombs to blow up words that got in his way. So I think I should implement it; it would be a pager and a platformer all in one, and would have as many levels as you have text files.

Posted late Monday night, October 16th, 2007