-
Notifications
You must be signed in to change notification settings - Fork 162
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
Add command line option --packagedirs
and GAP function ExtendPackageDirectories()
to make it easier to use custom packages
#5873
Add command line option --packagedirs
and GAP function ExtendPackageDirectories()
to make it easier to use custom packages
#5873
Conversation
This is a first step towards allowing package directories to be specified independently from GAP root paths.
ab3806c
to
99e7acb
Compare
This now has a cmd line argument part for And what is there else to do here? |
f921142
to
e473f8e
Compare
Thank you for working on this! I have no preference between |
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.
The code looks o.k., modulo the hints that were already given.
I have added a few comments about the documentation.
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.
I have suggested changes to the description of the new command line option. (I hope I got it right.)
Co-authored-by: Max Horn <[email protected]> Co-authored-by: Thomas Breuer <[email protected]>
Co-authored-by: Max Horn <[email protected]>
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.
Thank you, looks great to me!
Perhaps we can get some native speakers like @james-d-mitchell or @ChrisJefferson to have a look at the text before merging, so I'll wait a bit with that (but in the end, things can be improved in a follow-up PR, too)
I also think that this addition is valuable, in particular during the development of GAP packages. |
Reloading packages is completely unrelated to this PR, though, and not generally supported by GAP. (Limited support for reloading individual files exists; but not for changing from where a package is loaded) |
Co-authored-by: Lukas Schnelle <[email protected]>
There is also a CI failure, probably a direct result of the changes in here and the solution may be to adjust the test, once we understand why it changed:
That said, GAP CI is currently broken (see issue #5884) |
This error only occurrs in some of the CI jobs. At least |
I cannot reproduce this problem locally. |
Note that in the CI setup there may be additional symlinks to/for
Perhaps one or both should go resp. be replaced by usage of BTW, there are also failures in the |
f7380cb
to
7daec4d
Compare
Thanks for the hint. Indeed, the first one should use
These are due to the way I used to interpret a |
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.
I applied a few minor tweaks to the documentation and even more minor ones to the code. Assuming CI passes I think this is good to go.
Resurrection of and thus closes #933. Work towards oscar-system/GAP.jl#1092.
Please see the above linked PRs/issues for the motivation of this change.
This currently only contains the changes from @fingolfin in 2016 and some documentation adaptions. I am still working on the cmd line option.
I noticed that for root dirs the corresponding function is called
ExtendRootDirectories()
, but they are stored inGAPInfo.RootPaths
. In #933, there was a mix ofGAPInfo.PackageDirectories
andGAPInfo.PackagePaths
. Do you have any preference here @fingolfin ?