[Blends-commit] r3585 - /blends/trunk/machine_readable/fetch-machine-readable
tille at users.alioth.debian.org
tille at users.alioth.debian.org
Fri Oct 12 08:51:20 UTC 2012
Author: tille
Date: Fri Oct 12 08:51:19 2012
New Revision: 3585
URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=3585
Log:
Do not miss data from packages that are not featuring a master branch (even if they should have it according to policy)
Modified:
blends/trunk/machine_readable/fetch-machine-readable
Modified: blends/trunk/machine_readable/fetch-machine-readable
URL: http://svn.debian.org/wsvn/blends/blends/trunk/machine_readable/fetch-machine-readable?rev=3585&op=diff
==============================================================================
--- blends/trunk/machine_readable/fetch-machine-readable (original)
+++ blends/trunk/machine_readable/fetch-machine-readable Fri Oct 12 08:51:19 2012
@@ -124,7 +124,7 @@
echo "Vcs-Git: git://git.debian.org$1" > $TARGETDIR/$firstletter/${srcname}.vcs
echo "Vcs-Browser: http://git.debian.org"`echo $1 | sed 's+^/git/+/?p=+'` >> $TARGETDIR/$firstletter/${srcname}.vcs
echo "Blend: `echo $2 | sed 's?/.*??'`" >> $TARGETDIR/$firstletter/${srcname}.vcs
- for file in `git ls-tree master debian/ 2>/dev/null | grep -e "/control$" -e "/changelog$" -e "/copyright$" -e "/upstream$" | sed 's/^[0-9]\+[[:space:]]\+blob[[:space:]]\+[0-9a-f]\+[[:space:]]\+//'` ; do
+ for file in `git ls-tree HEAD debian/ 2>/dev/null | grep -e "/control$" -e "/changelog$" -e "/copyright$" -e "/upstream$" | sed 's/^[0-9]\+[[:space:]]\+blob[[:space:]]\+[0-9a-f]\+[[:space:]]\+//'` ; do
target=$TARGETDIR/$firstletter/${srcname}.`echo $file | sed 's?debian/??'`
git show HEAD:$file > $target
done
More information about the Blends-commit
mailing list