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

[Bug] g.extension uses wrong path #1089

Open
micha-silver opened this issue May 27, 2024 · 3 comments
Open

[Bug] g.extension uses wrong path #1089

micha-silver opened this issue May 27, 2024 · 3 comments

Comments

@micha-silver
Copy link

Name of the addon
r.traveltime, but same error for any addon

Describe the bug
Running g.extension r.traveltime errors with:

svn: E170013: Unable to connect to a repository at URL 'https://github.com/OSGeo/grass-addons/branches/grass8/src/raster/r.traveltime'
svn: E160013: '/OSGeo/grass-addons/branches/grass8/src/raster/r.traveltime' path not found

But the actual path should be:
https://github.com/OSGeo/grass-addons/tree/grass8/src/raster/r.traveltime

To Reproduce
Steps to reproduce the behavior:

  1. Run
$ g.extension r.gwr
Fetching <r.gwr> from GRASS GIS Addons repository (be patient)...
svn: E170013: Unable to connect to a repository at URL 'https://github.com/OSGeo/grass-addons/branches/grass8/src/raster/r.gwr'
svn: E160013: '/OSGeo/grass-addons/branches/grass8/src/raster/r.gwr' path not found

Expected behavior
Download extensions from the correct github URL.

Screenshots
If applicable, add screenshots to help explain your problem.

System description (please complete the following information):

  • GRASS GIS version 8.2, Debian package
   $ g.version
GRASS 8.2.1 (2023)

Additional context
Add any other context about the problem here.

@neteler
Copy link
Member

neteler commented May 27, 2024

The solution would be a backport of OSGeo/grass#2895 which replaces SVN checkout (no longer supported by GitHub) with git sparse checkout.

@echoix
Copy link
Member

echoix commented May 27, 2024

If you're able to update to a 8.3 version, it would be fixed right away.

@micha-silver
Copy link
Author

@echoix Debian bookworm is still on 8.2. ☹️

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

No branches or pull requests

3 participants