Colin Watson: Thoughts on 3.0 (quilt) format
Note: I wrote most of this before Neil Williams' recent comments on the 3.0 family of formats, so despite the timing this isn't really a reaction to that although I do have a couple of responses. On the whole I think I agree that the Lintian message is a bit heavy-handed and I'm not sure I'm thrilled about the idea of the default source format being changed (though I can see why the dpkg maintainers are interested in that). That said, as far as I personally am concerned, there is a vast cognitive benefit to me in having as much as possible be common to all my packages. Once I have more than a couple of packages that require patching and benefit from the 3.0 (quilt) format as a result, I find it in my interest to use it for all my non-native packages even if they're patchless right now, so that for instance if they need patches in the future I can handle them the same way. It's not unheard of for me to apply temporary patches even to packages I actively maintain upstream, so I don't discount those either. I haven't decided what to do with my native packages yet; unless they're big enough for bzip2 compression to be worthwhile, there doesn't seem to be much immediate advantage to 3.0 (native).
Anyway, on to the main body of this post:
I've been one of the holdouts resisting use of patch systems for a long time, on the basis that I felt strongly that dpkg-source -x ought to give you the source that's actually built, rather than having to mess around with debian/rules targets in order to see it. Now that the 3.0 (quilt) format is available to fix this bug, I felt that I ought to revisit my resistance and start trying to use it. Migrating to it from monolithic diffs is of course a bit more work than migrating to it from other patch systems, so it's taken me a little while to get round to it. I'd been thinking about holding off until there was better integration with revision control (e.g. bzr looms), as I feel that patch files really ought to be an export format, but I eventually decided that I shouldn't let the perfect be the enemy of the good. I have enough experience with co-maintaining packages that use build-time patch systems to be able to compare my reactions.
After experimenting with a couple of small packages, I moved over to the deep end and converted openssh a few weekends ago, since quite a few people have requested over the years that the Debian changes to openssh be easier to audit. This was a substantial job - over 6000 lines of upstream patches - but not actually as much work as I expected. I took a fairly simplistic approach: first, I unapplied all the upstream patches from my tree; then I ran bzr di interdiff -q /dev/stdin /dev/null >x, reduced it to a single logically-discrete patch, applied it to a new quilt patch using quilt fold, and repeated until x was empty. This was maybe an hour or two of work, and then I went through and tagged all the patches according to DEP-3, which took another few hours. After the first pass, I ended up with 38 patches and a much clearer idea of what has been forwarded upstream and what hasn't; I currently have 5 patches to forward or eliminate, down from 18.
Good things:
- I don't lose any of my history. Since all the patches remain applied to the tree in revision control (this is what
dpkg-source -xgives you, so it's the natural representation in revision control too),bzr blameworks just as you'd expect and displays both upstream and Debian changes at once. I rely on tools like blame a lot, and I really hate the way build-time patch systems make it hard to use revision control when the tree is in a built state, so this was a hard requirement for me. - I've used patch tagging before, so I was expecting some benefits, but viscerally I feel much more in control. It's so much less laborious now to see what I need to do by way of forwarding. I don't regret waiting for 3.0 (quilt) to become available, but I hadn't realised quite how much I was being held back beforehand.
- Adding new patches is pretty natural, much more so than with build-time patch systems. You can create and apply the patch, test-build, and commit when it works. I much prefer this over having to clean the tree before committing (or commit just part of the tree, which is error-prone). The more that committing to a Debian package feels like committing to an upstream project, the better.
- There's definitely something to be said for patch-tracker being more useful. It deals with DEP-3 to the extent of linkifying URLs, although it might be nice if patch descriptions were displayed on the overview page for each version.
- It's a bit awkward to set things up when checking out from revision control; I didn't really want to check in the
.pcdirectory, and the tree checks out in the patched state (as it should), so I needed some way for developers to get quilt working easily after a checkout. This is sort of the reverse of the previous problem, where users had to do something special afterdpkg-source -x, and I consider it less serious so I'm willing to put up with it. I ended up a rune in debian/rules that ought to live somewhere more common. - Everything ends up represented twice in revision control: the patch files, plus the changes to the patched files themselves. I'm OK with this although it is a little inelegant.
- Although I haven't had to do it yet, I expect that merging new upstream releases will be a bit harder. bzr will deal with resolving conflicts in the patched files themselves, and that's why I use a revision control system after all, but then I'll have to go and refresh all the patches and will probably end up doing some of the same conflict resolution a second time. I think the best answer right now is to
quilt pop -a, force a merge despite the modified working tree, and thenquilt push && quilt refresh -pabuntil I get back to the top of the stack, modulo slight fiddliness when a patch disappears entirely; thus effectively using quilt's conflict resolution rather than bzr's. I suppose this will serve as additional incentive to reduce my patch count. I know that people have been working on making this work nicely with topgit, although I'm certainly not going to put up with the rest of git due to that; I'm happy to wait for looms to become usable and integrated. :-) - It would be nice if there were some standard DEP-3 way to note that a patch has been accepted or rejected upstream, beyond just putting it in the description. In particular, it seems to me that listing patches accepted upstream could be used to speed up the process of merging new upstream releases.
Maintaining stable life with unstable distro?
This post may sound ludicrous to some of you but please hear me out. I ve been on Debian unstable/Sid for awhile now and it was all cool until yesterday.
Besides my work on Debian DebConf/some devel, I m university student, also I do web devel which is my primary source of income, besides all those I try to go out on weekends and have some kind of social life. Somehow I manage to do all these things and I d say I manage them pretty successfully too.
Now I m hardcore to the bone, but this is just too much, last week started working on immense web devel project didn t sleep more then 2hrs/day whole week; I also didn t shut down my notebook and just kept it on suspend as I usually do. Either way I was about to print/scan something and I connect my printer and what happens? My whole system freezes, now I ll let you figure out the result of doing hard reset and having a lot of gedit docs open at that time. And yes, I did had that bug reported awhile ago, can t find it now, but it was fixed, seems like it s back again.
In the end I m left with weekend completing the lost work + late school work + eclipse 3.5.2-2 ought to be uploaded. I do almost all the work (didn t upload eclipse) and literally pass out on Sunday. Wake up sometime on Monday, wasn t able to get up from bed.
The recordings for

