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

Pkg: migrate versioned package directory after version update #4876

Closed
kmsquire opened this issue Nov 21, 2013 · 6 comments
Closed

Pkg: migrate versioned package directory after version update #4876

kmsquire opened this issue Nov 21, 2013 · 6 comments
Labels
packages Package management and loading

Comments

@kmsquire
Copy link
Member

After the update from v0.2 to v0.3, the few of us (?) who have versioned package directories suddenly can't see our packages (because we don't have a .julia/v0.3 directory).

When running an updated version of julia for the first time, it would be nice to have a way create and migrate packages from the previous version.

@StefanKarpinski
Copy link
Member

cp -a ~/.julia/v0.{2,3}?

@kmsquire
Copy link
Member Author

That's what I did by hand. But it might need to be more involved for someone updating from, e.g., v0.4 to v1.0.

@IainNZ
Copy link
Member

IainNZ commented Aug 11, 2015

👎 on this feature. @kmsquire, do you still want this?

@jakebolewski
Copy link
Member

I don't think we want to support this feature.

@tkelman
Copy link
Contributor

tkelman commented Aug 11, 2015

I think the time-saving way to do this is by copying ~/.julia/v0.3/REQUIRE to ~/.julia/v0.4/REQUIRE then doing a resolve or update.

@kmsquire
Copy link
Member Author

Something like @tkelman's suggestion would be nice, although it should be opt-in--maybe some function in Pkg? Maybe Pkg.migrate() (with a flock of ascii birds on the screen as it does its thing)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Package management and loading
Projects
None yet
Development

No branches or pull requests

5 participants