zchunk.git
2 years agoPrepare to upload zchunk/1.3.1+ds1-1 to unstable
Peter Pentchev [Sat, 1 Jul 2023 16:50:22 +0000 (19:50 +0300)]
Prepare to upload zchunk/1.3.1+ds1-1 to unstable

2 years agoUpdate the Debian packaging for zchunk 1.3.1
Peter Pentchev [Sat, 1 Jul 2023 16:42:42 +0000 (19:42 +0300)]
Update the Debian packaging for zchunk 1.3.1

2 years agoMerge zchunk 1.3.1 into the Debian branch
Peter Pentchev [Sat, 1 Jul 2023 16:40:07 +0000 (19:40 +0300)]
Merge zchunk 1.3.1 into the Debian branch

2 years agoUpdate the Debian packaging for zchunk 1.3.0
Peter Pentchev [Sat, 1 Jul 2023 16:38:12 +0000 (19:38 +0300)]
Update the Debian packaging for zchunk 1.3.0

2 years agoMerge zchunk 1.3.0 into the Debian branch
Peter Pentchev [Sat, 1 Jul 2023 16:34:21 +0000 (19:34 +0300)]
Merge zchunk 1.3.0 into the Debian branch

2 years agoUpdate the Debian packaging for zchunk 1.2.4
Peter Pentchev [Sat, 1 Jul 2023 16:30:04 +0000 (19:30 +0300)]
Update the Debian packaging for zchunk 1.2.4

2 years agoMerge zchunk 1.2.4 into the Debian branch
Peter Pentchev [Sat, 1 Jul 2023 16:25:58 +0000 (19:25 +0300)]
Merge zchunk 1.2.4 into the Debian branch

2 years agoUse debhelper compat 14 for `meson install`
Peter Pentchev [Sat, 1 Jul 2023 16:20:42 +0000 (19:20 +0300)]
Use debhelper compat 14 for `meson install`

2 years agoBump to 1.3.1
Jonathan Dieter [Tue, 4 Apr 2023 20:16:55 +0000 (21:16 +0100)]
Bump to 1.3.1

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoEnsure memory is freed when zrealloc is called with size 0
Jonathan Dieter [Tue, 4 Apr 2023 20:14:49 +0000 (21:14 +0100)]
Ensure memory is freed when zrealloc is called with size 0

zrealloc is supposed to handle freeing the old pointer when called, but
when called with size 0, it was not always working as expected.  This
commit fixes the bug.  Thanks to Agostino Sarubbo of Gentoo for providing
a bug report with a reproducible test case.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoHandle read_data errors correctly
Jonathan Dieter [Tue, 4 Apr 2023 20:11:12 +0000 (21:11 +0100)]
Handle read_data errors correctly

The read_data function returns the number of bytes written, not a boolean,
so fix the error checking so we exit if fewer than expected bytes were
read.  Thanks to Agostino Sarubbo of Gentoo for providing a bug report with
a reproducible test case.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoFix read off-by-one bug in compressed int function
Jonathan Dieter [Tue, 4 Apr 2023 20:08:50 +0000 (21:08 +0100)]
Fix read off-by-one bug in compressed int function

A malformed compressed integer would cause unzck to read one byte past the
end of the allocated memory.  This commit fixes this bug.  Thanks to
Agostino Sarubbo of Gentoo for providing a bug report with a reproducible
test case.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoBump to 1.3.0
Jonathan Dieter [Sat, 25 Feb 2023 14:53:47 +0000 (14:53 +0000)]
Bump to 1.3.0

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoMerge pull request #92 from kraj/main
Jonathan Dieter [Sat, 25 Feb 2023 14:49:31 +0000 (14:49 +0000)]
Merge pull request #92 from kraj/main

Dont let clang optimize away a meson check

2 years agoMerge pull request #91 from zchunk/no_write
Jonathan Dieter [Sat, 25 Feb 2023 14:44:40 +0000 (14:44 +0000)]
Merge pull request #91 from zchunk/no_write

Add ZCK_NO_WRITE option to disable writing to a file

2 years agomeson: Use global function in argp check
Khem Raj [Wed, 22 Feb 2023 22:55:07 +0000 (14:55 -0800)]
meson: Use global function in argp check

clang is optimizing away parse_opt() since its marked static and not
used in main(), make life a bit harder for clang :)
removing static now emits the global symbols to be resolved during link
and when libargp is missing the error is thrown rightly

riscv64-yoe-linux-musl-ld: /tmp/a-5ba039.o: in function `.Lpcrel_hi0':
a.c:(.text+0x44): undefined reference to `argp_state_help'
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 years agoPrepare to upload zchunk/1.2.3+ds1-2 to unstable
Peter Pentchev [Wed, 22 Feb 2023 09:31:23 +0000 (11:31 +0200)]
Prepare to upload zchunk/1.2.3+ds1-2 to unstable

2 years agoAdd the upstream-zstd-1.5.4 patch to fix the FTBFS
Peter Pentchev [Wed, 22 Feb 2023 09:26:12 +0000 (11:26 +0200)]
Add the upstream-zstd-1.5.4 patch to fix the FTBFS

Closes: #1031485
2 years agoAdd ZCK_NO_WRITE option to disable writing to a file
Jonathan Dieter [Sat, 18 Feb 2023 20:54:28 +0000 (20:54 +0000)]
Add ZCK_NO_WRITE option to disable writing to a file

There are situations where we need to recreate the zchunk header for an
uncompressed file without actually writing out the zchunk file.  This
commit allows setting an `ioption`, `ZCK_NO_WRITE`, that will go through
the full process of creating the zchunk file without actually writing it
to disk, leaving you with a complete zchunk header in the end.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoBump version to 1.2.4
Jonathan Dieter [Sat, 18 Feb 2023 19:06:45 +0000 (19:06 +0000)]
Bump version to 1.2.4

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoUpdate tests to handle zstd 1.5.4
Jonathan Dieter [Sat, 18 Feb 2023 14:45:21 +0000 (14:45 +0000)]
Update tests to handle zstd 1.5.4

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoMerge pull request #87 from zchunk/update-readme
Jonathan Dieter [Mon, 6 Feb 2023 22:57:08 +0000 (22:57 +0000)]
Merge pull request #87 from zchunk/update-readme

Clarify what the primary benefit of zchunk is

2 years agoUpdate .pre-commit-config.yaml
Jonathan Dieter [Mon, 6 Feb 2023 22:53:01 +0000 (22:53 +0000)]
Update .pre-commit-config.yaml

This fixes some GitHub Action linting issues that we're seeing.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoClarify what the primary benefit of zchunk is
Jonathan Dieter [Mon, 6 Feb 2023 22:36:06 +0000 (22:36 +0000)]
Clarify what the primary benefit of zchunk is

zstd now offers rsync-friendly output, so mentioning that zchunk files are
efficient over rsync misses the primary benefit zchunk has, namely that
zchunk files can be downloaded efficiently from normal web servers that
support range requests (which is basically all of them, except for some
rather strange proxies).

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2 years agoPrepare to upload zchunk/1.2.3+ds1-1 to unstable
Peter Pentchev [Thu, 5 Jan 2023 21:49:42 +0000 (23:49 +0200)]
Prepare to upload zchunk/1.2.3+ds1-1 to unstable

2 years agoUpdate the Debian packaging for zchunk-1.2.3
Peter Pentchev [Thu, 5 Jan 2023 21:47:25 +0000 (23:47 +0200)]
Update the Debian packaging for zchunk-1.2.3

2 years agoMerge zchunk-1.2.3 into the Debian branch
Peter Pentchev [Thu, 5 Jan 2023 21:40:47 +0000 (23:40 +0200)]
Merge zchunk-1.2.3 into the Debian branch

2 years agoMerge zchunk-1.2.3 into the repacked Debian source
Peter Pentchev [Thu, 5 Jan 2023 21:37:59 +0000 (23:37 +0200)]
Merge zchunk-1.2.3 into the repacked Debian source

2 years agoUpdate the changelog file
Peter Pentchev [Thu, 5 Jan 2023 18:44:34 +0000 (20:44 +0200)]
Update the changelog file

