Your message dated Sat, 30 May 2015 06:19:26 +0000
with message-id <[email protected]>
and subject line Bug#786878: fixed in debmake 4.2.1-1
has caused the Debian Bug report #786878,
regarding [debmake :: tar.py] exclude arguments maybe not complete
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 [email protected]
immediately.)


-- 
786878: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786878
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debmake
Version: 4.2.0-1

Hi,

When I'm making upstream tarball with debmake -t,
(In an already packaged source tree)
I noticed that debmake excluded debian/ directory,
but not .pc directory. See the bottom script.

I tried a quick hack on file tar.py but failed.

  * the gnu tar doesn't work with multiple --exclude arg
    i.e. tar --exclude=dirA --exclude=dirB
  * the gnu tar doesn't work with another style of multiple exclude
    i.e. tar --exclude=dirA,dirB
  * in order to exclude multiple files/dirs, tar -X may help
    but we can't hardcode, here for example, strings like "cv-0.6"
    into a list file tar-exclude.list for tar -X

Then I gave up to try. However I think this problem can be solved
in one way of followwing

  * rsync source tree to dest, then rm [-r] files/dirs we don't
    want for a upstream source.
  * rsync with multiple --exclude options.
  * [...]

Another problem is, should we dquilt pop -a before making an
upstream tarball? I did not find "quilt" in tar.py.

I submit this bug because, IMHO it would be better if debmake -t
can make upstream tarballs in an already packaged source tree,
avoiding user to pop patches, exclude dirs/cvs, and then tar zcvf
by hand. namely it would be more convenient.

If this is a bad idea, IMO debmake should at least warn
user (human) the existence of .pc dir, saying
"this is not the original source tree".

-------------------------------------------------------------------
┌─[0]-[lumin@jessie]-[10:25:16]-[~/hdd/debian/cv]
└──╼$ debmake -t
I: set parameters
I: sanity check of parameters
I: pkg="cv", ver="0.6", rev="1"
I: make the upstream tarball with "tar --exclude=debian"
I: pwd = "/home/lumin/hdd/debian/cv"
I: pwd = "/home/lumin/hdd/debian"
I: $ rsync -aCv --link-dest=/home/lumin/hdd/debian/cv cv/. cv-0.6
sending incremental file list
created directory cv-0.6

sent 1,099 bytes  received 47 bytes  2,292.00 bytes/sec
total size is 101,604  speedup is 88.66
I: $ tar --exclude='cv-0.6/debian' --anchored --exclude-caches
--exclude-vcs -cvzf cv-0.6.tar.gz cv-0.6
cv-0.6/
cv-0.6/capture.png
cv-0.6/hlist.h
cv-0.6/cv.h
cv-0.6/Makefile
cv-0.6/cv.1
cv-0.6/sizes.c
cv-0.6/README.md
cv-0.6/sizes.h
cv-0.6/.pc/
cv-0.6/.pc/fix-manpage-lintian.patch/
cv-0.6/.pc/fix-manpage-lintian.patch/.timestamp
cv-0.6/.pc/fix-manpage-lintian.patch/cv.1
cv-0.6/.pc/modify-makefile.patch/
cv-0.6/.pc/modify-makefile.patch/.timestamp
cv-0.6/.pc/modify-makefile.patch/Makefile
cv-0.6/.pc/.quilt_series
cv-0.6/.pc/.version
cv-0.6/.pc/applied-patches
cv-0.6/.pc/.quilt_patches
cv-0.6/cv.c
cv-0.6/hlist.c
cv-0.6/LICENSE
I: cv-0.6.tar.gz tarball made
I: pwd = "/home/lumin/hdd/debian/cv-0.6"
I: *** start packaging in "cv-0.6". ***
I: provide cv_0.6.orig.tar.gz for non-native Debian package
I: pwd = "/home/lumin/hdd/debian"
I: $ ln -sf cv-0.6.tar.gz cv_0.6.orig.tar.gz
I: pwd = "/home/lumin/hdd/debian/cv-0.6"
I: parse binary package settings: 
I: binary package=cv Type=bin / Arch=any M-A=foreign
I: analyze the source tree
I: build_type = make
I: scan source for copyright+license text and file extensions
I:  46 %, ext = c
I:  15 %, ext = patch
I:   8 %, ext = media
I:   8 %, ext = 1
I:   8 %, ext = md
I:   8 %, ext = gitignore
I:   8 %, ext = manpages

