public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 00/15] unpacker.eclass: Tests, bugfixes and GPKG support
@ 2022-09-25 18:23 Michał Górny
  2022-09-25 18:23 ` [gentoo-dev] [PATCH 01/15] eclass/tests: Add tests for unpacker.eclass Michał Górny
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Michał Górny @ 2022-09-25 18:23 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Hi,

Here's a patch series for unpacker.eclass that does the following:

- add tests for unpacking various file formats
- fix handling broken/invalid `.zst` and `.7z` files
- use lowercase suffixes everywhere consistently
- add support for `.lz4` and `.lzo`
- add support for on-the-fly unpacking of the image archive from `.gpkg.tar`
- use parallel xz decompression (by @thesamesam)
- support lbzip2 if available
- fix handling `.deb` that use GNU ar format
- unpack `.deb` on-the-fly (i.e. without temporary files)

Also available as PR: https://github.com/gentoo/gentoo/pull/27431

Please review.


Michał Górny (14):
  eclass/tests: Add tests for unpacker.eclass
  unpacker.eclass: Remove `-f` from zstd arguments
  unpacker.eclass: Fix unpack_7z to respect the exit status
  unpacker.eclass: Remove support for EAPI 5
  unpacker.eclass: Use bash substitution instead of tr for lowercase
  unpacker.eclass: Use lowercase in unpacker_src_uri_depends
  unpacker.eclass: Remove uppercase RAR/LHA variants
  unpacker.eclass: Move decompressor recognition into a function
  unpacker.eclass: Add support for .lz4 and .lzo compression
  unpacker.eclass: Add on-the-fly .gpkg.tar unpacking support
  sys-kernel/gentoo-kernel-bin: Use unpacker.eclass for .gpkg.tar
  unpacker.eclass: Support lbzip2 as parallel bz2 decompressor
  unpacker.eclass: Fix handling GNU ar archives in hand-weaved impl
  unpacker.eclass: Unpack .deb packages on-the-fly as well

Sam James (1):
  unpacker.eclass: decompress xz in parallel

 eclass/tests/tests-common.sh                  |   7 +
 eclass/tests/unpacker.sh                      | 291 ++++++++++++++++++
 eclass/unpacker.eclass                        | 179 +++++++----
 .../gentoo-kernel-bin-5.19.11.ebuild          |  17 +-
 4 files changed, 428 insertions(+), 66 deletions(-)
 create mode 100755 eclass/tests/unpacker.sh

-- 
2.37.3



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-09-25 21:06 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-25 18:23 [gentoo-dev] [PATCH 00/15] unpacker.eclass: Tests, bugfixes and GPKG support Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 01/15] eclass/tests: Add tests for unpacker.eclass Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 02/15] unpacker.eclass: Remove `-f` from zstd arguments Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 03/15] unpacker.eclass: Fix unpack_7z to respect the exit status Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 04/15] unpacker.eclass: Remove support for EAPI 5 Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 05/15] unpacker.eclass: Use bash substitution instead of tr for lowercase Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 06/15] unpacker.eclass: Use lowercase in unpacker_src_uri_depends Michał Górny
2022-09-25 21:04   ` John Helmert III
2022-09-25 21:06     ` John Helmert III
2022-09-25 18:23 ` [gentoo-dev] [PATCH 07/15] unpacker.eclass: Remove uppercase RAR/LHA variants Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 08/15] unpacker.eclass: Move decompressor recognition into a function Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 09/15] unpacker.eclass: Add support for .lz4 and .lzo compression Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 10/15] unpacker.eclass: Add on-the-fly .gpkg.tar unpacking support Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 11/15] sys-kernel/gentoo-kernel-bin: Use unpacker.eclass for .gpkg.tar Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 12/15] unpacker.eclass: decompress xz in parallel Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 13/15] unpacker.eclass: Support lbzip2 as parallel bz2 decompressor Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 14/15] unpacker.eclass: Fix handling GNU ar archives in hand-weaved impl Michał Górny
2022-09-25 18:23 ` [gentoo-dev] [PATCH 15/15] unpacker.eclass: Unpack .deb packages on-the-fly as well Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox