Bug#1068717: bookworm-pu: package rails/2:6.1.7.3+dfsg-2~deb12u1
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Georg Faerber <georg@debian.org>
Control: block -1 with 1068715
[ Reason ]
The obsolete (but unfortunately still in bookworm present) ruby-arel is
not compatible with ruby-activerecord in bookworm (which now integrates
ruby-arel functionality), causing schleuder to fail in its maintainer
scripts during upgrades.
Let's add Breaks+Replaces to ruby-activerecord to ensure ruby-arel gets
removed on upgrades from bookworm. This may make ruby-arel uninstallable
in stable, so let's follow up with a RM request for that.
[ Impact ]
Failures on some upgrade paths of schleuder if the obsolete ruby-arel is
still installed.
[ Tests ]
Local piuparts tests upgrading schleuder with old ruby-arel installed
showed proper removal of ruby-arel and no more errors.
[ Risks ]
Uninstallability of the obsolete ruby-arel which should not have been in
bookworm at all.
[ Checklist ]
[*] *all* changes are documented in the d/changelog
[*] I reviewed all changes and I approve them
[*] attach debdiff against the package in (old)stable
[*] the issue is verified as fixed in unstable
[ Changes ]
debian/changelog | 16 ++++++++++++++++
debian/control | 2 ++
debian/gbp.conf | 2 +-
3 files changed, 19 insertions(+), 1 deletion(-)
[ Other info ]
This is a rebuild of a package that has been in sid and testing for a
long time (but is now superseded by further uploads with changes not
appropriate for stable).
Andreas
diff --git a/debian/changelog b/debian/changelog
index e0710e15..c3d33ee2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,19 @@
+rails (2:6.1.7.3+dfsg-2~deb12u1) bookworm; urgency=medium
+
+ * Non-maintainer upload.
+ * Rebuild for bookworm.
+
+ -- Andreas Beckmann <anbe@debian.org> Tue, 09 Apr 2024 18:24:31 +0200
+
+rails (2:6.1.7.3+dfsg-2) unstable; urgency=medium
+
+ * debian/control:
+ - Declare that ruby-activerecord breaks and replaces ruby-arel: it was
+ merged five years ago, is therefore obsolete and to be removed.
+ (Closes: #1038935)
+
+ -- Georg Faerber <georg@debian.org> Sun, 25 Jun 2023 11:53:59 +0000
+
rails (2:6.1.7.3+dfsg-1) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index fc8d64d5..9e01f2b9 100644
--- a/debian/control
+++ b/debian/control
@@ -134,6 +134,7 @@ Depends: ruby:any (>= 1:2.5.0),
Breaks: ruby-activerecord-import (<< 1.0.5~),
ruby-activerecord-nulldb-adapter (<< 0.8.0~),
ruby-acts-as-taggable-on (<< 6.5~),
+ ruby-arel,
ruby-delayed-job-active-record (<< 4.1.6-3~),
ruby-enumerize (<< 2.4.0~),
ruby-has-secure-token (<< 1.0.0-3~),
@@ -146,6 +147,7 @@ Description: object-relational mapper framework (part of Rails)
a persistent domain model by mapping database tables to Ruby classes.
Strong conventions for associations, validations, aggregations,
migrations, and testing come baked-in.
+Replaces: ruby-arel,
XB-Ruby-Versions: ${ruby:Versions}
X-DhRuby-Root: activerecord/
diff --git a/debian/gbp.conf b/debian/gbp.conf
index 584b9683..1190046b 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -4,7 +4,7 @@ sign-tags = True
upstream-tag = upstream/%(version)s
upstream-branch = upstream
-debian-branch = master
+debian-branch = bookworm
[pq]
patch-numbers = False
Reply to: