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

admit prescribing a package version ... #847

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

ThomasBreuer
Copy link
Member

@ThomasBreuer ThomasBreuer commented Nov 29, 2022

... in GAP.Packages.install.
This is meanwhile supported by GAP's PackageManager package.

The most interesting application is perhaps GAP.Packages.load with argument install = true, because now we can ask for loading a good enough version of a perhaps previously not installed package, and get false if this is not possible.

(Also fixed now: GAP.Packages.load had returned fail in some situations, now false is returned in these cases.)

Resolves issue #627.

... in `GAP.Packages.install`.
This is meanwhile supported by GAP's PackageManager package.

The most interesting application is perhaps `GAP.Packages.load`
with argument `install = true`, because now we can ask for loading a
good enough version of a perhaps previously not installed package,
and get `false` if this is not possible.

(Also fixed now: `GAP.Packages.load` had returned `fail` in some situations,
now `false` is returned in these cases.)
@codecov
Copy link

codecov bot commented Nov 29, 2022

Codecov Report

Merging #847 (0d885ea) into master (ad3e631) will increase coverage by 0.13%.
The diff coverage is 78.57%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #847      +/-   ##
==========================================
+ Coverage   81.46%   81.60%   +0.13%     
==========================================
  Files          48       48              
  Lines        3664     3664              
==========================================
+ Hits         2985     2990       +5     
+ Misses        679      674       -5     
Impacted Files Coverage Δ
src/packages.jl 69.49% <78.57%> (+1.69%) ⬆️
src/GAP.jl 82.88% <0.00%> (+3.60%) ⬆️

Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Could you also add an entry to the CHANGES file?

@fingolfin fingolfin closed this Nov 30, 2022
@fingolfin fingolfin reopened this Nov 30, 2022
@fingolfin fingolfin merged commit ec286f1 into oscar-system:master Dec 2, 2022
@ThomasBreuer ThomasBreuer deleted the TB_packages_versions branch December 2, 2022 13:11
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