-
Notifications
You must be signed in to change notification settings - Fork 32
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
use julia_version
Pkg.add
kwarg rather than specifying it through ctx
#416
base: master
Are you sure you want to change the base?
Conversation
e761246
to
5e8fb67
Compare
76ecd63
to
d5251de
Compare
d5251de
to
3375fca
Compare
repo=Pkg.Types.GitRepo(rev=git_commit_sha, source=valid_url), | ||
rev=git_commit_sha, | ||
url=valid_url, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifying repo
directly isn't compatible with the public Pkg.add
API as Pkg.handle_package_input!
doesn't expect it to exist, instead constructs it from rev
and url
etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved handling JuliaLang/Pkg.jl#4170
@giordano this is good from my perspective now |
Haven't looked at the code yet, but this is promising, thanks! I guess a big test is to use this PR in JuliaPackaging/Yggdrasil#10524 (I probably won't have much time this week though). |
See JuliaLang/Pkg.jl#4161 JuliaLang/Pkg.jl#4160