Index ¦ Archives ¦ RSS > Category: hacking ¦ RSS

Signature handling in Mono 2.0

Estimated read time: 1 minutes

While rebuilding for Python-2.6, libbtctl FTBFS, and it turns out the problem was that old-style ".pub" signature. We'll see how upstream will welcome the patch, but at least that solved the problem for us at Frugalware.

In fact that .pub sign must be ancient, I did the csharp bindings for Pacman-G2 a long time ago and then I already did not use the old form, either.


Python 2.6

Estimated read time: 1 minutes

Started to work on a python26 WIP repo. About 400 packages will need a rebuild, so it'll be fun. I'll publish all the needed scripts here when I'm done - though most of them is in a "use once, then trow away" style.

While waiting for the above scripts, I also started to work on converting git's builtin-apply to parseopt. Ideally it would be trivial, but it really have a lot of options, so probably I won't finish that today, either.


darcs-fast-export 0.8

Estimated read time: 1 minutes

Whoa, lots of stuff happened.

darcs-fast-export 0.8 is out and it passes the big-zoo test. (In short AFAIK darcs2git goes to an infinite loop for big repos, the others just produce corrupted results, and d-f-e is the first that can pass that test.)

I just noticed a bit expensive (since you'll be billed an international fee), but useful sms2irc method, by using sms4skype + bitlbee-skype. :)

Oh and a trick. We at Frugalware use a hook to update the working dir after every push, so that the new (in git 1.6.1) warning when pushing to a non-bare repo is bogus. The way to disable it is in git-config, manpage, but here it is:

git config receive.denycurrentbranch ignore


Frugalware Xmas logo

Estimated read time: 1 minutes

phayz just pushed out a special Frugalware logo for Xmas, I like it. :)

BTW it's interesting, my sister got an English bible and it claims that "to make it easier to read it more fluently and accurately, it's 'anglicised'." Not sure if that's really true, especially that young people like me typically learn a lot of words and expressions from movies and series...


Frugalware darcs repo in the darcs "big-zoo"

Estimated read time: 1 minutes

"big-zoo" is a collection of darcs repos, the darcs developers do benchmarks using this collection from release to release.

Recently our old Frugalware repo has been added, which is good, for multiple reasons.

First, now I can say that the reference for a good darcs exporter is the big-zoo, our old repo contains weird patches which were not yet part of "big-zoo" so far. Not that I'm evil, but I want to show that currently darcs-fast-export is the only exporter that can correctly convert all the repos in "big-zoo".

Second, it is a huge repo, so developers can how see the corner cases where darcs is really slow for a huge repo - though the GHC one was already included which is almost as big as our one and the most annoying cases are already optimized recently. (No, of course I can't compare it to git, I compare it to darcs-1.x.)


Next step in the "tailor creates corrupted repos" story

Estimated read time: 1 minutes

I've just added a new comment to the previously mentioned ticked. In short, it seems that darcs what -s --xml is horribly broken, and tailor heavily relies on this, so darcs-fast-export did.

I just removed this for now - maybe later I'll write my own patch parser, but that does not have a high priority in my TODO.

I want to cut a release in case all the test conversions in the "darcs-benchmark" repo passes fine, but that will take 2-3 days, I guess.


Persistent channel names in BitlBee

Estimated read time: 1 minutes

See this ticket. The idea is not to use "chat_randomnumber" as channel name, so that irssi can remember the layout.

We'll see how wilmer will welcome the idea. ;-)

OTOH, I still hate bzr:

$ bzr pull
Using saved location: http://code.bitlbee.org/bitlbee/
Format <RepositoryFormatKnit1> for http://code.bitlbee.org/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance
No revisions to pull.
$ bzr upgrade
bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.

I guess it refers to the server repo, but PLEASE, why should I care about it? It's not my repo!

And again something else. I just started using tuxguitar. I like it, but having sound in it was not trivial. It turns out that the working setup is to run

timidity -iA -Os
and then disable the oss output plugin, enable alsa, and choose the timidity midi output in the sounds settings in tuxguitar.


bookmarks in bitlbee-skype

Estimated read time: 1 minutes

Yesterday macmaN on #bitlbee poked me about how would it be possible to rejoin existing groupchats after connect automatically. It turned out that Skype has support for Jabber-like bookmarks, and it wasn't too hard at all to implement it.

I want this to settle down then I'll be ready to release 0.7 next year, I hope.


graph2k8.git repo

Estimated read time: 1 minutes

OK, this is probably not that interesting, but who knows... I just put out some code I did during this semester for this OpenGL course. It's available here.

Tags without a tagger in git

Estimated read time: 1 minutes

So this came up on IRC: ancient tag objects in git have no "tagger" line, and thus converting such a repo with git fast-export is not possible. And the usual way - I just reported it on the mailing list and Dscho quickly provided the necessary patch.

I hope the ubuntu guy (who is in CC) will at least give Dscho a "thanks", but who knows if it'll ever happen..

© Miklos Vajna. Built using Pelican. Theme by Giulio Fidente on github.