Remove i386 and buster/mantic from repository config
authorChristoph Berg <myon@debian.org>
Thu, 26 Sep 2024 13:40:58 +0000 (15:40 +0200)
committerChristoph Berg <myon@debian.org>
Thu, 26 Sep 2024 13:57:39 +0000 (15:57 +0200)
jenkins/builddebcheck-pgapt
jenkins/debcheck-pgapt
jenkins/pgapt-jobs.yaml
jenkins/sbuild-package
jenkins/schroot-config.sh
pgapt-db/sql/pgdg_apt_data.sql
pgapt.conf
repo/conf/distributions
repo/conf/incoming

index 14af22540b6565ad769461c11692bc007bb38156..a6903ddc7d0e35a5f9ba336f752418503bf05d71 100755 (executable)
@@ -85,9 +85,6 @@ fi
 
 # packages not tested on specific architectures
 case $architecture in
-  i386)
-    remove_packages $MAINSRC h3-pg pgfaceting pg-roaringbitmap "postgresql-.*-age" timescaledb
-    ;;
   ppc64el)
     remove_packages $MAINSRC buildapp cffi cl-unicode pgloader sbcl plv8
     ;;
@@ -99,20 +96,13 @@ esac
 # packages not tested on certain dists
 # postgresql-11 needs llvm-15 (disabled via pkg.postgresql.nollvm, but let's not set that globally here)
 case $distribution in sid|trixie) remove_packages $MAINSRC postgresql-11 ;; esac
-# python-werkzeug needs DH 12 and python3-sphinx-issues
-case $distribution in
-  buster|stretch|eoan|disco|bionic|xenial)
-    remove_packages $MAINSRC python-werkzeug ;;
-esac
 # vip-manager needs newer Go version to compile, but .debs are copied to older dists
 case $distribution in
   buster|groovy|focal)
     remove_packages $MAINSRC vip-manager ;;
 esac
-# pg-ldap-sync prometheus-sql-exporter need buster-backports which got removed
-case $distribution in buster) remove_packages $MAINSRC pg-ldap-sync prometheus-sql-exporter ;; esac
 # zstd is too old on stretch, buster and bionic
-case $distribution in stretch|buster|bionic) PROFILES="pkg.postgresql.nozstd" ;; esac
+#case $distribution in stretch|buster|bionic) PROFILES="pkg.postgresql.nozstd" ;; esac
 
 # run builddebcheck
 BUILDDEBCHECK="dose-builddebcheck -v -f -e --deb-native-arch=$architecture ${PROFILES:+--deb-profiles=$PROFILES}"
index ea2af3388164bf53680fa5466a28eb78b6da0a7b..ec8c017280685a368610aa0848461a5595dbbd2a 100755 (executable)
@@ -53,7 +53,7 @@ MAINPKG=$(awk '/^Package:/ { print $2 }' $DISTSDIR/$DIST/main/binary-${architect
 
 # exclude packages not installable on some architectures
 case $architecture in
-  i386|s390x)
+  s390x)
     MAINPKG=$(echo "$MAINPKG" | grep -v "pgfaceting") # pg-roaringbitmap missing on s390x
     ;;
 esac
@@ -110,20 +110,12 @@ fi
 # ignore elephant-shed in bookworm and lunar (and older)
 MAINPKG=$(echo "$MAINPKG" | grep -Ev "^elephant-shed")
 
-case $distribution in
-  buster)
-    MAINPKG=$(echo "$MAINPKG" | grep -Ev "^omnidb") # needs backports, but buster-backports got removed
-    ;;
-esac
-
 # bpo
 if [ "$HAS_BACKPORTS" ]; then
-    echo "### Running debcheck: main, packages needing backports"
-    # pgdg-buildenv: depends on clang-6.0 in stretch (but we include amd64/i386 only in our repository, not ppc64el)
-    # omnidb: Needs Django 2.2 on buster
-    # e-s-tmate needs tmate 2.4 on buster
-    pkg=$(fold $(echo "$MAINPKG" | grep -Ee 'pgdg-buildenv' -e 'resource-agents-paf' -e 'postgresql-.*-pllua' -e 'omnidb-common' -e 'omnidb-server'))
+    #pkg=$(fold $(echo "$MAINPKG" | grep -Ee 'pgdg-buildenv' ))
+    pkg=""
     if [ "$pkg" ]; then
