-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
bugSomething isn't workingSomething isn't workingbug:regressionA bug that occured but was already fixed or functionality that was alerted unintentionallyA bug that occured but was already fixed or functionality that was alerted unintentionally
Description
What happened?
Our CI builds stopped working yesterday - we use the following to install and check the installation works
bash <(curl -sS https://raw.githubusercontent.com/timo-reymann/deterministic-zip/main/installer)
deterministic-zip -h
deterministic-zip -h is failing now.
OS
Ubuntu
Problem description
deterministic-h is returning a non-zero error code.
Additionally it's not showing the help.
Expected behaviour
in 4.0.1 we see
# deterministic-zip -h || echo "error $?"
deterministic-zip 4.0.1 (25-06-16_11:49:07) by Timo Reymann
deterministic-zip [-options] [zipfile list]
-h, --Help Show available commands
-Z, --compression-method string Set the default compression method.
Currently the main methods supported by zip are store and deflate.
Compression method can be set to:
store Setting the compression method to store forces to store entries with no compression.
This is generally faster than compressing entries, but results in no space savings.
deflate This is the default method for zip. If zip determines that storing is better than deflation, the entry will be stored instead.
(default "deflate")
-D, --directories Include directories in the zip file.
-x, --exclude strings Exclude specific file patterns
-i, --include strings Include only the specified file pattern
--log-append Append to existing logfile. Default is to overwrite.
--logfile-path string Open a logfile at the given path.
By default any existing file at that location is overwritten, but the --log-append option will result in an existing file being opened and the new log information appended to any existing information.
-q, --quiet Quiet mode; eliminate informational messages
-r, --recurse-paths Include all files verbose
-v, --verbose Verbose mode or print diagnostic version info.
--version Show version info
Actual behaviour
in 5.0.0 we see (the same result occurs in 5.1.1):
# deterministic-zip -h || echo "error $?"
deterministic-zip 5.0.0 (25-07-30_19:23:07) by Timo Reymann
deterministic-zip [-options] [zipfile list]
error 2
Steps to Reproduce
We're using ubuntu and debian-based docker images in CI - Reproduce this with exactly with
$docker run --rm -it ubuntu:24.04 /bin/bash
# apt update && env DEBIAN_FRONTEND=noninteractive apt install curl ca-certificates -y --no-install-recommends
# bash <(curl -sS https://raw.githubusercontent.com/timo-reymann/deterministic-zip/main/installer)
# deterministic-zip -h || echo "FAILED: result=$?"
Important Factoids
No response
References
No response
I read and aggree to the contribution guidelines
- I read and aggree to the contribution guidelines
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbug:regressionA bug that occured but was already fixed or functionality that was alerted unintentionallyA bug that occured but was already fixed or functionality that was alerted unintentionally