Search Results: "venthur"

20 February 2007

Bastian Venthur: Rebuilding the Archive Using Cowbuilder

Did you ever want to rebuild the archive, but setting up this whole wanna-build/sbuild/buildd stuff somewhat scared you? Then this small script might be for you. All you need is cowbuilder, the rights to build inside a cowbuilder environment and this script. When you call it with a list of packages as argument it will build every package in a clean cowbuilder environment, saving the buildlog (succeeded-$package or failed-$package) and cleaning up the rest afterwards. To speed up things you can run several instances of this script concurrently — lockfiles will prevent the script from building the same package more than once. It is even safe to kill the script and restart it later. It will automatically skip all packages where a logfile (succeded failed)-$package already exists. All you have to do after you killed the script is to remove the lockfile in the LOGDIR and the $package-directory in the BUILDDIR.

#!/bin/sh
# Version: 2007-02-20
LIST=$1
LOGDIR=$(pwd)/"logs"
BUILDDIR=$(pwd)/"build"
BASEPATH="/var/cache/pbuilder/base-testing.cow"
function build  
    PACKAGE=$1
    mkdir -p $BUILDDIR/$PACKAGE
    cd $BUILDDIR/$PACKAGE
    apt-get source $PACKAGE &> /dev/null
    cd $(find . -type d ! -name .)
    pdebuild --pbuilder cowbuilder --use-pdebuild-internal --buildresult .. -- --basepath $BASEPATH &> $LOGDIR/.$PACKAGE
    if [ $? -eq 0 ]; then
        mv $LOGDIR/.$PACKAGE $LOGDIR/succeeded-$PACKAGE
    else
        mv $LOGDIR/.$PACKAGE $LOGDIR/failed-$PACKAGE
    fi
    cd $BUILDDIR
    rm -rf $PACKAGE
 
[ -d $LOGDIR ]   mkdir $LOGDIR
if [ ! -e $LIST ]; then
    echo "No Buildlist given."
    exit 1
fi
while read package; do
    # Create Lockfile (ln -s is atomic and fails if link already exists)
    ln -s $package $LOGDIR/.$package.lock 2> /dev/null   continue
    # Build the package if not already built
    if [ ! -e $LOGDIR/succeeded-$package -a ! -e $LOGDIR/failed-$package ]; then
        echo $(date +%F %T) Building $package...
        build $package
    fi
    # Remove Lockfile
    rm -f $LOGDIR/.$package.lock
done  $LIST

I know my bash scripting skills are shitty, so please send patches after you laughed ;) I’m currently running two instances concurrently for 3 days on my Pentium 2,4GHz HT box and have rebuilt ~70% of the testing archive so far. It would be cool to distribute the rebuilt across a few computers via ssh, so that they’re all building on the same list but using their own cowbuilders. It should be sufficient if all computers shared the same LOGDIR across the network, but I’m not sure how to do this. NFS does not the trick since it cannot guarantee the atomicity of the ln-command.

14 February 2007

Alexander Schmehl: re: DPL 2007, Current Candidates

Bastian, I think you forgot Wouter.

Bastian Venthur: DPL 2007, Current Candidates

For those who don’t follow -vote regularly, it seems like we have currently four official nominations for this year’s DPL vote: and two pending ones: A totally unrelated note: If you want to get really frustrated and angry but don’t feel like participating in Debian’s infamous flamefests — try to learn to juggle a 5 ball cascade. This will keep you busy for several months without getting on everybody’s (well, everybody but your neighbor’s) nerves. Update: Ooops, I forgot Wouter — thanks Alexander.

10 February 2007

Bastian Venthur: Pimp My Boot Process (II)

I’m still working on a grub/usplash splashscreen in order to pimp my boot process. Let’s see what we have: Creating the grub image is rather easy. What’s obviously missing here is the correct position and color of the text stuff. Creating a working splash image for usplash was kinda tricky. I tried several HOWTOs which took a long time since I had to reboot in order to test the result. Unfortunately every attempt I made resulted in either a blank screen or the default fallback splash. As a last resort I took the source of debian-edu-artwork which has a working usplash, replaced their image with mine and rebuild the package. I don’t know yet why, but it worked. I plan to create package with combined grub/usplash(/xDM) artwork and several alternative themes, but since our usplash version is lagging behind upstreams I think I’ll wait until we catched up again. The new version is not backwards compatible with the old one and the new one as quite a lot new cool features like: which make it a lot easier to create good looking splash screens.

9 February 2007

Bastian Venthur: Number concerning the next release: 104

Looks like we’ve not made much progress in the last month. Many bugs where closed but unfortunately many new bugs where opened as well. Last time I tried to motivate you to fix a few RC bugs, let’s try a different approach: *Ahem* I don’t have to remind you that…

