From 51a93971c3fa9a04c551fecc3013b534fb3dc537 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 19 Aug 2024 16:04:45 +0200 Subject: [PATCH] Move Debian packaging to salsa.debian.org Maintaining the packaging in the upstream repository is impractical if the release cycles are not tightly integrated. The external repo is more flexible. https://salsa.debian.org/postgresql/pg-squeeze --- debian/changelog | 25 ------------------------- debian/control | 25 ------------------------- debian/control.in | 25 ------------------------- debian/copyright | 25 ------------------------- debian/gitlab-ci.yml | 1 - debian/pgversions | 1 - debian/rules | 13 ------------- debian/source/format | 1 - debian/tests/concurrency | 14 -------------- debian/tests/control | 12 ------------ debian/tests/installcheck | 6 ------ debian/watch | 3 --- 12 files changed, 151 deletions(-) delete mode 100644 debian/changelog delete mode 100644 debian/control delete mode 100644 debian/control.in delete mode 100644 debian/copyright delete mode 100644 debian/gitlab-ci.yml delete mode 100644 debian/pgversions delete mode 100755 debian/rules delete mode 100644 debian/source/format delete mode 100755 debian/tests/concurrency delete mode 100644 debian/tests/control delete mode 100755 debian/tests/installcheck delete mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index bc822f8..0000000 --- a/debian/changelog +++ /dev/null @@ -1,25 +0,0 @@ -pg-squeeze (1.6.2-1) unstable; urgency=medium - - * New upstream version. - - -- Christoph Berg Mon, 18 Sep 2023 21:55:01 +0200 - -pg-squeeze (1.6.1-2) unstable; urgency=medium - - * Upload for PostgreSQL 16. - - -- Christoph Berg Sun, 17 Sep 2023 21:00:38 +0200 - -pg-squeeze (1.6.1-1) unstable; urgency=medium - - * New upstream version with PG16 support. - * debian/tests/concurrency: Use correct port. - - -- Christoph Berg Mon, 11 Sep 2023 16:29:53 +0200 - -pg-squeeze (1.5.2-1) unstable; urgency=medium - - [ Ivan Kovmir ] - * Initial release. - - -- Christoph Berg Wed, 16 Aug 2023 12:32:36 +0000 diff --git a/debian/control b/debian/control deleted file mode 100644 index 14c355b..0000000 --- a/debian/control +++ /dev/null @@ -1,25 +0,0 @@ -Source: pg-squeeze -Section: database -Priority: optional -Maintainer: Debian PostgreSQL Maintainers -Uploaders: - Christoph Berg , -Build-Depends: - debhelper-compat (= 13), - postgresql-all (>= 217~), -Standards-Version: 4.6.2 -Rules-Requires-Root: no -Homepage: https://www.cybertec-postgresql.com/products/pg_squeeze/ -Vcs-Browser: https://github.com/cybertec-postgresql/pg_squeeze -Vcs-Git: https://github.com/cybertec-postgresql/pg_squeeze.git - -Package: postgresql-16-squeeze -Architecture: any -Depends: - ${misc:Depends}, - ${postgresql:Depends}, - ${shlibs:Depends}, -Description: PostgreSQL extension for automatic bloat cleanup - The pg_squeeze PostgreSQL extension removes unused space from a table and - optionally sorts tuples according to particular index, as if the CLUSTER - command was executed concurrently with regular reads/writes. diff --git a/debian/control.in b/debian/control.in deleted file mode 100644 index 2452cdc..0000000 --- a/debian/control.in +++ /dev/null @@ -1,25 +0,0 @@ -Source: pg-squeeze -Section: database -Priority: optional -Maintainer: Debian PostgreSQL Maintainers -Uploaders: - Christoph Berg , -Build-Depends: - debhelper-compat (= 13), - postgresql-all (>= 217~), -Standards-Version: 4.6.2 -Rules-Requires-Root: no -Homepage: https://www.cybertec-postgresql.com/products/pg_squeeze/ -Vcs-Browser: https://github.com/cybertec-postgresql/pg_squeeze -Vcs-Git: https://github.com/cybertec-postgresql/pg_squeeze.git - -Package: postgresql-PGVERSION-squeeze -Architecture: any -Depends: - ${misc:Depends}, - ${postgresql:Depends}, - ${shlibs:Depends}, -Description: PostgreSQL extension for automatic bloat cleanup - The pg_squeeze PostgreSQL extension removes unused space from a table and - optionally sorts tuples according to particular index, as if the CLUSTER - command was executed concurrently with regular reads/writes. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 499361a..0000000 --- a/debian/copyright +++ /dev/null @@ -1,25 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: pg_squeeze -Source: https://github.com/cybertec-postgresql/pg_squeeze - -Files: * -Copyright: Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group - Portions Copyright (c) 1994, The Regents of the University of California - Copyright (c) 2016-2023, CYBERTEC PostgreSQL International GmbH -License: PostgreSQL - Permission to use, copy, modify, and distribute this software and its - documentation for any purpose, without fee, and without a written agreement - is hereby granted, provided that the above copyright notice and this paragraph - and the following two paragraphs appear in all copies. - . - IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING - LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, - EVEN IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - . - THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, - AND CYBERTEC International GmbH HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, - SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml deleted file mode 100644 index 67e4816..0000000 --- a/debian/gitlab-ci.yml +++ /dev/null @@ -1 +0,0 @@ -include: https://salsa.debian.org/postgresql/postgresql-common/raw/master/gitlab/gitlab-ci.yml diff --git a/debian/pgversions b/debian/pgversions deleted file mode 100644 index 1e2acf6..0000000 --- a/debian/pgversions +++ /dev/null @@ -1 +0,0 @@ -11+ diff --git a/debian/rules b/debian/rules deleted file mode 100755 index ffb6d05..0000000 --- a/debian/rules +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/make -f - -%: - dh $@ --with pgxs - -override_dh_installdocs: - dh_installdocs --all README.* - -override_dh_pgxs_test: - pg_buildext \ - -o 'shared_preload_libraries=pg_squeeze' \ - -o 'wal_level=logical' \ - installcheck . . postgresql-%v-squeeze diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/tests/concurrency b/debian/tests/concurrency deleted file mode 100755 index c0ad5f4..0000000 --- a/debian/tests/concurrency +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -case $USER in - root) USER=postgres ;; -esac - -pg_buildext \ - -o 'shared_preload_libraries=pg_squeeze' \ - -o 'wal_level=logical' \ - virtualenv << EOF - set -eux - psql -c 'create extension pg_squeeze' - test/concurrency --user $USER --host \$PGHOST --port \$PGPORT -EOF diff --git a/debian/tests/control b/debian/tests/control deleted file mode 100644 index 4f5ccca..0000000 --- a/debian/tests/control +++ /dev/null @@ -1,12 +0,0 @@ -Depends: - make, - @, -Tests: installcheck -Restrictions: allow-stderr - -Depends: - python3-psycopg, - @, -Tests: concurrency -Restrictions: allow-stderr, skip-not-installable -# python3-psycopg not available before bookworm/lunar diff --git a/debian/tests/installcheck b/debian/tests/installcheck deleted file mode 100755 index 3095e52..0000000 --- a/debian/tests/installcheck +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -pg_buildext \ - -o 'shared_preload_libraries=pg_squeeze' \ - -o 'wal_level=logical' \ - installcheck diff --git a/debian/watch b/debian/watch deleted file mode 100644 index 7c58680..0000000 --- a/debian/watch +++ /dev/null @@ -1,3 +0,0 @@ -version=4 -opts=uversionmangle=s/_/./g \ -https://github.com/cybertec-postgresql/pg_squeeze/tags .*/(?:REL)?(.*).tar.gz