Eddy Petrișor: migrating from svn to git for wormux's maintainance
I have been thinking for quite some time about migrating the maintenance of the wormux package to git, but in a really smart way so that:- we preserve history currently stored in svn
- a new integration branch should exist - we used the incomplete package model with svn-buildpackage, but now it makes more sense to have the complete history, including the upstream code at the time
- all previous orig tarballs should exist in the git repo in pristine-tar format
- upstream's svn repo should be included entirely so that we can cherry-pick any patches we might want or need
Tonight I have experimented a little with my git-svn clones which I made previously and eventually thought that:
- the main repo should track the upstream repo via git-svn
- I should properly tag the debian package versions in the svn.d.o repo, so svn tags no longer look like branches in git
- ideally all the branches in the package repo should be reproduced in some corresponding branch in the final repo
- the integration branch (that should contain the real debian complete packages) should be created with a non-existant merge strategy which I call overlay (basically, for two branches A and B, the strategy resumes to: all files as in A are present, any files unique to B are present)
- using pristine-tar forces me to keep the 'upstream' branch reserved so I need to avoid using that
It seems the last point could be obtained in some way via this small set of commands (I am sure it needs some modification to make the integration work in another branch C):
git merge --no-commit -s ours B
git checkout B -- .
git checkout A -- .
git commit
Note: Looking back, I think I can do a better job next time and I will se if I can use the resulting repo to create a new repo and drop the svn package maintainance for wormux. If this works, I might be able to create a script to allow migration of svn-bp maintained packages to git, at least for the Debian Games Team.
Since you can't fix a problem if you don't take things one at a time, I started by cloning the initial git-svn generated repos.
So after waiting some time (both git-svn fetch commands took long enough), I had to git-svn repos:
- repo A - the package repo
- repo B - the upstream svn clone repo
In the end I got my A' repo that had:
0 eddy@heidi ~/usr/src/wormux/tt/debian-bare $ git br -a
debian-experimental
debian-sarge
debian-sid
* master
origin/debian-experimental
origin/debian-sarge
origin/master
Yes, and having master in A' is not a good idea, but since I made A' a bare repo I had to suffer. Well, one more thing to better in iteration 2.
Excellent, now I can go in B and add the new remote repo which is A' which I should have called pkgsvn, but I ended up call it 'origin'. Since git-svn doesn't treat the svn repo as a true remote, this was possible.
Due to some confusion I also added 'ups-' as a prefix to the svn remote trunk and tags, but I am still unsure if this was necessary - I'll have to see more clearly into the pristine-tar restrictions area.
After all of this I got this branch configuration:
0 eddy@heidi ~/usr/src/wormux/tt/git-full $ git branch
* master
0 eddy@heidi ~/usr/src/wormux/tt/git-full $ git branch -r
0.8-final
0.8beta4
origin/debian-experimental
origin/debian-sarge
origin/debian-sid
origin/master
ups-tags/wormux-0.7
ups-tags/wormux-0.7.2
ups-tags/wormux-0.7.3
ups-tags/wormux-0.7.4
ups-tags/wormux-0.7.9
ups-tags/wormux-0.7.9rc1
ups-tags/wormux-0.7beta3
ups-tags/wormux-0.8
ups-tags/wormux-0.8alpha1
ups-tags/wormux-0.8beta1
ups-tags/wormux-0.8beta2
ups-tags/wormux-0.8beta3
ups-tags/wormux-0.8beta4
ups-trunk
wormux-0.7
wormux-0.7.9
wormux-0.8beta1
wormux-0.8beta2
So more tracking branches were necessary; I fired 'gitk --all' and got a nice picture, after adding tracking branches for branches originating from A':

This is not yet complete and now I am feeling sleepy, so I'll continue once I experiment more.
Of course, it's also true that the bigger sites, like dice.com, had more jobs total. Indeed, dice.com has more hits for Erlang than CrunchBoard does for Java!
Recently I came with the idea that my big computer is just useless. I know I was not using its entire CPU power, so I decided to take a look at CPU frequency scaling.
Last time I tried, it was a PITA, required something like a daemon, and just did not work. With recent hardware and/or kernels, it's just easy as Debian.
etch
Hi folks!
We’re almost done for the official Summer of Code program and I thought that I couldn’t let it end without another update, so here we are (you may thank Daniel Burrows for additional poking).
The Gtk+ interface for Aptitude is making great progress. The product is not final yet but already implements many of the planned ideas, with others to come.
Here are the screenies:

Last month, the dutch-languaged C'T featured an article about
retouching pictures with The Gimp, amongst others. Great timing, of
course, since everyone goes on holiday during summer, right? Right.
It's amazing what you can do with The Gimp and a bit of
basic knowledge. Take this picture, for example, which I took at this
year's FOSDEM:
I kindof like it, but the colors are a bit blend. Too much of a red
tint over everything. So, what we need to do, is change the curve:
Pardon my, eh, Dutch.
The trick is to remember that there are only so many colors which can
be represented in a (JPEG) photo. The histogram on the background
represents that; and by modifying the curve that is above the picture,
you can effectively change the colorspace that is available for any
peaks. If there's a lot of the darker blue in the picture, but less so
in the lighter regions of the blue (as in this case), you just give the
picture more space in the blue regions so that the blue that actually
exists in the picture can be better represented. We do this by lowering
the curve right before the peak, and by raising it afterwards, as the
above screenshot shows. After doing so for red, green, and blue, this is
the result:
Looks much better, right? Way more contrast, and the colors look much
more natural. And that only took me like 10 seconds to do.
Do watch out, though -- it's easy to overshoot, resulting in an ugly
picture; and you wouldn't necessarily want that. Also, if your camera
has a RAW mode, you're going to be able to do a lot more of this kind of
retouching with that than you would be using JPEG files. Then again, my
camera has RAW too, but I don't use it most of the time...
Somehow (thankfully) I've managed to avoid much to do with backups in my
career as a sysadmin. It's always been someone else's responsibility, that's
been fine by me.
For some reason, I've been more paranoid lately, and with all of the crazy
shit I've been doing to daedalus, I wanted to have a backup, just
in case. Maybe it's old age.
So a while ago, I went and had a stab at setting up
One thing that has always annoyed me about most wiki is the way they
handle images. 
Today I figured out why the awesome window manager's tags are so eh,
awesome.
I'm attending debconf via irc and web stream, and have that on tag 9.
Which I mostly think of a a desktop, since I generally view one tag
at a time, and flip between them like desktops.




OpenSync update
To give some update on the state of