-
-
Notifications
You must be signed in to change notification settings - Fork 803
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
feat[tool]: archive format #3891
feat[tool]: archive format #3891
Conversation
add an `-f archive` format, which traverses the import graph and collects all the files into a zipfile, which is then base64 encoded to stdout. this should be useful for passing around reproducible archives.
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #3891 +/- ##
===========================================
- Coverage 90.86% 53.91% -36.96%
===========================================
Files 103 100 -3
Lines 14908 15156 +248
Branches 3304 3358 +54
===========================================
- Hits 13546 8171 -5375
- Misses 941 6352 +5411
- Partials 421 633 +212 ☔ View full report in Codecov by Sentry. |
lzma requires "PK compat. v6.3" but the commonly available `zip` utility only handles up to v4.6.
no, we could try detecting json input and skip the |
that's a nice find |
i looked into this a bit more since it's kind of weird that
turns out this is likely a bug in the runtime, see python/cpython#81954 manually ordering the cleanup like follows fixes the issue:
|
so why do we output any bytecode whatsoever? |
|
the two zipfiles could have different metadata (modtime)
What I did
add
-f archive
, which converts the given file and imported modules to a base64 encoded zip file.also add
-f solc_json
,-f integrity
and--base64
TODO:
How I did it
How to verify it
Commit message
Description for the changelog
Cute Animal Picture