summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog116
-rw-r--r--debian/control10
-rw-r--r--debian/copyright6
-rw-r--r--debian/patches/debian/0001-python3-hook.patch22
-rwxr-xr-xdebian/rules16
-rw-r--r--debian/watch2
6 files changed, 149 insertions, 23 deletions
diff --git a/debian/changelog b/debian/changelog
index b156d0a..97273e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,119 @@
+gitlint (0.19.1-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Uploading without changes after bookworm release.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 11 Jun 2023 14:13:53 +0200
+
+gitlint (0.19.1-1) experimental; urgency=medium
+
+ * Uploading to experimental.
+ * Merging upstream version 0.19.1.
+ * Adding build-depends to pybuild-plugin-pyproject for PEP517 support.
+ * Adding hatch build-depends for new usptream version.
+ * Workarounding hatch-vcs as debian upstream tarball doesn't contain
+ upstreams git vcs files.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 11 Mar 2023 09:03:12 +0100
+
+gitlint (0.19.0~dev-1) experimental; urgency=medium
+
+ * Uploading to experimental.
+ * Merging upstream version 0.19.0~dev.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 30 Jan 2023 18:11:16 +0100
+
+gitlint (0.18.0-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.6.2.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 30 Jan 2023 17:12:56 +0100
+
+gitlint (0.18.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 0.18.0.
+ * Updating copyright for 2022.
+ * Updating to standards version 4.6.1.
+ * Adding further build-depends used for manpage generation to make build
+ reproducible, thanks to Vagrant Cascadian <vagrant@reproducible-
+ builds.org> (Closes: #1024404).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 19 Nov 2022 15:55:10 +0100
+
+gitlint (0.17.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 0.17.0.
+ * Refreshing python3-hook.patch.
+ * Disabling now non-working test target temporarily.
+ * Updating rules for gitlint and gitlint-core changes.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 04 Dec 2021 04:31:53 +0100
+
+gitlint (0.16.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 0.16.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 13 Oct 2021 07:35:03 +0200
+
+gitlint (0.15.1-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to standards version 4.6.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 09 Oct 2021 10:15:53 +0200
+
+gitlint (0.15.1-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating watch file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 15 Aug 2021 17:36:42 +0200
+
+gitlint (0.15.1-1) experimental; urgency=medium
+
+ * Uploading to experimental.
+ * Merging upstream version 0.15.1.
+ * Updating python debhelper sequence.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 19 Apr 2021 15:27:48 +0200
+
+gitlint (0.15.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 0.15.0.
+ * Updating years in copyright file for 2021.
+ * Updating to standards version 4.5.1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 25 Jan 2021 14:27:59 +0100
+
+gitlint (0.14.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 0.14.0.
+ * Refreshing python3-hook.patch.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 03 Nov 2020 07:07:57 +0100
+
+gitlint (0.13.1-6) sid; urgency=medium
+
+ * Uploading to sid.
+ * Adding Rules-Requires-Root field.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 30 Aug 2020 15:56:29 +0200
+
+gitlint (0.13.1-5) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating to debhelper version 13.
+ * Using python3 in commit-msg hook (Closes: #891538).
+ * Removing fix-test-with-python3.patch, not needed anymore.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 19 Apr 2020 13:31:34 +0200
+
gitlint (0.13.1-4) sid; urgency=medium
* Uploading to sid.
diff --git a/debian/control b/debian/control
index 1c3c22a..958fc48 100644
--- a/debian/control
+++ b/debian/control
@@ -4,17 +4,19 @@ Priority: optional
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
Build-Depends:
debhelper-compat (= 13),
- dh-python,
+ dh-sequence-python3,
git,
help2man,
- pylint,
+ pybuild-plugin-pyproject,
python3-all,
python3-arrow,
python3-click,
- python3-coverage,
+ python3-hatch-vcs,
+ python3-hatchling,
python3-setuptools,
python3-sh,
-Standards-Version: 4.5.0
+Rules-Requires-Root: no
+Standards-Version: 4.7.0
Homepage: https://jorisroovers.com/gitlint/
Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/gitlint
Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/gitlint
diff --git a/debian/copyright b/debian/copyright
index bef9d7e..358a320 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,12 +4,12 @@ Upstream-Contact: Joris Roovers <jroovers@cisco.com>
Source: https://github.com/jorisroovers/gitlint
Files: *
-Copyright: 2015-2020 Joris Roovers <jroovers@cisco.com>
+Copyright: 2015-2022 Joris Roovers <jroovers@cisco.com>
License: MIT
Files: debian/*
-Copyright: 2017-2018 Patrik Hagedorn <patrik.hagedorn@gmx.net>
- 2020 Daniel Baumann <daniel.baumann@progress-linux.org>
+Copyright: 2020-2024 Daniel Baumann <daniel.baumann@progress-linux.org>
+ 2017-2018 Patrik Hagedorn <patrik.hagedorn@gmx.net>
License: MIT
License: MIT
diff --git a/debian/patches/debian/0001-python3-hook.patch b/debian/patches/debian/0001-python3-hook.patch
index 74cdcea..bbd6b08 100644
--- a/debian/patches/debian/0001-python3-hook.patch
+++ b/debian/patches/debian/0001-python3-hook.patch
@@ -1,15 +1,15 @@
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
Description: Using python3 in commit-msg hook (Closes: #891538).
-diff -Naurp gitlint.orig/gitlint/files/commit-msg gitlint/gitlint/files/commit-msg
---- gitlint.orig/gitlint/files/commit-msg
-+++ gitlint/gitlint/files/commit-msg
-@@ -26,7 +26,7 @@ fi
-
- run_gitlint(){
- echo "gitlint: checking commit message..."
-- python -m gitlint.cli --staged --msg-filename "$1"
-+ python3 -m gitlint.cli --staged --msg-filename "$1"
- gitlint_exit_code=$?
- }
+diff -Naurp gitlint.orig/gitlint-core/gitlint/files/commit-msg gitlint/gitlint-core/gitlint/files/commit-msg
+--- gitlint.orig/gitlint-core/gitlint/files/commit-msg
++++ gitlint/gitlint-core/gitlint/files/commit-msg
+@@ -26,7 +26,7 @@ exit_code=$?
+ # This is the case for Atlassian SourceTree, where $PATH deviates from the user's shell $PATH.
+ if [ $exit_code -eq 127 ]; then
+ echo "Fallback to python module execution"
+- python -m gitlint.cli --staged --msg-filename "$1" run-hook
++ python3 -m gitlint.cli --staged --msg-filename "$1" run-hook
+ exit_code=$?
+ fi
diff --git a/debian/rules b/debian/rules
index 50d8599..3df7be3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,18 @@
#!/usr/bin/make -f
-export LC_ALL=C.UTF-8
-export PYBUILD_TEST_ARGS=python{version} -m coverage run --omit='/usr/*,$(CURDIR)/gitlint/tests/*,$(CURDIR)/gitlint/qa/*' -m unittest discover -v -s $(CURDIR)/gitlint/tests
+VERSION := $(shell dpkg-parsechangelog -SVersion)
%:
- dh ${@} --buildsystem=pybuild --with python3
+ dh ${@} --buildsystem=pybuild --sourcedir=$(CURDIR)/gitlint-core
+
+execute_after_dh_auto_clean:
+ rm -f gitlint-core/_version.py
+
+execute_before_dh_auto_build:
+ echo "__version__ = version = '$(VERSION)'" > gitlint-core/_version.py
override_dh_auto_test:
- PYBUILD_SYSTEM=custom dh_auto_test
+ # disabled
execute_after_dh_auto_install:
# manpage
@@ -22,3 +27,6 @@ execute_after_dh_auto_install:
execute_after_dh_fixperms:
find debian/gitlint/usr/lib -name commit-msg -exec chmod +x {} \;
+
+override_dh_missing:
+ # disabled
diff --git a/debian/watch b/debian/watch
index 5d6e75d..0ad4bc1 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/gitlint-$1\.tar\.gz/ \
-https://github.com/jorisroovers/gitlint/releases .*/v?(\d\S+)\.tar\.gz
+https://github.com/jorisroovers/gitlint/tags .*/v?(\d\S+)\.tar\.gz