-
Notifications
You must be signed in to change notification settings - Fork 74
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
Endo #336
Closed
Closed
Endo #336
Conversation
This file contains 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
kriskowal
force-pushed
the
kris/endo-stack
branch
4 times, most recently
from
June 12, 2020 01:20
64738b9
to
9b0d21a
Compare
kriskowal
force-pushed
the
kris/endo-stack
branch
16 times, most recently
from
June 19, 2020 20:21
216ae28
to
ab72415
Compare
kriskowal
force-pushed
the
kris/endo-stack
branch
8 times, most recently
from
June 30, 2020 20:12
0a25604
to
83bc377
Compare
29 tasks
kriskowal
force-pushed
the
kris/endo-stack
branch
10 times, most recently
from
August 28, 2020 03:50
e0be333
to
d43cb1d
Compare
kriskowal
force-pushed
the
kris/endo-stack
branch
3 times, most recently
from
September 3, 2020 18:54
48b57b5
to
55f9173
Compare
kriskowal
force-pushed
the
kris/endo-stack
branch
from
September 3, 2020 21:13
55f9173
to
33666ed
Compare
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.
This tracks the full stack of changes needed to build a new core for
importBundle
/importArchive
. The newendo
package implementsimportPath
,writeArchive
, andimportArchive
, such that a round-trip through an archive behaves identically to executing directly.The
endo
name implies an aspiration to provide a drop-in replacement fornode
, but encapsulated. This cut doesn’t engage in that aspiration, other than to lay groundwork. There is far more TODO than TODONE.The stack, at time of creating this draft, also includes a straw man archival format, which will be replaced with a suitable implementation of
zip
ortar
. Many deep packet inspection firewalls filterzip
files. Tarballs have a limit of 100 bytes or 255 bytes for each entry’s path, depending on the sophistication of the implementation. That limit could be overcome by using hashes and a detailed manifest, but that would defeat the ideal that an extracted archive be just as executable.The strawman archive library (
agar
) can run in SES, doesn’t take a dependency onfs
or anything else Node.js-specific, so is suitable for front-end as well as back-end. The format has no limitation on file name length or file size and doesn’t waste space or complexity on Unix or Windows-specific features. It is, nonetheless, temporary.Regardless, the archival format should be loosely coupled. The Endo archive builder expects an object that implements {get, set} or a function that creates such an object from a byte array.
node
in a subshell feat(endo): Support exec shell environment #411mask files absent in package.json "files" Endo: Files absent in package.json "files" should be unusable #426events/
fromevents
Endo: Distinguish "dependency" from "dependency/" module specifiers #425new Resource(specifier)