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

Pkg1 not exported #4091

Closed
stevengj opened this issue Aug 17, 2013 · 6 comments
Closed

Pkg1 not exported #4091

stevengj opened this issue Aug 17, 2013 · 6 comments
Labels
bug Indicates an unexpected problem or unintended behavior packages Package management and loading

Comments

@stevengj
Copy link
Member

Pkg1 is mentioned in the manual but does not seem to be exported. Oddly enough, there is still a Base.Pkg2, however.

@StefanKarpinski
Copy link
Member

It's not loaded by default:

In order to use Pkg1, you must load it:

include(joinpath(JULIA_HOME,"../../base/pkg1.jl"))

Some packages (notably BinDeps) rely on the name Pkg2, so I made an alias for now .

@stevengj
Copy link
Member Author

As long as key functionality is missing from Pkg (#4092), it is a bit obnoxious to hide Pkg1 like this.

@StefanKarpinski
Copy link
Member

You can put it back in sysimg if you like. In part this is a test of what is and is not used functionality in Pkg1 since that isn't at all clear. I'm not likely to be able to do this until Monday.

@JeffBezanson
Copy link
Member

If some of the code in Pkg1 works as-is, why not just copy it into Pkg2? Some of the functions, like major, minor, and patch are tiny.

@stevengj
Copy link
Member Author

+1

@StefanKarpinski
Copy link
Member

Largely because I want to rethink the API. Tagging and publishing packages needs a lot of work. Some of those functions probably can just come over largely untouched.

stevengj added a commit to stevengj/julia that referenced this issue Aug 20, 2013
jishnub pushed a commit that referenced this issue Nov 21, 2024
Stdlib: Pkg
URL: https://github.com/JuliaLang/Pkg.jl.git
Stdlib branch: master
Julia branch: master
Old commit: 9f8e11a4c
New commit: 7b759d7f0
Julia version: 1.12.0-DEV
Pkg version: 1.12.0
Bump invoked by: @IanButterworth
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/Pkg.jl@9f8e11a...7b759d7

```
$ git log --oneline 9f8e11a4c..7b759d7f0
7b759d7f0 Automatically upgrade empty manifest files to v2 format (#4091)
69c6de019 Remove duplicated word "different" (#4088)
87a4a9172 Actually switch to "Resolving Deltas" (#4080)
ef844e32f Update CHANGELOG.md: link to [sources] PR (#4084)
e10883ce5 REPLExt: check for compliant repl mode during repl init (#4067)
```

Co-authored-by: Dilum Aluthge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior packages Package management and loading
Projects
None yet
Development

No branches or pull requests

3 participants