--- End Message ---
--- Begin Message ---
Source: debmake
Source-Version: 4.2.1-1

We believe that the bug you reported is fixed in the latest version of
debmake, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Osamu Aoki <[email protected]> (supplier of updated debmake 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 27 May 2015 22:31:16 +0900
Source: debmake
Binary: debmake
Architecture: source all
Version: 4.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Osamu Aoki <[email protected]>
Changed-By: Osamu Aoki <[email protected]>
Description:
 debmake    - helper script to make the Debian source package
Closes: 783243 786878
Changes:
 debmake (4.2.1-1) unstable; urgency=medium
 .
   * Force to use UTF-8 even in C locale. Closes: #783243
   * Stop debmake -t if .pc directory exists. Closes: #786878
   * Manpage refer to the debmake-doc package.
Checksums-Sha1:
 1900f73eca6eee114a082224ce8aaf55808bd0cf 1855 debmake_4.2.1-1.dsc
 5bbe4464449df326f0ca429b0c329ac3a2665597 72238 debmake_4.2.1.orig.tar.gz
 e64be39d16065fc01571c73312725be762fd1a98 5768 debmake_4.2.1-1.debian.tar.xz
 9e961f07f723a4ba8db89989be8519500af7c134 69044 debmake_4.2.1-1_all.deb
Checksums-Sha256:
 b2a72ec33f6c309f70d4b75fff031bb3a0b9917dd1526f15a630c293aa92e4cd 1855 
debmake_4.2.1-1.dsc
 e2d2ac69e699274b1287711ab8f959981bc79818e115c5886d7f1354c18fbc87 72238 
debmake_4.2.1.orig.tar.gz
 56d41cf90b9d37f911dade8381d47ecbb2f35d21050f46bdb3822efeddcc612f 5768 
debmake_4.2.1-1.debian.tar.xz
 4d7b94e63582d7fceb57ac7ef1c4ea3fafe2912fb2767e7ad37cd9317f6c4a08 69044 
debmake_4.2.1-1_all.deb
Files:
 374ad744ab7665b614d7709ca27c1105 1855 devel extra debmake_4.2.1-1.dsc
 a90c56b1c455139f068212d3229f2a76 72238 devel extra debmake_4.2.1.orig.tar.gz
 692fa406db2bfdfd3f80d72e1cb3fbea 5768 devel extra debmake_4.2.1-1.debian.tar.xz
 d8bee884fbce7540eb6b81d43747f80e 69044 devel extra debmake_4.2.1-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVaVMaAAoJEB4TVogd2NeR7LsP/A2dPtReIaoneJzhKFqOuV51
7+ueI/NvnrmoXVVaizVpBUuxEPSVhQLpXg2ge64w7fGmFiz1Z4T3TDtumB1li2ud
Nv9lE3LXUnAiCEEMAmyqRteudu7YDjffL0fI1VaV/1ypZPn6LUx5bleJXAK6+Uc0
OMc5LyznH8vjL4VE5PAT5LYsSYnsRT2m5sw1ZFlQKPCXSZIl7Y8VWlAOmnsMBWgz
aQv9bnq5ppO9Z4Qp8ir7oCDJCrgEhdZbyDfwq+TjAjks7Qx3nRz9OGYZzSErnbrK
EHwAnOVUZMy3hVEYRJOaIV2ZA+kCd+xozGZS4Dep/UzPs/hdxLGYEMTWUhvTdonI
FwQtJl76zyx1rudB/f/mE6SgFXtJIkKlneeoD/GpvUIA46REJ+BADj7AT7qbbZzV
OByq0oz4xUC8f1aggL9kcwYYDTbrzCk1QByePNN1+hxa6KkiS+/6tmJS5BGXU+Qx
+3+IdLLs5JDIlRYskxknznq3sST5Ww6L4AuqykJaWctAnEez5pvmtUqCaHKOBomw
KtLwnZLA6rkle6Hta9vgUiFxgMBu/RdjgV0fYZYitouTSYhI+FeDowp2zPIp6/U5
LVY4hjJ5KKt9pHXHGJN3I+IMZMlNE63aVlYIDOSeK7WFYBNhchNJtAYvrdAb/MPC
XpEAca/OiWhvOIl+3IUY
=zi3O
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to