2 years agoAdd the year 2023 to my debian/* copyright notice
Peter Pentchev [Thu, 5 Jan 2023 18:41:49 +0000 (20:41 +0200)]
Add the year 2023 to my debian/* copyright notice

2 years agoDeclare compliance with Policy 4.6.2, no changes
Peter Pentchev [Thu, 5 Jan 2023 18:41:07 +0000 (20:41 +0200)]
Declare compliance with Policy 4.6.2, no changes

3 years agoBump version to 1.2.3
Jonathan Dieter [Fri, 16 Sep 2022 20:35:16 +0000 (21:35 +0100)]
Bump version to 1.2.3

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoRemove meson deprecation warning
Jonathan Dieter [Fri, 16 Sep 2022 20:34:59 +0000 (21:34 +0100)]
Remove meson deprecation warning

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #85 from JohanMabille/windows_static_build
Jonathan Dieter [Fri, 16 Sep 2022 20:21:49 +0000 (21:21 +0100)]
Merge pull request #85 from JohanMabille/windows_static_build

Fixed meson for static build on windows

3 years agoAdded Windows static build to the CI
Johan Mabille [Fri, 16 Sep 2022 08:13:27 +0000 (10:13 +0200)]
Added Windows static build to the CI

3 years agoFix `alpine-edge` build failures
Jonathan Dieter [Thu, 15 Sep 2022 21:09:44 +0000 (22:09 +0100)]
Fix `alpine-edge` build failures

The Alpine Edge container's curl-dev package is built against openssl 3,
so we can't use the openssl1.1-compat package anymore.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoFixed meson for static build on windows
Johan Mabille [Thu, 15 Sep 2022 08:18:35 +0000 (10:18 +0200)]
Fixed meson for static build on windows

3 years agoPrepare to upload zchunk/1.2.2+ds1-1 to unstable.
Peter Pentchev [Fri, 12 Aug 2022 13:57:48 +0000 (16:57 +0300)]
Prepare to upload zchunk/1.2.2+ds1-1 to unstable.

3 years agoUpdate the Debian packaging for zchunk-1.2.2.
Peter Pentchev [Fri, 12 Aug 2022 13:47:59 +0000 (16:47 +0300)]
Update the Debian packaging for zchunk-1.2.2.

3 years agoMerge zchunk-1.2.2 into the Debian branch.
Peter Pentchev [Fri, 12 Aug 2022 13:45:13 +0000 (16:45 +0300)]
Merge zchunk-1.2.2 into the Debian branch.

3 years agoMerge zchunk-1.2.2 into the repacked Debian source.
Peter Pentchev [Fri, 12 Aug 2022 13:43:49 +0000 (16:43 +0300)]
Merge zchunk-1.2.2 into the repacked Debian source.

3 years agoUpdate the changelog file.
Peter Pentchev [Fri, 12 Aug 2022 10:16:17 +0000 (13:16 +0300)]
Update the changelog file.

3 years agoAdd an EditorConfig definitions file for debian/*.
Peter Pentchev [Fri, 12 Aug 2022 10:12:19 +0000 (13:12 +0300)]
Add an EditorConfig definitions file for debian/*.

3 years agodebian/tests: py37: deferred annotations.
Peter Pentchev [Fri, 12 Aug 2022 10:04:56 +0000 (13:04 +0300)]
debian/tests: py37: deferred annotations.

3 years agodebian/tests: py37: dataclasses in stdlib.
Peter Pentchev [Fri, 12 Aug 2022 09:59:22 +0000 (12:59 +0300)]
debian/tests: py37: dataclasses in stdlib.

3 years agodebian/tests: push pychunk into python/.
Peter Pentchev [Fri, 12 Aug 2022 09:56:31 +0000 (12:56 +0300)]
debian/tests: push pychunk into python/.

3 years agodebian/tests/pychunk: reformat, 100 chars per line.
Peter Pentchev [Fri, 12 Aug 2022 08:51:42 +0000 (11:51 +0300)]
debian/tests/pychunk: reformat, 100 chars per line.

3 years agodebian/tests: move options to pyproject.toml and setup.cfg.
Peter Pentchev [Fri, 12 Aug 2022 08:47:29 +0000 (11:47 +0300)]
debian/tests: move options to pyproject.toml and setup.cfg.

Move the configuration options for the various static source checkers that
we run through tox.ini to the standard Python project configuration files,
so that they are also available when the tools are run in other ways.

3 years agodebian/tests/tox.ini: mypy: types-dataclasses for Python 3.6.
Peter Pentchev [Fri, 12 Aug 2022 08:42:58 +0000 (11:42 +0300)]
debian/tests/tox.ini: mypy: types-dataclasses for Python 3.6.

3 years agodebian/tests/tox.ini: use black 22.
Peter Pentchev [Fri, 12 Aug 2022 08:41:00 +0000 (11:41 +0300)]
debian/tests/tox.ini: use black 22.

3 years agoAdd the cppcheck patch to fix some minor issues.
Peter Pentchev [Fri, 12 Aug 2022 08:29:20 +0000 (11:29 +0300)]
Add the cppcheck patch to fix some minor issues.

3 years agoDeclare compliance with Policy 4.6.1 with no changes.
Peter Pentchev [Fri, 12 Aug 2022 06:23:47 +0000 (09:23 +0300)]
Declare compliance with Policy 4.6.1 with no changes.

3 years agoFix missing newline
Jonathan Dieter [Sat, 11 Jun 2022 16:09:10 +0000 (17:09 +0100)]
Fix missing newline

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #84 from fossabot/add-license-scan-badge
Jonathan Dieter [Sat, 11 Jun 2022 16:01:35 +0000 (17:01 +0100)]
Merge pull request #84 from fossabot/add-license-scan-badge

Add license scan report and status

3 years agoAdd license scan report and status
fossabot [Fri, 10 Jun 2022 07:01:02 +0000 (00:01 -0700)]
Add license scan report and status

Signed off by: fossabot <badges@fossa.com>

3 years agoMerge pull request #80 from jameshilliard/fix-printf-format
Jonathan Dieter [Fri, 6 May 2022 22:09:54 +0000 (23:09 +0100)]
Merge pull request #80 from jameshilliard/fix-printf-format

test/zck_cmp_uncomp: fix printf format types

3 years agoMerge pull request #82 from jameshilliard/optional-docs
Jonathan Dieter [Thu, 5 May 2022 20:29:45 +0000 (21:29 +0100)]
Merge pull request #82 from jameshilliard/optional-docs

meson: add option to build without docs

3 years agotest/zck_cmp_uncomp: fix printf format types
James Hilliard [Wed, 4 May 2022 22:45:14 +0000 (16:45 -0600)]
test/zck_cmp_uncomp: fix printf format types

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
3 years agomeson: add option to build without docs
James Hilliard [Wed, 4 May 2022 22:53:40 +0000 (16:53 -0600)]
meson: add option to build without docs

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
3 years agoMerge pull request #79 from jameshilliard/write-data
Jonathan Dieter [Thu, 5 May 2022 19:02:23 +0000 (20:02 +0100)]
Merge pull request #79 from jameshilliard/write-data

zck: declare write_data as static

3 years agoMerge pull request #81 from jameshilliard/optional-tests
Jonathan Dieter [Thu, 5 May 2022 19:00:23 +0000 (20:00 +0100)]
Merge pull request #81 from jameshilliard/optional-tests

meson: make tests optional

3 years agoMerge pull request #83 from jameshilliard/update-argp-wrap
Jonathan Dieter [Thu, 5 May 2022 18:56:51 +0000 (19:56 +0100)]
Merge pull request #83 from jameshilliard/update-argp-wrap

argp-standalone.wrap: update to version 1.5.0

3 years agoargp-standalone.wrap: update to version 1.5.0
James Hilliard [Wed, 4 May 2022 23:01:15 +0000 (17:01 -0600)]
argp-standalone.wrap: update to version 1.5.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
3 years agomeson: make tests optional
James Hilliard [Wed, 4 May 2022 22:49:29 +0000 (16:49 -0600)]
meson: make tests optional

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
3 years agozck: declare write_data as static
James Hilliard [Wed, 4 May 2022 22:32:48 +0000 (16:32 -0600)]
zck: declare write_data as static

This needs to be declared static to avoid a symbol conflict:
io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here

Fixes:
 - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
3 years agoMerge pull request #78 from jameshilliard/argp-wrap
Jonathan Dieter [Mon, 2 May 2022 18:24:31 +0000 (19:24 +0100)]
Merge pull request #78 from jameshilliard/argp-wrap

meson: fix argp-standalone wrap and find_library

3 years agomeson: fix argp-standalone wrap and find_library
James Hilliard [Thu, 21 Apr 2022 20:24:01 +0000 (14:24 -0600)]
meson: fix argp-standalone wrap and find_library

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
3 years agoBump to 1.2.2
Jonathan Dieter [Mon, 18 Apr 2022 16:38:54 +0000 (17:38 +0100)]
Bump to 1.2.2

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge branch 'coverity'
Jonathan Dieter [Mon, 18 Apr 2022 16:37:33 +0000 (17:37 +0100)]
Merge branch 'coverity'

3 years agoVarious fixes to make Coverity happy
Jonathan Dieter [Mon, 18 Apr 2022 16:37:19 +0000 (17:37 +0100)]
Various fixes to make Coverity happy

The single high severity issue was only triggerable if we were unable to
allocate memory and involved a memory leak.  The other issues all revolve
around issues like making sure we check return values of functions we call.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #74 from ppentchev/pp-zck-eol
Jonathan Dieter [Sat, 16 Apr 2022 19:45:46 +0000 (20:45 +0100)]
Merge pull request #74 from ppentchev/pp-zck-eol

Turn off EOL handling for the *.zck test files.

3 years agoMerge pull request #73 from ppentchev/pp-zstd-1.4.10
Jonathan Dieter [Sat, 16 Apr 2022 19:44:47 +0000 (20:44 +0100)]
Merge pull request #73 from ppentchev/pp-zstd-1.4.10

Let the tests also pass with libzstd-1.4.10.

3 years agoPrepare to upload zchunk/1.2.1+ds1-1 to unstable.
Peter Pentchev [Fri, 15 Apr 2022 08:48:31 +0000 (11:48 +0300)]
Prepare to upload zchunk/1.2.1+ds1-1 to unstable.

3 years agoNote the update to 1.5.x closes a Debian bug.
Peter Pentchev [Fri, 15 Apr 2022 07:59:28 +0000 (10:59 +0300)]
Note the update to 1.5.x closes a Debian bug.

3 years agoForwarded test-checksums.patch, add the bug number.
Peter Pentchev [Fri, 15 Apr 2022 07:53:40 +0000 (10:53 +0300)]
Forwarded test-checksums.patch, add the bug number.

3 years agoTurn off EOL handling for the *.zck test files.
Peter Pentchev [Fri, 15 Apr 2022 07:48:37 +0000 (10:48 +0300)]
Turn off EOL handling for the *.zck test files.

3 years agoLet the tests also pass with libzstd-1.4.10.
Peter Pentchev [Fri, 15 Apr 2022 07:44:41 +0000 (10:44 +0300)]
Let the tests also pass with libzstd-1.4.10.

3 years agoUpdate the Debian packaging for zchunk-1.2.1.
Peter Pentchev [Fri, 15 Apr 2022 07:42:12 +0000 (10:42 +0300)]
Update the Debian packaging for zchunk-1.2.1.

3 years agoMerge zchunk-1.2.1 into the Debian branch.
Peter Pentchev [Fri, 15 Apr 2022 06:12:51 +0000 (09:12 +0300)]
Merge zchunk-1.2.1 into the Debian branch.

3 years agoMerge zchunk-1.2.1 into the repacked Debian source.
Peter Pentchev [Fri, 15 Apr 2022 06:10:59 +0000 (09:10 +0300)]
Merge zchunk-1.2.1 into the repacked Debian source.

3 years agoUpdate the Debian packaging for zchunk-1.2.0.
Peter Pentchev [Fri, 15 Apr 2022 06:08:30 +0000 (09:08 +0300)]
Update the Debian packaging for zchunk-1.2.0.

3 years agoMerge zchunk-1.2.0 into the Debian packaging branch.
Peter Pentchev [Thu, 14 Apr 2022 09:11:59 +0000 (12:11 +0300)]
Merge zchunk-1.2.0 into the Debian packaging branch.

3 years agoMerge zchunk-1.2.0 into the repacked Debian source.
Peter Pentchev [Thu, 14 Apr 2022 07:06:07 +0000 (10:06 +0300)]
Merge zchunk-1.2.0 into the repacked Debian source.

3 years agoUpdate the changelog file.
Peter Pentchev [Wed, 13 Apr 2022 08:38:01 +0000 (11:38 +0300)]
Update the changelog file.

3 years agoAdd the year 2022 to my debian/* copyright notice.
Peter Pentchev [Mon, 11 Apr 2022 14:33:19 +0000 (17:33 +0300)]
Add the year 2022 to my debian/* copyright notice.

3 years agoFix the build with libzstd 1.4.10 and 1.5.0.
Peter Pentchev [Mon, 11 Apr 2022 14:32:42 +0000 (17:32 +0300)]
Fix the build with libzstd 1.4.10 and 1.5.0.

3 years agoBump to 1.2.1
Jonathan Dieter [Sat, 12 Mar 2022 16:51:28 +0000 (16:51 +0000)]
Bump to 1.2.1

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge branch 'fix_size_limit'
Jonathan Dieter [Sat, 12 Mar 2022 16:49:48 +0000 (16:49 +0000)]
Merge branch 'fix_size_limit'

3 years agoFix memory leak
Jonathan Dieter [Sat, 12 Mar 2022 16:48:28 +0000 (16:48 +0000)]
Fix memory leak

In the index, we were leaking the uncompressed digest, so this commit fixes
that.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoFix size limit in zck.c
Jonathan Dieter [Sat, 12 Mar 2022 14:27:19 +0000 (14:27 +0000)]
Fix size limit in zck.c

Up to now zck.c reads the whole file into memory and then sends it to
zck_write to actually compress.  This is highly inefficient, but was done
to simplify dealing with a string separator.  This commit fixes this by
reading the file in chunks, and, if using a string separator, keeps track
of the matching bytes from chunk to chunk.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #70 from zchunk/1.2.0
Jonathan Dieter [Sun, 20 Feb 2022 17:07:24 +0000 (17:07 +0000)]
Merge pull request #70 from zchunk/1.2.0

Release zchunk 1.2.0 with the following changes:
 * Now builds for Windows
 * Can set `--uncompressed` flag when creating zchunk files to also store uncompressed digests
 * `zck_read_header` now indicates whether there's a dictionary and what flags are enabled in the zchunk file
 * Minimum meson version required to build zchunk is now 0.53
 * Switched to use GitHub actions for automated testing
 * Added the following automated test environments:
   * `centos-8-stream`
   * `centos-9-stream`
   * `ubuntu-lts`
   * `windows`, both using Mamba and meson-wrap
   * `macos`

3 years agoRelease 1.2.0
Jonathan Dieter [Sun, 20 Feb 2022 16:54:46 +0000 (16:54 +0000)]
Release 1.2.0

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoRemove unnecessary Jenkinsfiles
Jonathan Dieter [Sun, 20 Feb 2022 16:48:05 +0000 (16:48 +0000)]
Remove unnecessary Jenkinsfiles

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoAdd support for detached headers
Jonathan Dieter [Sat, 5 Feb 2022 17:02:13 +0000 (17:02 +0000)]
Add support for detached headers

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoAdd extra data to zck_read_header
Jonathan Dieter [Sat, 5 Feb 2022 16:09:31 +0000 (16:09 +0000)]
Add extra data to zck_read_header

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMake clear that compressed chunk checksum can be 0s
Jonathan Dieter [Sat, 5 Feb 2022 16:08:45 +0000 (16:08 +0000)]
Make clear that compressed chunk checksum can be 0s

Also, fix a small bug

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoDon't set full-file checksums when using uncompressed sources
Jonathan Dieter [Thu, 27 Jan 2022 21:05:18 +0000 (21:05 +0000)]
Don't set full-file checksums when using uncompressed sources

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoFix types when printing
Jonathan Dieter [Sat, 5 Feb 2022 16:26:08 +0000 (16:26 +0000)]
Fix types when printing

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #65 from wolfv/print_only_length_chars
Jonathan Dieter [Mon, 17 Jan 2022 21:41:44 +0000 (21:41 +0000)]
Merge pull request #65 from wolfv/print_only_length_chars

Print only length characters

3 years agoMerge pull request #68 from zchunk/fix-meson-0.53
Jonathan Dieter [Mon, 17 Jan 2022 20:39:23 +0000 (20:39 +0000)]
Merge pull request #68 from zchunk/fix-meson-0.53

Fix meson build problems in Ubuntu