- Package:
- devscripts
- Source:
- devscripts
- Description:
- scripts to make the life of a Debian Package maintainer easier
- Submitter:
- Raphaël Hertzog
- Date:
- 2014-08-18 12:24:05 UTC
- Severity:
- wishlist
It would be nice to be able to diff only the debian packaging files and debian changes when comparing two source packages. Suppose you have a new upstream version but you only want to review the packaging changes and not the upstream changes... With 3.0 (quilt) source packages, this option coud avoid unpacking the full source package, it could unpack only the debian tarballs and diff them. With 1.0 source packages and this option, it can do interdiff even if the upstream version differs. I don't know what's the best name for this option, among possibilities there are --debian, --debian-dir, --debian-files, --packaging, etc. Cheers, Raphael H.
unmerge 575395
tags 575395 + patch
thanks
Hi
I have created a script (qdebdiff) that compares the debian/ folder of
two packages. I unmerged #575395 from #417932 and #575821, because this
script does not fix those bugs.
Thanks for considering,
~Niels
filename*1="tch"
From a4aa4756724639fa4e9b49c1e10747db11450019 Mon Sep 17 00:00:00 2001
From: Niels Thykier <niels@thykier.net>
Date: Tue, 30 Mar 2010 17:16:41 +0200
Subject: [PATCH] Added qdebdiff which compares the debian/ folder of two packages.
---
debian/changelog | 3 +
debian/control | 1 +
debian/copyright | 4 +-
scripts/Makefile | 2 +-
scripts/qdebdiff.pl | 328 +++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 335 insertions(+), 3 deletions(-)
create mode 100755 scripts/qdebdiff.pl
diff --git a/debian/changelog b/debian/changelog
index 8d3ffd5..8605036 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -47,6 +47,9 @@ devscripts (2.10.62) UNRELEASED; urgency=low
* debchange: Sanitise list of distributions. Remove {sarge,etch}-backports
and sarge-volatile, none of which accept uploads any more.
+ [ Niels Thykier ]
+ * Added qdebdiff, which only diffs the debian/ folder of two packages.
+
-- Patrick Schoenfeld <schoenfeld@debian.org> Mon, 11 Jan 2010 15:32:59 +0100
devscripts (2.10.61) unstable; urgency=low
diff --git a/debian/control b/debian/control
index aeaadd1..06c9241 100644
--- a/debian/control
+++ b/debian/control
@@ -105,6 +105,7 @@ Description: scripts to make the life of a Debian Package maintainer easier
- namecheck: Check project names are not already taken.
- nmudiff: mail a diff of the current package against the previous version
to the BTS to assist in tracking NMUs [patchutils, mutt]
+ - qdebdiff: diffs only the debian/ folder of two packages [patchutils]
- plotchangelog: view a nice plot of the data in a changelog file
[libtimedate-perl, gnuplot]
- pts-subscribe: subscribe to the PTS for a limited period of time
diff --git a/debian/copyright b/debian/copyright
index 822b50b..911235a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -25,8 +25,8 @@ the GPL, version 2 or later.
- deb-reversion is under the Artistic License version 2.0.
--------------000102080209080202070606--
I see that my mail client managed to ruin the patch (at least on the bts), so I have attached a gzipped version that it hopefully refrains from trashing. ~Niels
Hi I have assembled a new patch which replaces the old one. It contains a number of improvements to the original script, including accepting unpacked sources (this may also close #549529, provided that the submitter is okay with only getting the debian part diffed). ~Niels
Hi Here is a small bug-fix patch to be applied on top of my previous patch. ~Niels
Hi
I was recommended to rename qdebdiff to pdebdiff by jackyf. It was
originally named "qdebdiff" because it only diffed 3.0 (quilt) packages
but now it diffs 1.0, 3.0 and unpacked sources and thus pdebdiff
("packaging debdiff") is probably a better name.
~Niels
Hi It took a little more than a simple mv. This patch replaces the previous 0003 patch (it is still incremental patch). This also updates a few other parts of the documentation of pdebdiff beyond the rename. ~Niels
Hi I have recreated the patches to add pdebdiff against the head of devscripts's GIT repository. I have also made some changes to pdebdiff and the fixed a typo in d/copyright. Patch 0001 only adds pdebdiff and patch 0002 updates the packaging to include the newly added pdebdiff. I have created them separately since it makes it easier to review the packaging changes. I will gladly maintain the script even after it enters devscripts. Thank you in advance, ~Niels
Hi! I found this message in Google. There is a definitive solution? Regards, Eriberto