Skip to content

using system tar on macOS to extract .pkg payloads#1889

Open
shodiBoy1 wants to merge 2 commits intodevonfw:mainfrom
shodiBoy1:feature/796-aws-pkg-mac-install
Open

using system tar on macOS to extract .pkg payloads#1889
shodiBoy1 wants to merge 2 commits intodevonfw:mainfrom
shodiBoy1:feature/796-aws-pkg-mac-install

Conversation

@shodiBoy1
Copy link
Copy Markdown
Contributor

@shodiBoy1 shodiBoy1 commented May 4, 2026

This PR fixes #796

Implemented changes:

  • macOS .pkg files contain a Payload thats a gzipped cpio archive, but the old code tried to read it as gzipped tar
    every .pkg install crashed (e.g. AWS CLI on Mac).
  • Switched the Payload extraction to macOS's system /usr/bin/tar (bsdtar), which handles gzip + cpio automatically.

Checklist for this PR

  • When running mvn clean test locally all tests pass and build is successful
  • PR title is of the form #«issue-id»: «brief summary» (e.g. #921: fixed setup.bat). If no issue ID exists, title only.
  • PR top-level comment summarizes what has been done and contains link to addressed issue(s)
  • PR and issue(s) have suitable labels
  • Issue is set to In Progress and assigned to you or there is no issue (might happen for very small PRs)
  • You followed all coding conventions
  • You have added the issue implemented by your PR in CHANGELOG.adoc unless issue is labeled
    with internal

@shodiBoy1 shodiBoy1 self-assigned this May 4, 2026
@coveralls
Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 25333993806

Coverage decreased (-0.002%) to 70.643%

Details

  • Coverage decreased (-0.002%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 91 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

91 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
com/devonfw/tools/ide/io/FileAccessImpl.java 91 67.36%

Coverage Stats

Coverage Status
Relevant Lines: 15368
Covered Lines: 11314
Line Coverage: 73.62%
Relevant Branches: 6862
Covered Branches: 4390
Branch Coverage: 63.98%
Branches in Coverage %: Yes
Coverage Strength: 3.11 hits per line

💛 - Coveralls

@shodiBoy1 shodiBoy1 marked this pull request as ready for review May 4, 2026 17:56
@shodiBoy1 shodiBoy1 moved this from 🆕 New to Team Review in IDEasy board May 4, 2026
@shodiBoy1 shodiBoy1 added macOS specific for Apple MacOS bugfix PR that fixes a bug issue aws Amazon Web-Services CLI labels May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws Amazon Web-Services CLI bugfix PR that fixes a bug issue macOS specific for Apple MacOS

Projects

Status: Team Review

Development

Successfully merging this pull request may close these issues.

cannot install aws on Mac

2 participants