summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-15 16:07:16 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-15 16:07:16 +0200
commitbc81eaae6b098ca320b992f0a341d97849a8c1b0 (patch)
tree3494a82a11b64a9419c0df840aefb471e1e6d545
parent7cb54ec077811d5efb9c22c85a64f4a44d4206f9 (diff)
downloadjenkins.debian.net-bc81eaae6b098ca320b992f0a341d97849a8c1b0.tar.xz
reproducible: add new pkg set: cii-census (see https://github.com/linuxfoundation/cii-census)
-rwxr-xr-xbin/reproducible_common.sh1
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh9
2 files changed, 10 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index d904191b..6851c61a 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -92,6 +92,7 @@ META_PKGSET[26]="maint_debian-boot"
META_PKGSET[27]="maint_debian-ocaml"
META_PKGSET[28]="maint_debian-x"
META_PKGSET[29]="maint_lua"
+META_PKGSET[30]="cii-census"
schedule_packages() {
LC_USER="$REQUESTER" \
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 75667195..bd6f562d 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -191,6 +191,15 @@ update_pkg_sets() {
rm -f ${TMPFILE2}
fi
+ # packages from the cii-census
+ if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[30]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[30]}.pkgset ] ; then
+ CII=$(mktemp)
+ git clone https://github.com/linuxfoundation/cii-census.git $CII
+ csvtool -t ',' col 1 $CII|results.csv|grep -v "project name" > $TMPFILE
+ update_if_similar ${META_PKGSET[30]}.pkgset
+ rm $CII -r
+ fi
+
# gnome and everything it depends on
if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[9]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[9]}.pkgset ] ; then
chdist --data-dir=$CHPATH grep-dctrl-packages $DISTNAME -X \( -FPriority required --or -FPackage gnome \) > ${TMPFILE2}