summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_create_meta_pkg_sets.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-06 18:17:17 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-06 18:17:17 +0100
commit2f5401c6ac414b3047e4862f1bccdc2a1a90bc32 (patch)
tree90a7c28144d301a736fb7b3b2ab079e6c6c82fbe /bin/reproducible_create_meta_pkg_sets.sh
parent3f497a20cc0b69fec4afec08187ad059348caf1a (diff)
downloadjenkins.debian.net-2f5401c6ac414b3047e4862f1bccdc2a1a90bc32.tar.xz
reproducible: track another package set: popcon top 1337 installed sources
Diffstat (limited to 'bin/reproducible_create_meta_pkg_sets.sh')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 780e93cb..f861eae3 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -102,6 +102,16 @@ grep-dctrl -sPackage -n -FMaintainer pkg-perl-maintainers@lists.alioth.debian.or
convert_into_source_packages_only
update_if_similar ${META_PKGSET[8]}.pkgset
+# popcon top 1337 installed sources
+SQL_QUERY="SELECT popcon_src.source FROM popcon_src ORDER BY popcon_src.insts DESC LIMIT 1337;"
+PGPASSWORD=public-udd-mirror \
+ psql -U public-udd-mirror \
+ -h public-udd-mirror.xvm.mit.edu -p 5432 \
+ -t \
+ udd -c"${SQL_QUERY}" > $TMPFILE
+update_if_similar ${META_PKGSET[9]}.pkgset
+
+
# finally
echo "All meta package sets created successfully."