Bug#754203: mk-origtargz (Was: Problem with *.zip archives)

Joachim Breitner nomeata at debian.org
Tue Sep 16 14:16:05 UTC 2014


Hi,


Am Dienstag, den 16.09.2014, 15:42 +0200 schrieb Andreas Tille:
> However, while suspecting this is not an uscan / mk-origtargz issue
> I noticed when I do
> 
>    git import-orig --pristine-tar varscan_2.3.7.orig.tar.xz
> 
> git strips the first dir level (as usual) from this tarball which in
> this case is wrong.  I see two options to solve this:
> 
>   1. enable mk-origtargz to add a "zero-level dir" like
> 
>         varscan-2.3.7+dfsg/net/sf/...
> 
>   2. try to teach git import-orig to not skip the top level dir
>      (no idea whether this is just implemented)
> 
> I guess this issue will happen in several JAR archives.  What do you
> think?

my opinion (which is not authorative) is this: "dpkg-source" can handle
such tarballs quite nice, therefore such tarballs are ok. And since they
are, "import-orig" should be able to handle this.

Or put differently: mk-origtargz prepares a tarball for consumption by
dpkg and needs not worry about the „quirks“ (if I may say so) of random
other tools people tend to use.


Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20140916/99ff6d23/attachment-0001.sig>


More information about the devscripts-devel mailing list