[Pkg-octave-devel] Bug#681671: [pkg-octave/experimental] octave-pkg.mk: Pass option --no-window-system when calling octave

Rafael Laboissiere rafael at laboissiere.net
Sun Jul 15 14:03:41 UTC 2012


Back in the time when SVN was used by the DOG, there was a commit
notification script that parsed the changes in debian/changelog,
spotted the appearances of "Closes: #nnnnnn", and tagged the
corresponding bug reports as pending.

I was looking for something similar for Git and found a script written by
Sean Finney:
 
     http://www.seanius.net/blog/2009/04/a-productive-weekend-for-debian/

The nice feature of Sean's script is that it is compatible with
git-buildpackage, and looks for the "Closes: #nnnnnn" construct in the 
commit log, not in debian/cahngelog (which is now generated by git-dch).

For testing this, I changed the hooks/post-receive script in the Git
repository of the octave-pkg-dev package to the following:

######################################################################
#!/bin/sh
read oldrev newrev refname 
ARGS="$oldrev $newrev $refname"
HOMEDIR=/home/groups/pkg-octave
echo $ARGS | $HOMEDIR/bin/git-commit-notice
echo $ARGS | $HOMEDIR/git-hooks/git-post-receive-url-notifications.py
######################################################################

I then filed Bug#681671 and, after fixing it and doing "git push", the
mail below was automatically sent to control at bugs.d.o.  (Actually, not
really, because I forgot to put the "#" before the bug number, but I run
the script by hand after changing it slightly and it worked).

If nobody objects, I will change the post-receive hooks in the other
repositories of the DOG packages.

Rafael

* Rafael Laboissiere <rafael at laboissiere.net> [2012-07-15 13:04]:

> tag 681671 pending
> thanks
> 
> Date: Sun Jul 15 12:43:23 2012 +0000
> Author: Rafael Laboissiere <rafael at laboissiere.net>
> Commit ID: c6570d87fd8fc74ce80c4d21e21d59054bb0957a
> Commit URL: http://git.debian.org/?p=pkg-octave/octave-pkg-dev.git;a=commitdiff;h=c6570d87fd8fc74ce80c4d21e21d59054bb0957a
> Patch URL: http://git.debian.org/?p=pkg-octave/octave-pkg-dev.git;a=commitdiff_plain;h=c6570d87fd8fc74ce80c4d21e21d59054bb0957a
> 
>     octave-pkg.mk: Pass option --no-window-system when calling octave
> 
>     Closes: 681671
>       
> 
> _______________________________________________
> Pkg-octave-devel mailing list
> Pkg-octave-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-octave-devel



More information about the Pkg-octave-devel mailing list