Skip to content

use a Julia function in PKGMAN_DownloadURL - #117

Merged
fingolfin merged 1 commit into
gap-packages:masterfrom
ThomasBreuer:TB_Download_via_Julia
Mar 20, 2023
Merged

use a Julia function in PKGMAN_DownloadURL#117
fingolfin merged 1 commit into
gap-packages:masterfrom
ThomasBreuer:TB_Download_via_Julia

Conversation

@ThomasBreuer

Copy link
Copy Markdown
Contributor

The Julia package GAP.jl provides an interface between GAP and Julia. It uses PackageManager for installing and loading GAP packages. As soon as GAP has access to a Julia session, a natural way to download files is via the Julia package Downloads.jl.
Therefore, GAP.jl had replaced PKGMAN_DownloadURL by a Julia function that uses this approach.

Since pull request gap-system/gap#5375 got merged, we can use its new feature such that the PackageManager package can perform this replacement under the condition that GAP.jl is available in the GAP session.

(The proposed code is simply ignored by versions of GAP that do not yet have the abovementioned feature.)

@fingolfin Do you have perhaps some comments?

The Julia package GAP.jl provides an interface between GAP and Julia.
It uses PackageManager for installing and loading GAP packages.
As soon as GAP has access to a Julia session, a natural way to download
files is via the Julia package Downloads.jl.
Therefore, GAP.jl had replaced `PKGMAN_DownloadURL` by a Julia function
that uses this approach.
Since pull request gap-system/gap#5375 got merged,
we can use its new feature such that the PackageManager package can
perform this replacement under the condition that GAP.jl is available
in the GAP session.
@codecov

codecovBot commented Feb 17, 2023

Copy link
Copy Markdown

Codecov Report

Merging #117 (51a5e3b) into master (b9a9380) will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@## master #117 +/- ##
=======================================
Coverage 83.23% 83.23% =======================================
Files 4 4 Lines 1020 1020 =======================================
Hits 849 849 Misses 171 171 

@fingolfin
fingolfin merged commit 172908d into gap-packages:masterMar 20, 2023
@ThomasBreuer
ThomasBreuer deleted the TB_Download_via_Julia branch March 21, 2023 07:54
james-d-mitchell pushed a commit to james-d-mitchell/PackageManager that referenced this pull request Mar 20, 2026
Bumps [jupyterlab](https://github.com/jupyterlab/jupyterlab) from 4.3.3 to 4.5.3.
- [Release notes](https://github.com/jupyterlab/jupyterlab/releases)
- [Changelog](https://github.com/jupyterlab/jupyterlab/blob/main/RELEASE.md)
- [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/lsp@4.3.3...@jupyterlab/lsp@4.5.3)
---
updated-dependencies:
- dependency-name: jupyterlab
dependency-version: 4.5.3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for freeto 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

@ThomasBreuer@fingolfin