Skip to content

Make ziputil v2 the default (and only) ZIP extractor - #32

Open
godrei wants to merge 2 commits into
mainfrom
make-ziputil-v2-default-zip-extractor
Open

Make ziputil v2 the default (and only) ZIP extractor#32
godrei wants to merge 2 commits into
mainfrom
make-ziputil-v2-default-zip-extractor

Conversation

@godrei

@godrei godrei commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the ziputil v2 integration (#31), which added pure-Go ZIP extraction behind the BITRISE_STEP_PULL_ARTIFACT_USE_ZIP_V2 feature flag. This PR flips it to always-on and removes the legacy path:

  • Drop the BITRISE_STEP_PULL_ARTIFACT_USE_ZIP_V2 env flag and the UseZipV2 field/constructor param.
  • Remove the legacy unzip -o CLI branch. ZIP archives are now always extracted in-process via ziputil.UnZip.
  • Consolidate the two zip tests into one that feeds a real zip archive and asserts nothing shells out.
  • Remove the now-dead env var from the e2e config.

Out of scope

The tar extraction path (legacy deploy-to-bitrise-io 2.1.2/2.1.3 support) is left on the tar CLI and is unchanged. ziputil is ZIP-only by design, so removing that shell-out would need a separate approach and is deferred.

Testing

  • go build ./..., go vet ./..., and unit tests pass.
  • e2e bitrise.yml validates.

godrei and others added 2 commits July 24, 2026 15:02
Remove the BITRISE_STEP_PULL_ARTIFACT_USE_ZIP_V2 feature flag and the legacy
`unzip` CLI extraction path. ZIP archives are now always extracted in-process
via ziputil.UnZip.

The `tar` extraction path (legacy deploy-to-bitrise-io 2.1.2/2.1.3 support) is
left on the CLI and is unchanged.
Previous steps in this CI workflow created uncommitted file changes
(e.g. a code formatter, linter, or code generator). This commit
captures those changes.

https://github.com/bitrise-steplib/bitrise-step-autofix-ci

Modified files:
- README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant