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

update the Julia code for downloading files #134

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

ThomasBreuer
Copy link
Contributor

- avoid the call `JuliaImportPackage("Downloads")`,
  which somehow does not work as expected in certain situations,
  see oscar-system/GAP.jl/issues/1040

- update the code of the function such that it contains the changes from
  oscar-system/GAP.jl/pull/961

  (Yes, the new code looks ugly, and the next GAP.jl version will contain
  support for the "call with catch *and* keyword arguments" situation.)
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.42%. Comparing base (bf160fa) to head (105f5ad).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #134   +/-   ##
=======================================
  Coverage   86.42%   86.42%           
=======================================
  Files          22       22           
  Lines        1009     1009           
=======================================
  Hits          872      872           
  Misses        137      137           

ThomasBreuer added a commit to ThomasBreuer/GAP.jl that referenced this pull request Sep 18, 2024
(motivated mainly by gap-packages/PackageManager/pull/134
and the issues mentioned there)

- support keyword arguments in `CallJuliaFunctionWithCatch`

- do not use the deprecated and undocumented `Core._apply`

- update the initializations in `init_packagemanager`:
  Replacing `PKGMAN_DownloadURL` is no longer needed,
  replacing `PKGMAN_RemoveDir` was in a wrong place.

- start better documentation of Julia syntax features
@fingolfin fingolfin merged commit f3d1b0f into gap-packages:master Sep 19, 2024
5 checks passed
@fingolfin
Copy link
Member

@mtorpey do you think we can make another PackageManger release soonish, so we have this change in a released version (and it can become part of GAP 4.13.2) ?

@mtorpey
Copy link
Collaborator

mtorpey commented Sep 19, 2024

Yes! I'll make one today.

@ThomasBreuer ThomasBreuer deleted the TB_fix_julia branch September 19, 2024 13:06
@ThomasBreuer
Copy link
Contributor Author

Thanks @mtorpey!

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.

3 participants