Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package request-tracker4 This is a minimal fix for RC bug #773343. debdiff attached. unblock request-tracker4/4.2.8-2 -- System Information: Debian Release: 7.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
diff --git a/debian/.git-dpm b/debian/.git-dpm index 940ddc8..823d680 100644 --- a/debian/.git-dpm +++ b/debian/.git-dpm @@ -1,6 +1,6 @@ # see git-dpm(1) from git-dpm package -6a66d91a35305fa792d34896879244ef18f2df10 -6a66d91a35305fa792d34896879244ef18f2df10 +559785c4e88364b835823521a0e1648db985b05e +559785c4e88364b835823521a0e1648db985b05e 21890d09947710ac3f48ddd306fe5b6a50f5bbe9 21890d09947710ac3f48ddd306fe5b6a50f5bbe9 request-tracker4_4.2.8.orig.tar.gz diff --git a/debian/changelog b/debian/changelog index e65f2d5..4b7de26 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +request-tracker4 (4.2.8-2) unstable; urgency=medium + + [ Niko Tyni ] + * Fix upgrade problems caused by a bug in the wheezy + rt4-extension-assettracker installation procedure. (Closes: #773343) + * Break all versions of rt4-extension-assettracker: its upstream + says RT 4.2 isn't supported anymore and recommends RT-Extension-Assets + instead. (See #748737) + + -- Dominic Hargreaves <d...@earth.li> Thu, 01 Jan 2015 16:47:30 +0000 + request-tracker4 (4.2.8-1) unstable; urgency=medium * New upstream release diff --git a/debian/control b/debian/control index 50b359a..d248a15 100644 --- a/debian/control +++ b/debian/control @@ -201,6 +201,7 @@ Recommends: cron-daemon Suggests: rt4-doc-html Conflicts: request-tracker, request-tracker3.2 (<< 3.2.2-3), libdatetime-locale-perl (<< 1:0.44), libdatetime-perl (<< 2:0.4900) Replaces: request-tracker +Breaks: rt4-extension-assettracker Description: extensible trouble-ticket tracking system Request Tracker (RT) is a ticketing system which enables a group of people to intelligently and efficiently manage diff --git a/debian/patches/assettracker-sysgroups.diff b/debian/patches/assettracker-sysgroups.diff new file mode 100644 index 0000000..3bd0323 --- /dev/null +++ b/debian/patches/assettracker-sysgroups.diff @@ -0,0 +1,26 @@ +From 559785c4e88364b835823521a0e1648db985b05e Mon Sep 17 00:00:00 2001 +From: Niko Tyni <nt...@debian.org> +Date: Sat, 27 Dec 2014 23:19:03 +0200 +Subject: Fix upgrade problems caused by an RTx::AssetTracker installation bug + +The setup of the wheezy rt4-extension-assettracker package +(RTx::AssetTracker 2.0.0b2) accidentally inserted two pairs of system role +accounts, causing upgrade failures on SQLite backends due to uniqueness +constraint violations. + +Bug-Debian: https://bugs.debian.org/773343 +Patch-Name: assettracker-sysgroups.diff +--- + etc/upgrade/4.1.0/schema.SQLite | 3 +++ + 1 file changed, 3 insertions(+) + create mode 100644 etc/upgrade/4.1.0/schema.SQLite + +diff --git a/etc/upgrade/4.1.0/schema.SQLite b/etc/upgrade/4.1.0/schema.SQLite +new file mode 100644 +index 0000000..b38fded +--- /dev/null ++++ b/etc/upgrade/4.1.0/schema.SQLite +@@ -0,0 +1,3 @@ ++-- fix uniqueness constraint violations due to accidentally doubled system groups ++-- see https://bugs.debian.org/773343 ++UPDATE Groups set Instance=1 WHERE Domain='RTx::AssetTracker::System-Role' AND Description IS Null; diff --git a/debian/patches/series b/debian/patches/series index 047eb7c..ddd900e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,3 +9,4 @@ no_test_web_installer.diff fix_lintian_privacy_break_logo_error.diff debianize_UPGRADING-4.2.diff font_path.diff +assettracker-sysgroups.diff diff --git a/etc/upgrade/4.1.0/schema.SQLite b/etc/upgrade/4.1.0/schema.SQLite new file mode 100644 index 0000000..b38fded --- /dev/null +++ b/etc/upgrade/4.1.0/schema.SQLite @@ -0,0 +1,3 @@ +-- fix uniqueness constraint violations due to accidentally doubled system groups +-- see https://bugs.debian.org/773343 +UPDATE Groups set Instance=1 WHERE Domain='RTx::AssetTracker::System-Role' AND Description IS Null;