Bug#748658: Please consider supporting generation of .xz index files.

2014-07-29 Thread Bernhard R. Link
* Daniel Baumann daniel.baum...@progress-technologies.net [140728 10:18]:
 what is the status of this?

reprepro 4.15.0-1 ships with an
/usr/share/doc/reprepro/examples/xz.example
script to generate Packages.gz using a DebIndices hook.

Native generation of the .xz files is there but not enabled in the
Debian packages to avoid depending in both liblzma and xz-utils as
the native unpackaging of .xz files still needs some more work.

Bernhard R. Link
-- 
F8AC 04D5 0B9B 064B 3383  C3DA AFFC 96D1 151D FFDC


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#748658: Please consider supporting generation of .xz index files.

2014-07-28 Thread Daniel Baumann

Hi,

what is the status of this?

Jessie uses Packages.xz by default. It would be really helpful if the 
version of reprepro in jessie would be able to produce the matching 
indices files.


Regards,
Daniel

--
Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:  daniel.baum...@progress-technologies.net
Internet:   http://people.progress-technologies.net/~daniel.baumann/


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#748658: Please consider supporting generation of .xz index files.

2014-06-23 Thread Benjamin Drung
Am Montag, den 19.05.2014, 19:02 +0200 schrieb Bernhard R. Link:
 * peter green plugw...@p10link.net [140519 12:57]:
  Please consider supporting generation of xz index files, xz is much faster
  to decompress than bz2.
 
 If you feel adventurous you can try the code at
 http://anonscm.debian.org/gitweb/?p=mirrorer/reprepro.git;a=shortlog;h=refs/heads/master

The code from the git repository works quite nicely, but I found one
smaller issue. exportdescription crashes due to xz missing in the
compression_names list. A fix is attached.

-- 
Benjamin Drung
System Developer

ProfitBricks GmbH - The IaaS-Company
Greifswalder Str. 207
D - 10405 Berlin

Mail: benjamin.dr...@profitbricks.com
Fax:  +49 30 577 008 598
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B.
Geschäftsführer: Andreas Gauger, Achim Weiss.
From 6b2388ce068b3d2088d34b96b640d72aeeae3b31 Mon Sep 17 00:00:00 2001
From: Benjamin Drung benjamin.dr...@profitbricks.com
Date: Mon, 23 Jun 2014 18:46:46 +0200
Subject: [PATCH] Fix crash in exportdescription() due to missing xz

---
 exports.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/exports.c b/exports.c
index 9dd6812..31e7327 100644
--- a/exports.c
+++ b/exports.c
@@ -47,6 +47,9 @@ static const char *exportdescription(const struct exportmode *mode, char *buffer
 #ifdef HAVE_LIBBZ2
 		,bzip2ed
 #endif
+#ifdef HAVE_LIBLZMA
+		,xz
+#endif
 	};
 	bool needcomma = false,
 	 needellipsis = false;
-- 
1.9.1



Bug#748658: Please consider supporting generation of .xz index files.

2014-05-19 Thread peter green

Package: reprepro
Severity: normal

Please consider supporting generation of xz index files, xz is much 
faster to decompress than bz2.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#748658: Please consider supporting generation of .xz index files.

2014-05-19 Thread Bernhard R. Link
* peter green plugw...@p10link.net [140519 12:57]:
 Please consider supporting generation of xz index files, xz is much faster
 to decompress than bz2.

If you feel adventurous you can try the code at
http://anonscm.debian.org/gitweb/?p=mirrorer/reprepro.git;a=shortlog;h=refs/heads/master

Otherwise take a look at the standalone bzip example
(/usr/share/doc/reprepro/examples/bzip.examples in the packages).
Replacing all bzip2 with xz and .bz2 with .xz in there should make it
possible to generate Packages.xz and/or Sources.gz


Bernhard R. Link
-- 
F8AC 04D5 0B9B 064B 3383  C3DA AFFC 96D1 151D FFDC


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org