-
Notifications
You must be signed in to change notification settings - Fork 1.4k
introduce archive index files #3302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci please smoke test |
@swift-ci please smoke test |
SourceKitLSP build issue |
@swift-ci please smoke test |
more SourceKitLSP CI instability |
@swift-ci please smoke test linux |
90247fe
to
bbac0fd
Compare
@swift-ci please smoke test |
more LSP issues on linux cc @benlangmuir
|
@swift-ci please smoke test linux |
05b6999
to
221d289
Compare
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Just a question about whether the filename should be a subpath, but that can also be left for later.
db190e7
to
b5cee3c
Compare
motivation: to support the package extensions feature, we need to support binary dependencies with tools that can be distributed across different platforms. in previous PR we intriduces the archive file, this PR adds the archive index files which helps control the size of the archive files by splitting them across key platforms changes: * introduce new binary dependency file type named "Archive Index" with the extension "ari" * the structure of the file is a flat list of archive files, their checksums and the target-triples they support * add code to Workspace pre-downloading the binaryTarget "zip" files to first fetch "ari" files, parse them and add any relevant "zip" files to the *host* tripple to the list of candidate downloads * add and adjust tests
b5cee3c
to
ee32f8a
Compare
@swift-ci please smoke test |
motivation: to support the package extensions feature, we need to support binary dependencies with tools that can be distributed across different platforms. in previous PR we intriduces the archive file, this PR adds the archive index files which helps control the size of the archive files by splitting them across key platforms
changes:
the new archive file name, extension and structure are all up to debate and would take final shape in an evolution proposal, but we can start discussing them now in preparation to such proposal.
the file structure proposed
concrete example:
web server directory structure
protocol-bufffer-compiler.ari
content