Guido G nther: Using git svn and git-buildpackage to build packages maintained in Subversion
Many team maintained packages in Debian are maintained in Subversion which
makes a lot of sense if people agreed on a common workflow. If you want to use
git to work on these packages you can still do so with a bit of
configuration without changing anything for the other team members. Let's take
system-config-printer as example. git-svn can be used to checkout the
svn repository:
git svn clone svn+ssh://svn.debian.org/svn/pkg-gnome/ -T packages/unstable/system-config-printer -t tags/system-config-printer system-config-printer
Since the pkg-gnome team keeps all the packages in one huge SVN repository and
splits the directories by release first and then by package the above command
uses -T to point git-svn to system-config-printer's trunk and -t to point
it to the tags directory. In simpler repositories where trunk, branches
and tags are subdirectories of the same base directory using --stdlayout
instead is enough.
Since in SVN based packaging the upstream sources usually aren't kept in the
repository git-buildpackage needs to know where to find them and how to
combine things in the build-directory:
cd system-config-printer
cat <<EOF >.git/gbp.conf
[git-buildpackage]
# Build in a separate build-area
export-dir = ../build-area/
# Look for tarballs in ../tarballs
tarball-dir = ../tarballs/
# Overlay the upstream sources on top of it
overlay = True
# Don't use pristine-tar
pristine-tar = False
# Compression type of the tarball
compression = bzip2
Like with svn-buildpackage the orig-tarball is expected to be found in
../tarballs where you should put it now e.g. using the get-orig-source
target of debian/rules (yes, git-buildpackage should support this
implicitly). You can then work on the package as usual using all the nifty
git commands like git-rebase, etc. and build the package (in this case
using git-pbuilder):
git-buildpackage --git-pbuilder
or if you don't want to export the current branch's HEAD of your git repository
but your working copy (which might contain uncommitted changes) to the
build-area instead use:
git-buildpackage --git-pbuilder --git-export=WC
The built packages can then be found in ../build-area. Once the package is
ready pushing the changes into the SVN remote repository is as simple as:
git svn dcommit
git svn tag -m"Tagging system-config-printer (1.2.3-0.2)" 1.2.3-0.2
The last command appropriately tags the new version. This saves a bit of
typing. In order to fetch changes others have made use:
git svn rebase
This fragment of code was extracted from a direct-to-MX PHP spam cannon installed on a customer server. Yes, it contains a real DNS stub resolver written in PHP (which abuses the promiscuous cache of a local large ISP).
FrOSCon was a blast. I had two booths of my own MirBSD and FreeWRT as
well as shares of Debian and Grml. Well, MirBSD was run by Benny and gecko2
because I just didn t have any time for it, despite XTaran s help with the
FreeWRT booth. All I did was the initial setup of both booths, while at the
same time answering about three questions regarding FreeWRT in parallel.
Wow. What a little small, open hardware can do to you. XTaran and I had fun
and we ll do FreeWRT booths again; I managed to flash my two FON2100 devices
( La Fonera the FON2200 can use the same image, says nbd of OpenWrt) and
will fix the port s remaining few bugs I found; XTaran will try to push the
WL-500gPv2 development. The social part was nice as well, although I think
the greek restaurant in the city will not be visited by me again. Anyway,
if you didn t attend FrOSCon, your own fault
Since the BitTorrent tracker used by MirOS is down, here s the link to 
Just echoing what happens in
Sadly, I cannot find this book in English, as it is very well worth a read. But if the topic sounds interesting and you can understand the language, don't hesitate and pick up the book. It gives an interesting insight on the topic, for a group of people (us techies) used to looking at things in a much more human-cognitive-process-oriented way.
[update] I found this nice
This is my third video of me while doing my tattoo, hopefully it won t get removed again due to licensing, because I tried to provide all the necessary copyright. This is its first time showing up on
I d like to have this one on as some kind of personal zeitgeist moment if anything, and I m definitely not making any other versions of this video. I have why I did it , and all the other things written in my previous posts related to this video.
Enjoy
<object height="324" width="400"><param name="movie" value="http://www.youtube.com/v/edKUKCTOpo0&hl=en&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed allowfullscreen="true" allowscriptaccess="always" height="344" src="http://www.youtube.com/v/edKUKCTOpo0&hl=en&fs=1" type="application/x-shockwave-flash" width="425"></embed></object>
Related posts:
An EOF analysis of annual Irish rainfall (first principal component). We see increased rainfall, with a shift
point around 1978.
Released just a few hours ago:
long time no RC bug posting. in july I was at the
DebConf launched with a bang the day I arrived
If the Debian package of the day website were still alive, I would post this
there. Since I still have the backups lying in my harddrive waiting to be
restored in some other place, I'll post here.
In the
Between work and parenthood, I'm struggling to keep on top of things a bit
at the moment, but so I'm a bit late to the party.
DebConf10
I was in organization team for DebConf10, but if you put me aside, what s particularly interesting is that there was a total number of 7 Bosnians on DebConf10, two of which were government officials. I must note this wasn t our complete team, and what s most important of all is that they all pretty much volunteered as much as they could, of course, besides good will to help Debian, but also to at least somehow prepare themselves for organization of DebConf11.
It s also worth noting that this was their first DebConf, and I as a leader of the team must say I m proud on how well they performed. I m sure by being highly active in volunteering they have learned as much as they could when it comes to how it s done and were able to see good and bad sides of DebConf10 organization team.
Of course, I d also like to thank DebConf10 team for their superb work, perfect Venue selection, their hospitality and being incredibly friendly and helpful to all of us. As I said in one of my lectures, it s kinda unwritten rule that every next DebConf has to top the previous one, and that being said it s going to be almost impossible to compete with this year bid, but being Bosnians we re up for the challenge
Before anything, I d like to thank Government of Republika Srpska for their full financial support, which was one of the preconditions to even get this bid. With their full support + sponsors, we ll be able to get great amount for sponsorships, for you to come to Banja Luka from the most remote places, and also in case you need visa for them to help you in getting one. Government support is just too precious in any way you want to take it.
We would also like to invite you to DebConf11 in Bosnia (Banja Luka) next summer, we also invite all of you to our communication channels (mailing list, irc) since we would really like to get involved as many people as we can. Besides all of you enjoying DebConf11 next year, we would like you to help us in giving directions since we re a young team
Besides Debian people, I d like to invite anyone who think he/she could help, or want to get involved, especially individuals/organizations/LUG from whole region!
It s also important to stress that in all of our communication means, we do speak English, so please do not hesitate if you have any sort of question/suggestion/whatever.
For those interested in next DebConf11, most important page you should follow is our wiki page, where you can find all information and which we keep updated in timely manner:
)
