[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] find_obsolete_transitional_packages: move all configuration to job-cfg/.yaml and improve comments

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Jan 24 17:30:29 GMT 2022



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
83adbcf5 by Holger Levsen at 2022-01-24T18:29:26+01:00
find_obsolete_transitional_packages: move all configuration to job-cfg/.yaml and improve comments

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/find_obsolete_transitional_packages.sh
- job-cfg/obsolete-transitional.yaml


Changes:

=====================================
bin/find_obsolete_transitional_packages.sh
=====================================
@@ -9,10 +9,10 @@ MAX=20
 #
 #
 if [ -z "$1" ] ; then
-	echo "Call $(basename $0) [bug] NEXT SUITE1 SUITE2 SUITE3"
+	echo "Call $(basename $0) [bug] NEXT STABLE OLDSTABLE"
 	echo "         bug to enter manual mode"
 	echo "         NEXT suite which is being developed, eg 'bookworm'"
-	echo "         SUITE1/2/3: suites to look at, eg. 'buster bullseye sid'"
+	echo "         STABLE is bullseye currently, OLDSTABLE is buster"
 	exit 0
 fi
 
@@ -24,11 +24,17 @@ else
 	#normally defined in common-functions.sh
 	export MIRROR=http://deb.debian.org/debian
 	#for quicker development:
-	#PACKAGES[0]=/home/schroots/stretch/var/lib/apt/lists/deb.debian.org_debian_dists_stretch_main_binary-amd64_Packages
-	#PACKAGES[1]=/var/lib/apt/lists/deb.debian.org_debian_dists_buster_main_binary-amd64_Packages
+	#PACKAGES[0]=/home/schroots/bookworm/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_binary-amd64_Packages
+	#PACKAGES[1]=/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-amd64_Packages
 	#PACKAGES[2]=/home/schroots/sid/var/lib/apt/lists/deb.debian.org_debian_dists_sid_main_binary-amd64_Packages
 fi
 
+#
+# above only examples are shown for interactivly running this script.
+#
+# the jenkins job is solely configured in job-cfg/obsolete-transitional.yaml
+#
+
 if ! which chdist ; then
 	echo "Please install devscripts."
 	exit 1
@@ -48,23 +54,27 @@ fi
 
 LANG="en_EN.UTF-8"
 ARCH=amd64
-NEXT="$1"		# bookworm
+NEXT="$1"
 shift
