Skip to content
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

Is the package manager ready for moving out stdlibs in their own repos. #411

Open
KristofferC opened this issue Jun 19, 2018 · 3 comments
Open

Comments

@KristofferC
Copy link
Member

KristofferC commented Jun 19, 2018

Right now, an stdlib is simply represented in the Manifest with a

[[Stdlib]]
uuid = "$stdlib_uuid"

entry. No dependencies for the stdlibs are recorded, no versions (and no git-tree-sha). This make instantiating existing manifests after the fact that the stdlib has been moved to a repository difficult. We should figure how thing should be recorded so we can instantiate old manifests that where created before the stdlib got moved out.

Instantiating projects (with no manifests) should be no problem, the names will just be resolved from the registry and download like any other package.

@StefanKarpinski
Copy link
Member

One option is to record the julia version and just bake in the additional knowledge about the stdlibs based on that. So when you have

[julia]
version = "0.7.0"
git-tree-sha1 = "4e54b1066faedd2b8c5c7e3f4c1f580479ee11f3"

we know that the stdlibs have certain versions implied by that Julia version.

@KristofferC
Copy link
Member Author

2 years later, no, not really.

@timholy
Copy link
Member

timholy commented Nov 1, 2020

Aside from that, we'd lose a lot of goodness we currently get from REPL precompilation (which includes native codegen). I suppose we could tell everyone to PackageCompiler them all in to the sysimage, but that defeats part of the purpose.

I sure am hoping that better precompilation is a priority for Julia 1.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants