Re: [julia-users] Re: Git-maggedon

2016-06-21 Thread Tony Kelman
Karpinski > *Sent:* Tuesday, June 21, 2016 10:45 AM > *To:* Julia Users <julia-users@googlegroups.com > > *Subject:* Re: [julia-users] Re: Git-maggedon > > > > The cache folders are just bare git repositories for packages. Keeping > these around prevents having t

RE: [julia-users] Re: Git-maggedon

2016-06-21 Thread David Anthoff
to clarify somewhere. From: stefan.karpin...@gmail.com [mailto:stefan.karpin...@gmail.com] On Behalf Of Stefan Karpinski Sent: Tuesday, June 21, 2016 11:29 AM To: Julia Users <julia-users@googlegroups.com> Subject: Re: [julia-users] Re: Git-maggedon Yes, that's right. The cache is also

Re: [julia-users] Re: Git-maggedon

2016-06-21 Thread Stefan Karpinski
switch to a different version of an > installed package, right? > > > > *From:* stefan.karpin...@gmail.com [mailto:stefan.karpin...@gmail.com] *On > Behalf Of *Stefan Karpinski > *Sent:* Tuesday, June 21, 2016 10:45 AM > *To:* Julia Users <julia-users@googlegroups.com&

RE: [julia-users] Re: Git-maggedon

2016-06-21 Thread David Anthoff
, 2016 10:45 AM To: Julia Users <julia-users@googlegroups.com> Subject: Re: [julia-users] Re: Git-maggedon The cache folders are just bare git repositories for packages. Keeping these around prevents having to hit the network to reinstall a package version that you've already f

Re: [julia-users] Re: Git-maggedon

2016-06-21 Thread Stefan Karpinski
The cache folders are just bare git repositories for packages. Keeping these around prevents having to hit the network to reinstall a package version that you've already fetched and installed before. On Tue, Jun 21, 2016 at 1:31 PM, David Anthoff wrote: > I’ve never

Re: [julia-users] Re: Git-maggedon

2016-06-21 Thread Stefan Karpinski
Normally installed packages are not supposed to (and never have been) on a branch – they are checked out to a specific commit for p package version. If you want to checkout a branch of a package, you can do Pkg.checkout("Foo") to checkout master or Pkg.checkout("Foo", "br") to checkout the "br"

RE: [julia-users] Re: Git-maggedon

2016-06-21 Thread David Anthoff
I’ve never understood the various .cache folders that hang around, but if you want to be sure to start from a clean .julia package folder you might want to make sure all the .cache folders are also removed. In particular I guess the .julia/.cache folder. And then retry the whole Pkg.init()