Bug#632556: checks/deb-format: allow data.tar.xz

2011-07-04 Thread Raphael Hertzog
On Sun, 03 Jul 2011, Ansgar Burchardt wrote:
 Hi,
 
 please allow data.tar.xz in addition to data.tar.(gz|bz2).  Support in
 dak will be coming soon.

FWIW this bug is blocking the deployment of XZ-compressed .deb since dak
will reject those deb until a fixed lintian is uploaded to
backports.debian.org.

It would be nice if you could thus prepare such a fixed lintian maybe
sooner than usual.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
  ▶ http://RaphaelHertzog.fr (Français)



--
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110704140809.ga4...@rivendell.home.ouaza.com



Bug#632556: checks/deb-format: allow data.tar.xz

2011-07-03 Thread Ansgar Burchardt
Package: lintian
Version: 2.5.1
Severity: normal
Tags: patch

Hi,

please allow data.tar.xz in addition to data.tar.(gz|bz2).  Support in
dak will be coming soon.

Regards,
Ansgar
From 9f604419329ff8f73eccc8f334b6277abe638b0e Mon Sep 17 00:00:00 2001
From: Ansgar Burchardt ans...@debian.org
Date: Sun, 3 Jul 2011 16:25:13 +0200
Subject: [PATCH] checks/deb-format: allow data.tar.xz.

Signed-off-by: Ansgar Burchardt ans...@debian.org
---
 checks/deb-format |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/checks/deb-format b/checks/deb-format
index ec688d2..cae19b2 100644
--- a/checks/deb-format
+++ b/checks/deb-format
@@ -71,9 +71,9 @@ if ($success) {
 } else {
 tag 'lzma-deb-archive';
 }
-} elsif ($members[2] !~ /^data\.tar\.(?:gz|bz2)\z/) {
+} elsif ($members[2] !~ /^data\.tar\.(?:gz|bz2|xz)\z/) {
 tag 'malformed-deb-archive',
-third member $members[2] not data.tar.(gz|bz2);
+third member $members[2] not data.tar.(gz|bz2|xz);
 } else {
 $okay = 1;
 }
-- 
1.7.5.4