[SCM] Tools to automatically infer debtags tags branch, master, updated. d8ab76d1359b3ab9c2f6845ad61b87f7a0252db3
David Paleino
dapal at debian.org
Sun Jan 31 19:18:24 UTC 2010
The following commit has been merged in the master branch:
commit d8ab76d1359b3ab9c2f6845ad61b87f7a0252db3
Author: David Paleino <dapal at debian.org>
Date: Sun Jan 31 20:15:05 2010 +0100
plugins/mono: add automatic tags to all -cil and -cil-dev packages
diff --git a/plugins/mono b/plugins/mono
index 71273b0..ab9f8f2 100755
--- a/plugins/mono
+++ b/plugins/mono
@@ -6,9 +6,16 @@
# Auto-infer from 'libdevel' section
#cat $PKGDATA | grep-dctrl -ens Package -F Package '^libmono[0-9-].+-cil$' | while read pkg
-ara -list "package=~/^libmono[0-9-].+-cil$/" -config $ROOT/ara.config | while read pkg
+ara -list "package=~/.*-cil(-dev)?$" -config $ROOT/ara.config | while read pkg
do
- echo "$pkg: +devel::library, role::devel-lib, +devel::ecma-cli"
+ case $pkg in
+ *-cil)
+ echo "$pkg: +devel::library, +role::shared-lib, +devel::ecma-cli"
+ ;;
+ *-cil-dev)
+ echo "$pkg: +role::devel-lib, +devel::ecma-cli"
+ ;;
+ esac
done
exit 0
--
Tools to automatically infer debtags tags
More information about the Debtags-devel
mailing list