The movie ' Fight Club' had a profound effect on me when I first saw it in
1999. I wasn't as fond of the originating novel, although there was something
about the prose that Palahniuk used which I did enjoy.
Since then I've read more of Palahniuk's work. My favourite of his books is
actually Non-Fiction (a.k.a. Stranger than Fiction ): a collection of
essays and interviews. Reading some of the stories in that collection, it
becomes very clear where some of the concepts in his fiction originate. There
are also a number of pieces on the craft of writing. He writes some really
gushing praise about Amy Hempel:
On Wednesday, I went to a meeting of the Business Initiative for North Somerset for 
Some people want Debian 6.0 (codename "squeeze") to be released
sometime this year. Personally I think there is some kitsch
value in releasing it during DebCamp or DebConf, and there is
something to be said for doing it just beforehand so that
everyone can break unstable into insanity while rolling around
on the quad under the hot August sun. Some people want it to
happen sooner, possibly as soon as possible. Irrespective of
your preferences, or if you care at all, we will repeat the
time-honored mantra: it will be released when it's ready.
Readiness is somewhat of a subjective measure, but we typically
do not consider a potential release ready when the
We received our US census form the other day. Sarah's already filled it out,
but I wanted to look at it before we mailed it back, just out of curiosity.
I'm astounded at how incredibly basic it is. Literally all it asks is name,
age, date of birth and race. It's somewhat laughable how you're either
"white", or one of a bazillion other racial ethnicities. They don't seem to
be interested that I'm Australian. Or if I were a white Samoan, for example.
I can only remember having filled out one Australian census since I moved
out of home, which was the 2001 census. I missed the 2006 census since I was
living in the US. The US census seems to be a 10 year affair, compared to
Australia's 5 years.
"Census night" was always a big deal in Australia. You were supposed to fill
out the form on that particular date, for whoever was in that particular
dwelling. So you really didn't want to be out visiting friends that night.
The US census form claims to care about the state of affairs on April 1, but
it also says to mail it back immediately. It seems to only care about
"full-time residents", so the whole visitor problem doesn't seem to exist
over here.
Wikipedia tells me that the
Every once in a while someone asks how they can use the Debian installer
to access their system on disk to run commands, for example to write
the kernel and ramdisk to flash again. This is particularly useful on
headless NAS devices. So here's how to do it:
I'm running again.
No, not running in a
Yesterday evening, when returning from a two-day trip with no connectivity, I found my server to be broken. I still reacted on ping, but no service would respond. I tried to restart it using my hoster s web interface, but it would not come back up.
I booted into the recovery system and checked the hard disk, but could not find any issues. File system checks went through without a hitch. But it would still not boot. Unfortunately, my hoster does not provide access to the system console, so I had no idea what was going wrong.
I never did anything with

I just couldn t resist I joined
Hi folks,
I am coming to DebConf10!