6 February 2007

Bastian Venthur: First Candidate

Looks like we found our first victim candidate for this year’s DPL election.

1 February 2007

Bastian Venthur: RC Bug Triage

In the last three days I made 15 NMUs, fixing 11 RC- and 4 l10n-bugs. I noticed that some maintainers were not aware that one of their packages had an open RC bug from the mails I received afterwards. So please double check your QA package for open RC bugs and fix them if you can. If you have some spare time please go to the unofficial RC-bugs page and check the bugs which are older than 7 days and affect etch and sid. We’re currently in a permanent BSP till etch is out, so 0-day NMUs are allowed. If you are an NM or no maintainer at all, you still can help by providing patches, submitting them to the BTS and tagging the bug with “patch”. Someone will upload ASAP and might even thank you in the corresponding changelog entry.

30 January 2007

Gunnar Wolf: But it does!

Bastian: I'm unable to provide the about:config key to prove it, but clicking on a link on my Iceweasel does open a Mutt mailto dialog. Maybe network.protocol-handler.external.mailto or network.protocol-handler.expose.mailto will do? They are booleans, so I cannot get much insight out of their respective true and false values... Keep peeking around ;-)

Bastian Venthur: Random Firefox Tweaks

The following options have to be changed or added in about:config. Those tweaks can of course be achieved through extensions, but by setting them directly you can abandon some extensions and hopefully conserve some memory. In order to open a bookmark-folder with mid-click in tabs without overwriting the current tabs change: browser.tabs.loadFolderAndReplace=false To remove the close buttons on the tabs (they still can be closed by mid-clicking on them): browser.tabs.closeButtons=2 Enable the spellchecker for inputfields and textareas (default is textareas only): layout.spellcheckDefault=2 To override the useragent string: general.useragent.override=foobrowser And the last one really made my day: Open lastfm://-links directly in amarok:

network.protocol-handler.app.lastfm=amarok
network.protocol-handler.external.lastfm=true
BTW: Shouldn’t firef*cough* iceweasel open the composer of your mailclient when clicking on mailto-links?

Bastian Venthur: Number concerning the next release: 116

Looks like our RC counter is heading into the wrong direction. Two years ago — when our RC counter was as high as now — it took approximately three months from there to the release. So…

27 January 2007

Bastian Venthur: Using My Favorite Mailclient When Reporting Bugs

Dear Lazyweb, is there an option in reportbug allowing me to use Thunderbird (KMail, foo, …) to write the bugreport? I’m currently using vim, but Thunderbird’s spell checker is much more convenient to use and copy-pasting from KDE into vim is not working very well, making it cumbersome to attach backtraces and stuff.

25 January 2007

Daniel Baumann: Re: Pimp My Boot Process

Bastian, people (including me) wanted to do this, the progress or rather its resignation is logged here #383248 (sad, when remebering that I had no problem to hand over the ITP: #356193).

Bastian Venthur: Pimp My Boot Process

I’ve tested Ubuntu the other day and I must say I was really impressed how polished the boot process looked. Ubuntu uses the same image as grub splash and as usplash image. This has the nice effect that there is no visible switch between grub and usplash. I don’t remember if they even used the same image for the login as well, but it would surely improve the boot experience even further. Since we have grub and usplash in our repository too, I thought it would be nice to create something similar for Debian. Creating an image and preparing it for grub is not that hard but creating something suitable for usplash actually is a problem. First obstacle: usplash uses certain defined colors from the palette of the splash to draw stuff like text, background and progress bar, so you almost certainly have to re-arrange the position of the colors in the palette of the image manually. Second: installing the image is not exactly user-friendly. You have to create a .c-file from the .png. Compile it to a .so. and regenerate the initramfs in order to activate the theme… While second part is not that hard and can be done by a script, the first problem (re-arranging the color palette entries) seems kinda unsolvable for me and my limited Gimp skills. So does anyone know a tool which allows to create a usplash theme painlessly? I think it would be nice to have some grub/usplash theme packs in our repositories. While it’s certainly uninteresting for servers it surely adds some extra fun for our desktop users.

23 January 2007

Bastian Venthur: Allow myself to introduce . myself!

Ok then, this is my first serious blog entry. To break the ice, maybe an introduction would be appropriate: My name is Bastian Venthur I’m currently 26 years old and live in Berlin, Germany. I’m studying computer science at the Freie Universit t Berlin and I am Debian Developer since October 2006. I maintain a few packages, mostly KDE related and am quite active in reporting bugs. One of my current hobbies is to juggle. I started a few months ago and already master some neat tricks like Mills Mess, Over the Head and the famous four ball Async Fountain.

Bastian Venthur: Hello World!

First post.

Next.

Previous.