Closed yofreke closed 8 years ago
@yofreke I assume you had to merge this for the devkit app type for jsio. How is it shaping up? Need help anywhere with the git stuff?
Would be good to have some tests around the new module cache to make sure it works... other than that not sure
In progress
devkit install <single module>
still works as expected (using cache)"devkit-core": "https://github.com/gameclosure/devkit-core#"
)Rationale for using git bare repos for caching.
Devkit in general has caching, specifically js.io and the build server are built on this idea of having symlinks to the modules so that we can use a cached version to keep network overhead down.
nodegit
instead of the git cli.Additionally we can then add an option like
devkit cache update
which updates all the cached bare repos and that way we can bake this into jsio container creation that updates periodically so that when users login to jsio their container always has access to the latest versions of modules.Other options such as
devkit cache list
anddevkit cache inspect
should be added to list all the modules in the cache and to see what the head commit is and the remote and possibly date???(credit for rationale @martell )