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

use julia_version Pkg.add kwarg rather than specifying it through ctx #416

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

IanButterworth
Copy link
Member

Comment on lines -600 to +601
repo=Pkg.Types.GitRepo(rev=git_commit_sha, source=valid_url),
rev=git_commit_sha,
url=valid_url,
Copy link
Member Author

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.

Copy link
Member Author

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

@IanButterworth
Copy link
Member Author

@giordano this is good from my perspective now

@giordano
Copy link
Member

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).

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.

2 participants