fix: align pull with image create and improve reclaim size input#44
Merged
sjmiller609 merged 4 commits intomainfrom Mar 23, 2026
Merged
fix: align pull with image create and improve reclaim size input#44sjmiller609 merged 4 commits intomainfrom
sjmiller609 merged 4 commits intomainfrom
Conversation
sjmiller609
commented
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hypeman pulluse the same image-create request path and--taghandling ashypeman image createpullauto output, while keeping explicit--formatoutput supportedresources reclaim-memory --reclaim-byteswhile treating bare numbers as raw bytesTesting
Note
Medium Risk
Medium risk: changes CLI request/formatting behavior for
pull/image createand alters parsing ofresources reclaim-memory --reclaim-bytes, which could impact scripts relying on previous outputs or strict numeric inputs.Overview
Unifies image creation logic by factoring shared tag parsing/param building into
buildImageNewParamsand reusing it from bothimage createandpull, including consistent malformed-tag warnings.Updates
hypeman pullto behave as an alias ofimage create: it now supports--tagand, when--formatis set, returns structured output viaShowJSONwhile preserving the legacy human-readable output when--format auto.Improves
resources reclaim-memory --reclaim-bytesto accept human-readable sizes (e.g.,512MB,2 GB) viadatasize, with validation for empty/zero/overflow inputs, and adds focused unit tests for the new parsing and shared image param builder.Written by Cursor Bugbot for commit cc4c37b. This will update automatically on new commits. Configure here.