Your message dated Tue, 04 Oct 2022 02:35:01 +0000
with message-id <e1ofxlt-0067ys...@fasolo.debian.org>
and subject line Bug#1020320: fixed in dpkg-repack 1.51
has caused the Debian Bug report #1020320,
regarding dpkg-repack: usability tweak: show command to build .deb when using 
--generate option
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1020320: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020320
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg-repack
Version: 1.50
Severity: wishlist
Tags: patch
Usertags: usability

People currently unfamiliar with the dpkg-deb interface might get
confounded when using the --generate option, since they need to run
dpkg-deb after modifying the generated directory, but they don't know
the dpkg-deb interface or forgot how to use it. They might look at the
dpkg-repack --help output, but that is missing the relevant command.
They might look at the manual page, but that requires a context switch.

The most useful place would be the --generate output, but they might
appreciate knowing about the command up-front from the --help output.

The attached patch implements both of these two suggestions.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
From 86b65c6119e617c6750d00a0d9c43d770fef8fb7 Mon Sep 17 00:00:00 2001
From: Paul Wise <p...@debian.org>
Date: Tue, 20 Sep 2022 07:12:28 +0800
Subject: [dpkg-repack] [PATCH] Show the command to rebuild the .deb in more
 places

Currently it is documented in the manual page, so add hints to
the help output and the output from the --generate option.

Users who are unfamiliar with dpkg-deb will appreciate the hints.
---
 dpkg-repack.pl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dpkg-repack.pl b/dpkg-repack.pl
index 5fd2877..f001779 100755
--- a/dpkg-repack.pl
+++ b/dpkg-repack.pl
@@ -51,6 +51,7 @@ Options:
       --root=<dir>      Take package from filesystem rooted on <dir>.
       --arch=<arch>     Force the package to be built for architecture <arch>.
       --generate        Generate build directory but do not build deb.
+                        Build with: dpkg-deb --build dpkg-repack.../ .
       --tag=<type>      Tag the package as being repackaged.
                           Types: none, description, version, all.
   -d, --deb-option=<option>
@@ -313,11 +314,13 @@ sub Archive_Package {
     Install_DEBIAN($pkgname, $build_dir, $inst, @conffiles);
 
     # Do we need to create the binary packages?
+    my @cmd = ('dpkg-deb', @deb_options, '--build', $build_dir, '.');
     if ($generate) {
         info("created $build_dir for $pkgname");
+        info("build with: @cmd");
     } else {
         # Let dpkg-deb do its magic.
-        SafeSystem('dpkg-deb', @deb_options, '--build', $build_dir, '.');
+        SafeSystem(@cmd);
     }
 }
 
-- 
2.37.2

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: dpkg-repack
Source-Version: 1.51
Done: Guillem Jover <guil...@debian.org>

We believe that the bug you reported is fixed in the latest version of
dpkg-repack, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1020...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (supplier of updated dpkg-repack package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 04 Oct 2022 03:54:04 +0200
Source: dpkg-repack
Architecture: source
Version: 1.51
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Closes: 1020320
Changes:
 dpkg-repack (1.51) unstable; urgency=medium
 .
   * Show the command to rebuild the .deb in more places.
     Thanks to Paul Wise <p...@debian.org>. Closes: #1020320
   * Documentation:
     - Refer to the main git repository as primary.
     - Switch URLs from http:// to https://.
     - Use a single clone and browsing URL for the source tree.
     - Use deb.debian.org instead of ftp.debian.org for source archive.
   * Build system:
     - Fix build-profile in gitlab-ci.yml file.
Checksums-Sha1:
 b5f51eccfbc878fd4d2a28a4f592ab6316445f85 1774 dpkg-repack_1.51.dsc
 083af4746a10c481f75900874c66ecd5e3cddebe 22468 dpkg-repack_1.51.tar.xz
 d9028b663d2fd119820da13be76bcf1bd8f35cfb 5827 dpkg-repack_1.51_amd64.buildinfo
Checksums-Sha256:
 a053d148f974a0dcee00cca25406055a3e5d40c76ba0b3a3e12fc650e2ec4c95 1774 
dpkg-repack_1.51.dsc
 070d9fa1cd0ff1a1e2cd2cf4ea49b45147330588e548c074d96d6de6714c1ffc 22468 
dpkg-repack_1.51.tar.xz
 d2bcf2bedc12f7d279214933ff943d06eca86fd184cff4775c435e368fd5af60 5827 
dpkg-repack_1.51_amd64.buildinfo
Files:
 aefc2756ddd778d20ce55aa123189729 1774 admin optional dpkg-repack_1.51.dsc
 afed3489d5ea8816d03b531565bbdbf9 22468 admin optional dpkg-repack_1.51.tar.xz
 13744433d641195a6d10d245d8512af6 5827 admin optional 
dpkg-repack_1.51_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAmM7k1IACgkQuXK/PqSu
V6OuQBAA3TEYsZDi7ZlvhIdq8umARLQzvD7d1vgmdM0LSEtPN7YWeoeLrUJdNRSE
hhPEwk3CVEiNVRR5cbzg/pVyQy21wbPU+53JSEmQBdz3fX0i3CA+gI80AsoP/zRN
jSUl5eijZJiZmrfWPIgYFZoU3sTErMGFw+dJfqRHZmkyvYymeNj6Aaz8kYOP7E6A
oCTWQQNgaPjjZa2WjJOhzT/H7CG2FaccCES6FrSod51pFdMx1O9zKkbdimrurFNL
zk4kPZkUSPJ/o76u9DKIzln2ch1VgOUn64QZ2nm7ZJ5sL1DrbMSLyJgnuoejDDU1
wwIFKtQf4COeEqAky6guUkembdWJbMgYCDRZS8dtdwL9uQ0djUH0KVoICbB98Wdi
fTkvb+7kJJfRc/KqVATTzuRxUkMMfT/w0fuUN0PAx6AJkKgNGUMPzbd9h3CsDQ+k
RXdUH/1WVDyGNEz/pAe/X+PfQWjKbDHorHvnrsOtEIWIIFYHBj9DuqkuvPNsVkn/
YxJP1a3mRUPCZPh/6khKlRaq2KdpC1iS5lj/5ya/wikpqRS5FemKxGwrr8IEGtu7
a973TSwhwSo7HRh+jZVRLgmVi+oVohRnMYYzv0/SlLacjlfrGvqCUKiPbUPR8GGt
+B/iJroKdIhP8nfXl9Cn2JqVLygVKcJH8d0eEmTOS/dlJpFNRwk=
=TvS9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to