-SUITES="$@" 		# buster bullseye sid
-OLDSTABLE="buster"
-STABLE="bullseye"
-if [ "$NEXT" != "bookworm" ] ; then
-	echo "This script needs more changes to work on other suites than bookworm…"
-	echo "Not many, but a very few."
-	exit 1
-fi
-echo "Looking at $SUITES for obsolete transitional packages in $NEXT."
+STABLE="$2"
+shift
+OLDSTABLE="$3"
+shift
+SUITES="$OLDSTABLE $STABLE sid"
+
+
+
 # transitional packages we know bugs have been filed about…
 # since stretch release
 BUGGED="multiarch-support jadetex dh-systemd libpcap-dev transfig myspell-it myspell-sl python-gobject ttf-dejavu ttf-dejavu-core ttf-dejavu-extra libav-tools netcat gnupg2 libkf5akonadicore-bin qml-module-org-kde-extensionplugin myspell-ca myspell-en-gb myspell-sv-se myspell-lt khelpcenter4 libqca2-plugin-ossl gambas3-gb-desktop-gnome git-core gperf-ace libalberta2-dev asterisk-prompt-it libatk-adaptor-data kdemultimedia-dev kdemultimedia-kio-plugins autoconf-gl-macros autofs5 autofs5-hesiod autofs5-ldap librime-data-stroke5 librime-data-stroke-simp librime-data-triungkox3p pmake host bibledit bibledit-data baloo libc-icap-mod-clamav otf-symbols-circos migemo condor condor-dbg condor-dev condor-doc cscope-el cweb-latex dconf-tools python-decoratortools deluge-torrent deluge-webui django-filter python-django-filter django-tables django-xmlrpc drbd8-utils libefreet1 libjs-flot conky ttf-kacst ttf-junicode ttf-isabella font-hosny-amiri ttf-hanazono ttf-georgewilliams otf-freefont ttf-freefont ttf-freefarsi ttf-liberation libhdf5-serial-dev graphviz-dev git-bzr libgd-gd2-noxpm-ocaml-dev libgd-gd2-noxpm-ocaml ganeti2 ftgl-dev kcron kttsd jfugue verilog iproute iproute-doc ifenslave-2.6  node-highlight libjs-highlight ssh-krb5 libparted0-dev cgroup-bin liblemonldap-ng-conf-perl kdelirc kbattleship kdewallpapers kde-icons-nuvola kdebase-runtime kdebase-bin kdebase-apps libconfig++8-dev libconfig8-dev libdmtx-utils libgcrypt11-dev libixp libphp-swiftmailer libpqxx3-dev libtasn1-3-bin monajat minisat2 mingw-ocaml m17n-contrib lunch qtpfsgui liblua5.1-bitop0 liblua5.1-bitop-dev libtime-modules-perl libtest-yaml-meta-perl scrollkeeper scrobble-cli libqjson0-dbg python-clientform python-gobject-dbg python-pyatspi2 python-gobject-dev python3-pyatspi2 gaim-extendedprefs ptop nowebm node-finished netsurf mupen64plus mpqc-openmpi mono-dmcs  nagios-plugins nagios-plugins-basic nagios-plugins-common nagios-plugins-standard libraspell-ruby libraspell-ruby1.8 libraspell-ruby1.9.1 rcs-latex ffgtk ruby-color-tools libfilesystem-ruby libfilesystem-ruby1.8 libfilesystem-ruby1.9 god rxvt-unicode-ml bkhive scanbuttond python-scikits-learn slurm-llnl slurm-llnl-slurmdbd python-sphinxcontrib-docbookrestapi python-sphinxcontrib-programoutput strongswan-ike strongswan-ikev1 strongswan-ikev2 sushi-plugins task tclcl-dev telepathy-sofiasip tesseract-ocr-dev trac-privateticketsplugin python-twisted-libravatar vdr-plugin-svdrpext qemulator python-weboob-core xfce4-screenshooter-plugin zeroinstall-injector libzookeeper2"
 # since buster release
 BUGGED="$BUGGED actionaz agda-mode android-tools-adb android-tools-fastboot backintime-gnome backintime-kde beignet bird-bgp chocolate-doom chocolate-common science-astronomy science-astronomy-dev kdesdk-dolphin-plugins ttf-femkeklaver ttf-goudybookletter geany-plugin-gproject gnome-packagekit-session gpgv2 golang-check.v1-dev golang-codegangsta-cli-dev golang-context-dev golang-github-jfrazelle-go-dev golang-snappy-go-dev golang-github-lsegal-gucumber-dev golang-clockwork-dev golang-pq-dev golang-dns-dev golang-mreiferson-httpclient-dev golang-uuid-dev golang-prometheus-client-dev golang-gogoprotobuf-dev golang-go.net-dev golang-go.tools golang-go.tools-dev golang-logrus-dev golang-objx-dev golang-pretty-dev golang-text-dev golang-toml-dev golang-websocket-dev golang-x-text-dev golang-yaml.v2-dev md5deep xul-ext-https-everywhere iptables-dev iptraf ksnapshot kdoctools-dev kio-dev kwayland-dev bsdcpio bsdtar libkf5sysguard5 libkf5sysguard5-data gstreamer0.10-qapt python-libvoikko lua-luxio0 magit mongodb-dev libmpfi0-dev blast2 notmuch-emacs libpango1.0-0 paredit-el ruby-passenger ruby-passenger-doc python-pelican pep8 php-gettext pike8.0-manual pinentry-qt4 kde-config-touchpad plowshare4 polkit-kde-1 gpaco paco puppet-common puppetmaster puppetmaster-passenger python-pytango python3-pytango letsencrypt python-certbot-apache python-certbot-nginx python-dogpile.core python3-dogpile.core ipython-qtconsole ipython3-qtconsole iep gtk-redshift ruby-bson-ext ruby-archive-tar-minitar aterm aterm-ml libsaga golang-github-ubuntu-core-snappy-dev python-spyderlib python3-spyderlib squid3 luasseq ttf-ancient-fonts vnc4server xvnc4viewer aspell-eu-es hunspell-eu-es"
 # since bullseye release
+# TBD
+
+
+
+echo "Looking at $SUITES for obsolete transitional packages in $NEXT."
 BASEPATH=$(ls -1d /tmp/transitional-????? 2>/dev/null || true)
 if [ -z "$BASEPATH" ] ; then
 	BASEPATH=$(mktemp -t $TMPDIR -d transitional-XXXXX)


=====================================
job-cfg/obsolete-transitional.yaml
=====================================
@@ -21,7 +21,7 @@
       artifactDaysToKeep: -1
       artifactNumToKeep: -1
     builders:
-      - shell: '/srv/jenkins/bin/find_obsolete_transitional_packages.sh {my_distro} "{my_suites}"'
+      - shell: '/srv/jenkins/bin/find_obsolete_transitional_packages.sh bookworm bullseye buster'
     publishers:
       - logparser:
           parse-rules: '/srv/jenkins/logparse/obsolete-transitional.rules'
@@ -67,7 +67,5 @@
     do_not_edit: '<br>Find obsolete transitional packages.'
     jobs:
         - '{name}':
-            my_distro: 'bookworm'
-            my_suites: 'buster bullseye sid'
-            my_description: 'Find obsolete transitional packages in bookworm.'
+            my_description: 'Find obsolete transitional packages in the next release.'
             my_recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org'



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/83adbcf5e6ac64bbe6c9ceab9d3908d9830999e4

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/83adbcf5e6ac64bbe6c9ceab9d3908d9830999e4
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20220124/03938468/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list