Skip to content

rwx/package to build packages - #338

Closed
dan-manges wants to merge 3 commits into
mainfrom
dan/package
Closed

rwx/package to build packages#338
dan-manges wants to merge 3 commits into
mainfrom
dan/package

Conversation

@dan-manges

@dan-manges dan-manges commented Mar 6, 2026

Copy link
Copy Markdown
Member

This is in draft status waiting on adding permissions to the task default RWX access token.

@dan-manges
dan-manges force-pushed the dan/package branch 5 times, most recently from 124cd1f to 2591954 Compare March 7, 2026 04:08
@dan-manges
dan-manges force-pushed the dan/package branch 2 times, most recently from b6d85b8 to b09b5bf Compare March 10, 2026 20:15
@dan-manges

Copy link
Copy Markdown
Member Author

Closing in favor of rwx-cloud/rwx#596

@dan-manges dan-manges closed this Aug 10, 2026
dan-manges added a commit to rwx-cloud/rwx that referenced this pull request Aug 10, 2026
Zips the contents of a directory and uploads it to the RWX package
registry, printing the content digest returned by the server.

    rwx package build [directory]

Ports the logic from rwx-cloud/packages#338, with one deliberate
difference: timestamp normalization is optional and applied inline to
the zip entry headers rather than by running `touch` over the source
tree. Passing `--timestamp YYYYMMDDHHmm` sets every entry's modification
time in the archive, so builds are reproducible for content-based
caching without mutating files on disk. Omitting it preserves each
file's real mtime.

Archive entries are written in sorted order so the same tree and
timestamp always produce identical bytes.

Co-authored-by: Dan Manges <dan@rwx.com>
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.

2 participants