Skip to content

#2219: Add UnpackCommandlet for extracting already supported archieve Formats - #2334

Open
majesteSil wants to merge 2 commits into
devonfw:mainfrom
majesteSil:feature/issue-2219-add-unpack-commandlet
Open

#2219: Add UnpackCommandlet for extracting already supported archieve Formats #2334
majesteSil wants to merge 2 commits into
devonfw:mainfrom
majesteSil:feature/issue-2219-add-unpack-commandlet

Conversation

@majesteSil

@majesteSil majesteSil commented Aug 14, 2026

Copy link
Copy Markdown

This PR fixes #2219

Adds a new "unpack" commandlet that extracts archive files into a target directory. The commandlet supports ZIP, TAR, TAR.GZ, TAR.BZ2, 7Z, JAR (cross-platform) and notes platform-specific formats like MSI/DMG/PKG. The commandlet is registered in the commandlet manager and covered by unit tests.

Implemented changes:

  • Modified: CommandletManagerImpl (registers new commandlet)
  • Added: UnpackCommandlet (new commandlet implementation)
  • Added: UnpackCommandletTest (unit tests)

Testing instructions

Please add conscise, understandable instructions on how a reviewer can test/verify the functionality of your contribution here:


Checklist for this PR

Make sure everything is checked before merging this PR. For further info please also see
our DoD.

  • 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 and not feature/921 fixed setup.bat). If no issue ID exists, title only.
  • PR top-level comment summaries 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 labelled
    with internal
  • You have not changed any dependency in pom.xml files or otherwise if runtime dependencies changed, you have updated our LICENSE.asciidoc
  • You have formulated clear instructions on how to test your contribution under "Testing instructions"

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@majesteSil majesteSil added enhancement New feature or request commandlet ide sub-command unpack logic to unpack archives (tar, zip, tgz, zbz2, msi, dmg, etc.) labels Aug 14, 2026
@samuelkos17 samuelkos17 moved this from 🆕 New to Team Review in IDEasy board Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commandlet ide sub-command enhancement New feature or request unpack logic to unpack archives (tar, zip, tgz, zbz2, msi, dmg, etc.)

Projects

Status: Team Review

Development

Successfully merging this pull request may close these issues.

Add unpack commandlet

3 participants