From bc81eaae6b098ca320b992f0a341d97849a8c1b0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 15 Jul 2015 16:07:16 +0200 Subject: reproducible: add new pkg set: cii-census (see https://github.com/linuxfoundation/cii-census) --- bin/reproducible_common.sh | 1 + bin/reproducible_create_meta_pkg_sets.sh | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'bin') 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} -- cgit v1.2.3-70-g09d2