Skip to content

Refactor ArchiveWriter to expose archiving each URL independently#693

Merged
JaewonHur merged 1 commit intoapple:mainfrom
JaewonHur:archive-urls-oss
May 1, 2026
Merged

Refactor ArchiveWriter to expose archiving each URL independently#693
JaewonHur merged 1 commit intoapple:mainfrom
JaewonHur:archive-urls-oss

Conversation

@JaewonHur
Copy link
Copy Markdown
Contributor

@JaewonHur JaewonHur commented Apr 20, 2026

This PR refactors ArchiveWriter to add an API archive(_ paths: base:). This API is used to archive the contents at each URL independently, similar to doing tar -cvf archive.tar foo.bin /bar/baz.txt.

Comment thread Sources/ContainerizationArchive/ArchiveWriter.swift Outdated
@jglogan
Copy link
Copy Markdown
Contributor

jglogan commented Apr 21, 2026

@JaewonHur How much overlap is there with #652?

@egernst
Copy link
Copy Markdown
Contributor

egernst commented Apr 30, 2026

Should we rebase this one?

@dcantah
Copy link
Copy Markdown
Member

dcantah commented Apr 30, 2026

You need to sign your commits. The change lgtm at this point after. Just squash everything down to 1 commit

This PR refactors `ArchiveWriter` to add an API `archive(_ paths: base:)`.
This API is used to archive the contents at each URL independently,
similar to doing `tar -cvf archive.tar foo.bin /bar/baz.txt`.
@JaewonHur JaewonHur force-pushed the archive-urls-oss branch from f067fd4 to 2c97b73 Compare May 1, 2026 00:49
Copy link
Copy Markdown
Contributor

@egernst egernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing the feedback.

@JaewonHur JaewonHur merged commit f2c4240 into apple:main May 1, 2026
5 checks passed
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.

4 participants