+      echo "### Running debcheck: main, packages needing backports"
       ( set -x; $DEBCHECK \
         --bg $LISTSDIR/../backports/*_dists_${distribution}-backports_main_binary-${architecture}_Packages \
         --fg $DISTSDIR/$DIST/main/binary-${architecture}/Packages \
@@ -132,7 +124,7 @@ if [ "$HAS_BACKPORTS" ]; then
     echo
 
     # exclude packages from further testing
-    MAINPKG=$(echo "$MAINPKG" | grep -Ev -e 'pgdg-buildenv' -e 'resource-agents-paf' -e 'postgresql-.*-pllua' -e 'omnidb-common' -e 'omnidb-server')
+    #MAINPKG=$(echo "$MAINPKG" | grep -Ev -e 'pgdg-buildenv' )
 fi
 
 # main
index b39e9e7c4cb2613480a551d9cff003276cf6635b..b81fa5aa8e8c61ac83050e04c16694cdae5e46ec 100644 (file)
 - project:
         name: prometheus-sql-exporter
         git-url: https://salsa.debian.org/postgresql/prometheus-sql-exporter.git
-        # buster: needs newer golang-github-lib-pq-dev (backport exists)
         # bullseye, focal: needs golang-github-go-kit-log-dev
-        dist-filter: '!(distribution in ["buster", "bullseye", "focal"])'
+        dist-filter: '!(distribution in ["bullseye", "focal"])'
         backports: 'BACKPORTS=yes ' # golang-* backports on buster (needed for existing 0.4.0 packages in repo even when we don't build newer ones there)
         jobs:
                 - git-packages
index c34c178b76ddb38c216f6c66108e7907c10f0878..71dedf5ce1d85bbb2f3a40d134f9b93a96818892 100755 (executable)
@@ -4,7 +4,7 @@
 # Input:
 #  .dsc source package in current directory
 #  JOB_NAME=$pkg-binaries or PACKAGE=pkg
-#  architecture=amd64/i386
+#  architecture=amd64/arm64/...
 #  distribution=foo (caveat: sbuild -d foo-pgdg will be called)
 #  optionally: DEB_BUILD_OPTIONS
 #  optionally: PG_SUPPORTED_VERSIONS (defaults to pgdg)
index 8355ae052b1c3d3342ea33baa135d776eb28d41b..8b8b1856209c82987fcc8124972c4ca80724052f 100755 (executable)
@@ -16,16 +16,10 @@ for dir in . .. $HOME/apt.postgresql.org; do
   break
 done
 
-my_arch="$(dpkg --print-architecture)"
-case $my_arch in
-       amd64) ARCHS="amd64 i386" ;;
-       *) ARCHS="$my_arch" ;;
-esac
+arch="$(dpkg --print-architecture)"
 
 for dist in $PG_SUPPORTED_DISTS; do
-       for arch in $ARCHS; do
-
-               # if arguments are given, execute as command in enviroment
+               # if arguments are given, execute as command in environment
                # ./schroot-config.sh ./sbuild-update.sh
                if [ "$*" ]; then
                        echo "### distribution=$dist architecture=$arch ###"
@@ -43,15 +37,13 @@ for dist in $PG_SUPPORTED_DISTS; do
                        directory=/home/chroot/$dist-$arch
                        union-type=overlay
                        union-overlay-directory=/var/run
+                       
                        EOF
-                       [ $arch = i386 ] && echo "personality=linux32"
-                       echo
                )"
 
                echo "[$dist-$arch]"
-               aliases="$dist-pgdg-$arch"
-               [ $arch = $my_arch ] && aliases="$aliases,$dist"
-               [ $dist = sid ] && [ $arch = $my_arch ] && aliases="$aliases,default"
+               aliases="$dist-pgdg-$arch,$dist"
+               [ $dist = sid ] && aliases="$aliases,default"
                echo "aliases=$aliases"
                echo "$body"
                echo
@@ -63,5 +55,4 @@ for dist in $PG_SUPPORTED_DISTS; do
                echo "profile=sbuild"
                echo "$body"
                echo
-       done
 done
index f4fa3df547106e39d85c8b2ed261fcde94fa3dba..7c200c348a67051c38434be602abe0724ea19de9 100644 (file)
@@ -4,7 +4,7 @@ INSERT INTO architecture VALUES
     ('all'),
     ('amd64'),
     ('arm64'),
-    ('i386'),
-    ('ppc64el');
+    ('ppc64el'),
+    ('s390x');
 
 COMMIT;
index 5d279b48038a8e98559ca1542b2090556f48d6cc..b4b09a7aaf264bc5770cf5a87b0c6b2c6e00faa4 100644 (file)
@@ -9,8 +9,8 @@ PG_ALL_VERSIONS="8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 $PG_VERSIONS" # all ver
 PG_SUPPORTED_DISTS="sid trixie bookworm bullseye \
 oracular noble jammy focal"
 # repository dists: kept in repository config
-PG_REPOSITORY_DISTS="sid trixie bookworm bullseye buster \
-oracular noble mantic jammy focal"
+PG_REPOSITORY_DISTS="sid trixie bookworm bullseye \
+oracular noble jammy focal"
 # archive dists: all distributions (used in apt.postgresql.org.sh)
 PG_ARCHIVE_DISTS="sid trixie bookworm bullseye buster stretch jessie wheezy squeeze lenny etch \
 oracular noble mantic lunar kinetic jammy impish hirsute groovy focal eoan disco cosmic bionic zesty xenial wily utopic saucy precise lucid"
@@ -21,7 +21,7 @@ set_dist_vars () { # args: $1 = distribution [$2 = architecture]
   HAS_BACKPORTS=""
   case $1 in
     # Debian
-    sid)      PGDG_TAG=""      DISTRO="debian" RELEASE="unstable"              ARCHS="amd64 arm64 i386 ppc64el s390x" ;;
+    sid)      PGDG_TAG=""      DISTRO="debian" RELEASE="unstable" ;;
     trixie)   PGDG_TAG="130"   DISTRO="debian" RELEASE="13" ;;
     bookworm) PGDG_TAG="120"   DISTRO="debian" RELEASE="12" ;;
     bullseye) PGDG_TAG="110"   DISTRO="debian" RELEASE="11"    HAS_BACKPORTS=1 ;;
index a34a59b04d85a4c85232d56998090669d146af1d..54f374ca3e85aeb7ead04b69ba590dd8d0ebb886 100644 (file)
@@ -2,7 +2,7 @@ Codename: sid-pgdg
 Suite: sid-pgdg
 Origin: apt.postgresql.org
 Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
+Architectures: source amd64 arm64 ppc64el s390x
 Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
 SignWith: ACCC4CF8
 Log: sid-pgdg.log
@@ -17,7 +17,7 @@ Codename: sid-pgdg-testing
 Suite: sid-pgdg-testing
 Origin: apt.postgresql.org
 Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
+Architectures: source amd64 arm64 ppc64el s390x
 Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
 SignWith: ACCC4CF8
 Log: sid-pgdg-testing.log
@@ -34,7 +34,7 @@ Codename: sid-pgdg-snapshot
 Suite: sid-pgdg-snapshot
 Origin: apt.postgresql.org
 Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
+Architectures: source amd64 arm64 ppc64el s390x
 Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
 SignWith: ACCC4CF8
 Log: sid-pgdg-snapshot.log
@@ -194,55 +194,6 @@ Contents: percomponent nocompatsymlink
 NotAutomatic: yes
 ButAutomaticUpgrades: yes
 
-Codename: buster-pgdg
-Suite: buster-pgdg
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
-Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: buster-pgdg.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-
-Codename: buster-pgdg-testing
-Suite: buster-pgdg-testing
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
-Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: buster-pgdg-testing.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-NotAutomatic: yes
-ButAutomaticUpgrades: yes
-
-Codename: buster-pgdg-snapshot
-Suite: buster-pgdg-snapshot
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
-Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: buster-pgdg-snapshot.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-NotAutomatic: yes
-ButAutomaticUpgrades: yes
-
 Codename: oracular-pgdg
 Suite: oracular-pgdg
 Origin: apt.postgresql.org
@@ -341,55 +292,6 @@ Contents: percomponent nocompatsymlink
 NotAutomatic: yes
 ButAutomaticUpgrades: yes
 
-Codename: mantic-pgdg
-Suite: mantic-pgdg
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64
-Components: main 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: mantic-pgdg.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-
-Codename: mantic-pgdg-testing
-Suite: mantic-pgdg-testing
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64
-Components: main 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: mantic-pgdg-testing.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-NotAutomatic: yes
-ButAutomaticUpgrades: yes
-
-Codename: mantic-pgdg-snapshot
-Suite: mantic-pgdg-snapshot
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64
-Components: main 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: mantic-pgdg-snapshot.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-NotAutomatic: yes
-ButAutomaticUpgrades: yes
-
 Codename: jammy-pgdg
 Suite: jammy-pgdg
 Origin: apt.postgresql.org
index f2a86114110be253e8c49fb7095f281bb0fb8851..8f856b561b5dcce255841819df1e1fc4d8175da6 100644 (file)
@@ -11,10 +11,8 @@ Allow:
  trixie-pgdg>trixie-pgdg-testing
  bookworm-pgdg>bookworm-pgdg-testing
  bullseye-pgdg>bullseye-pgdg-testing
- buster-pgdg>buster-pgdg-testing
  oracular-pgdg>oracular-pgdg-testing
  noble-pgdg>noble-pgdg-testing
- mantic-pgdg>mantic-pgdg-testing
  jammy-pgdg>jammy-pgdg-testing
  focal-pgdg>focal-pgdg-testing
 
@@ -31,10 +29,8 @@ Allow:
  trixie-pgdg>trixie-pgdg-snapshot
  bookworm-pgdg>bookworm-pgdg-snapshot
  bullseye-pgdg>bullseye-pgdg-snapshot
- buster-pgdg>buster-pgdg-snapshot
  oracular-pgdg>oracular-pgdg-snapshot
  noble-pgdg>noble-pgdg-snapshot
- mantic-pgdg>mantic-pgdg-snapshot
  jammy-pgdg>jammy-pgdg-snapshot
  focal-pgdg>focal-pgdg-snapshot