~adeodato/ blog/ misc/ Created bzr repos for several scripts; grep-archive; bug-reply-to.vim

Created bzr repos for several scripts; grep-archive; bug-reply-to.vim

I’m not much of a coder, but as everybody, I have several small scripts to do miscellaneous tasks. Over time, I’ve postponed repeteadly to put them under Subversion, which was my VCS of choice, since I didn’t like the “one repo for all” approach, and creating a repo for each of them felt like too much work. A few weeks ago I tried bzr, and have managed to put several of these scripts under its control since; one repo for each script makes sense to me when they’re very easily created, and data and metadata live together. (I realize other distributed VCS have this as well, but bzr was the one I tried first, knowing it’d be the one that would have more chances of me liking it.)

I’ve made publicly available those scripts which I think somebody could find useful, here (mirror in gluck). The one I’m more interested in publicizing is grep-archive, a wrapper over grep-dctrl formerly known as grepd. Since it works over a mirror-like directory tree, I’ll try to write a script that creates one and fills it with symlinks pointing to Packages files under /var/lib/apt/lists, so that it’s easier to start using it.

Another one worth mentioning is good old bug-reply-to.vim, which I remembered to put in bzr yesterday after kernel-team member Maximilian Attems expressed on IRC his frustration by bug submitters not CCing the bug in their replies to him. I’ve also taken chance to improve it a bit, most notably adding support for adding whatever is in the From field to the Reply-To (formerly the address would have to be explicitly passed as an argument, which was suboptimal if one uses more than one address), and documenting it a bit.

NP: Fangoria, Interior de una nave espacial abandonada