doc-hackers: Changes to 'master'
mrconfig | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
New commits:
commit dbc56e92c054d8127a51e022802addc423a2c83a
Author: David Nusinow <dnusinow@debian.org>
Date: Tue Sep 1 19:16:04 2009 -0400
Add debhelper function
This will help determine which packages need debhelper updates
diff --git a/mrconfig b/mrconfig
index 9dd8958..b339df6 100644
--- a/mrconfig
+++ b/mrconfig
@@ -42,6 +42,24 @@ git_xsfbs = if [ $@ ]; then
fi # Do we have debian/xsfbs and we're not xsfbs itself?
fi # Do we have the merge branch (debian-unstable by default)?
+git_debhelper = if [ $@ ]; then
+ VERSION=shift "$@"
+ else
+ VERSION=`apt-cache policy debhelper | awk '/Installed:/ { print $2 }' | sed 's/\..*//'`
+ fi
+ if [ $@ ]; then
+ BRANCH=shift "$@"
+ else
+ BRANCH="debian-unstable"
+ fi
+ git checkout -q "$BRANCH"
+ if [ -f "debian/compat" ]; then
+ CURVERSION=`cat debian/compat`
+ if [ "$VERSION" -gt "$CURVERSION" ]; then
+ echo "`basename $MR_REPO` is at Debhelper Version $CURVERSION" >> $HOME/mr_debhelper.log
+ fi
+ fi
+
[debian/xorg/app/compiz]
dummy = true
[debian/xorg/app/grandr]
Reply to: