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

Create and use versioned package dir by default. #5737

Merged
merged 1 commit into from
Feb 11, 2014

Conversation

kmsquire
Copy link
Member

@kmsquire kmsquire commented Feb 9, 2014

  • Change pkgroot => _pkgroot, to discourage use outside of pkg/dir.jl
  • Add versioned package dir information to NEWS.md

Except for the location of the Git module, this should be identical to the changes in v0.3 (except all in one commit).

Tested with version 2, and it does indeed create and use a versioned package dir:

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.2.0+23 (2014-02-09 01:46 UTC)
 _/ |\__'_|_|_|\__'_|  |  kms/versioned_pkg_dir_julia0.2/647460a* (fork: 23 commits, 84 days)
|__/                   |  x86_64-linux-gnu

julia> Pkg.init()
INFO: Initializing package repository /home/kmsquire/.julia/v0.2
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl

julia> Pkg.add("DataFrames")
INFO: Cloning cache of Blocks from git://github.com/tanmaykm/Blocks.jl.git
INFO: Cloning cache of DataArrays from git://github.com/JuliaStats/DataArrays.jl.git
INFO: Cloning cache of DataFrames from git://github.com/JuliaStats/DataFrames.jl.git
INFO: Cloning cache of GZip from git://github.com/kmsquire/GZip.jl.git
INFO: Cloning cache of SortingAlgorithms from git://github.com/JuliaLang/SortingAlgorithms.jl.git
INFO: Cloning cache of Stats from git://github.com/JuliaStats/Stats.jl.git
INFO: Cloning cache of StatsBase from git://github.com/JuliaStats/StatsBase.jl.git
INFO: Installing Blocks v0.0.1
INFO: Installing DataArrays v0.0.2
INFO: Installing DataFrames v0.4.2
INFO: Installing GZip v0.2.10
INFO: Installing SortingAlgorithms v0.0.1
INFO: Installing Stats v0.1.0
INFO: Installing StatsBase v0.2.10
INFO: REQUIRE updated.

julia> ;ls ~/.julia
v0.2

julia> ;ls ~/.julia/v0.2
Blocks  DataArrays  DataFrames  GZip  METADATA  REQUIRE  SortingAlgorithms  Stats  StatsBase

Note that we still could use migration functionality (#4876).

cc: @StefanKarpinski

* Change pkgroot => _pkgroot, to discourage use outside of pkg/dir.jl
* Add versioned package dir information to NEWS.md
kmsquire added a commit that referenced this pull request Feb 11, 2014
Create and use versioned package dir by default.
@kmsquire kmsquire merged commit 6bdd2a8 into release-0.2 Feb 11, 2014
@kmsquire kmsquire deleted the kms/versioned_pkg_dir_julia0.2 branch February 11, 2014 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant