History log of /haiku/src/bin/package/command_recompress.cpp
Revision Date Author Comments
# fd276f19 26-Oct-2021 Augustin Cavalier <waddlesplash@gmail.com>

package command: -z now takes an argument to specify the compression method.

The upcoming change to use zstd by default will make the -z no-argument
variant obsolete, so instead we need to support passing "zstd" or "zlib"
to actually indicate the compression method we want to use.


# fd7438ac 26-Oct-2021 Augustin Cavalier <waddlesplash@gmail.com>

package command: Remove duplicate code in recompress.


# 81375d4f 11-Jul-2018 Jérôme Duval <jerome.duval@gmail.com>

Package Kit: add Zstd compression.

Change-Id: Idbdb7cf1bde659046a88ea69a76e3b5fc4cd7013
Reviewed-on: https://review.haiku-os.org/323
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 03b36acb 13-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

package recompress: Small cleanup


# e1e6c124 13-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

BPackageWriter::Recompress(): Change param to BPositionIO*

Besides that this is a nicer interface, it allows us to get a the HPKG
header as a side effect of initializing the reader, thus preventing
seeking backward in the file. This makes "package recompress - <file>"
work.


# 3cc6297e 12-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

package recompress: Add stdin/stdout support

stdin doesn't work quite yet. We'll need to convince the BPackageReader
to skip parsing the TOC and package attributes sections.


# f9ecc54e 12-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

package: Explicitly use B_HPKG_COMPRESSION_NONE


# a629567a 08-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

package: Add command recompress

The streaming feature for -0 is missing yet.


# 03b36acbe6c0b9c9dd5872a17c4654d6fe21fc5e 13-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

package recompress: Small cleanup


# e1e6c124809fae466b89b13ef1ecf87f8026d7fb 13-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

BPackageWriter::Recompress(): Change param to BPositionIO*

Besides that this is a nicer interface, it allows us to get a the HPKG
header as a side effect of initializing the reader, thus preventing
seeking backward in the file. This makes "package recompress - <file>"
work.


# 3cc6297e22bc7d945612e50906c78326119b2e62 12-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

package recompress: Add stdin/stdout support

stdin doesn't work quite yet. We'll need to convince the BPackageReader
to skip parsing the TOC and package attributes sections.


# f9ecc54e69fc65d83cd642faa5af5b21c0cb3ae7 12-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

package: Explicitly use B_HPKG_COMPRESSION_NONE


# a629567a9001547736cfe892cdf992be16868fed 08-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

package: Add command recompress

The streaming feature for -0 is missing yet.