Skip to content

Conversation

@lgoettgens
Copy link
Member

The former code for loading perf27.grp and perf33.grp tried to load them using READ_GAP_ROOT which only checks the root directories in SyGapRootPaths aka the root paths that are known at GAP's startup e.g. via the -l flag.
However, this won't check any root directories that were added later using ExtendRootDirectories.

This PR changes this to check all root directories in GAPInfo.RootPaths. The motivation for this is in OSCAR, where we want the julia lazy artifact handler to do the downloading of these files on first access, but due to how julia loads OSCAR and GAP.jl, this seems to be only possible using ExtendRootDirectories. (x-ref oscar-system/Oscar.jl#4592)

cc @fingolfin @ThomasBreuer

@fingolfin fingolfin added kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: library backport-to-4.14 labels Feb 21, 2025
@fingolfin
Copy link
Member

@ThomasBreuer any objections to merging this?

@ThomasBreuer
Copy link
Contributor

I think that this proposal is fine for the moment.

As soon as READ_GAP_ROOT, ReadGapRoot, ReadLib, ReadGrp have access to the full list of root directories, we could change the code again, in order to call ReadGrp in both places in question.

@ThomasBreuer ThomasBreuer merged commit 078f6c9 into gap-system:master Feb 23, 2025
33 checks passed
@fingolfin
Copy link
Member

Indeed, but that work will only be in GAP 4.15, while this patch can be backported for 4.14.1 :-)

@fingolfin
Copy link
Member

Backported to stable-4.14 in commit 9476d68

@fingolfin fingolfin added backport-to-4.14-DONE-unused Renamed so release scripts ignore them; we skipped 4.14.1 and did not use backports and removed backport-to-4.14 labels Apr 10, 2025
@fingolfin fingolfin added the release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes label Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-4.14-DONE-unused Renamed so release scripts ignore them; we skipped 4.14.1 and did not use backports kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants