Le Sat, Nov 27, 2010 at 10:32:49AM +0100, Raphael Hertzog a écrit : > > > @@ -198,6 +198,8 @@ class Binary(object): > > data = tarfile.open(os.path.join(self.tmpdir, > > "data.tar.gz"), "r:gz") > > elif self.chunks[2] == "data.tar.bz2": > > data = tarfile.open(os.path.join(self.tmpdir, > > "data.tar.bz2" ), "r:bz2") > > + elif self.chunks[2] == "data.tar.xz": > > + data = tarfile.open(os.path.join(self.tmpdir, > > "data.tar.xz" ), "r:xz") > > > That's the only place where it's needed. We could try to extract it on the > fly (xzcat or xz --decompress --stdout) and pass the uncompressed stream with: > tarfile.open(None, "r|", stream)
Hello everybody, given that ‘malformed-deb-archive’ is already listed as fatal in config/debian/lintian.tags, another solution would be to enhance Lintian to perform all the checks instead of dak itself. If there is an interst following that way, I volunteer to work on it. Cheers, -- Charles Plessy Tsurumi, Kanagawa, Japan -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

