[GRASS-user] Installing addons in GRASS 8.2.0 - Ubuntu 22.04.3 LTS

Mario Reyes ernestoreyes561 at gmail.com
Tue Jan 16 12:44:53 PST 2024


Hello Veronica and Edoardo:

Thanks for your help. I know now that it's not possible to install GRASS
addons with g.extension in 8.2. The workaround provided by Veronica is what
I need. Thanks!

Best Regards,

El mar, 16 ene 2024 a la(s) 1:50 p.m., Veronica Andreo (veroandreo at gmail.com)
escribió:

> Hola Mario,
>
> You could download the r.clip folder to your disk and install the
> extension using the path to the folder. Something like: g.extension
> extension=r.clip url=path/to/folder/r.clip
>
> hth,
> Vero
>
> El lun, 15 ene 2024 a las 20:09, Edouard Choinière via grass-user (<
> grass-user at lists.osgeo.org>) escribió:
>
>> Hi!
>>
>> This problem seems to have been fixed proactively 10 months ago in
>> https://github.com/OSGeo/grass/pull/2895
>> <https://github.com/OSGeo/grass/pull/2895> and released in Grass 8.3.0
>> on June 24. 2023.
>>
>> GitHub announced last year that it was sunsetting SVN protocol access,
>> and has been sunset on January 8 2024. So it’s expected that the
>> installation using an now in existing url won’t work.
>>
>>
>> [image: Product at 2x.png]
>>
>> Sunsetting Subversion support
>> <https://github.blog/2023-01-20-sunsetting-subversion-support/>
>> github.blog
>> <https://github.blog/2023-01-20-sunsetting-subversion-support/>
>> <https://github.blog/2023-01-20-sunsetting-subversion-support/>
>>
>>
>> Subversion has been sunset
>> <https://github.blog/changelog/2024-01-08-subversion-has-been-sunset/>
>> github.blog
>> <https://github.blog/changelog/2024-01-08-subversion-has-been-sunset/>
>> [image: cropped-github-favicon-512.png]
>> <https://github.blog/changelog/2024-01-08-subversion-has-been-sunset/>
>> <https://github.blog/changelog/2024-01-08-subversion-has-been-sunset/>
>>
>>
>> Apart from using 8.3.0+, like from
>> https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable, I
>> don’t remember the specific workaround to specify an alternative url that
>> won’t use the SVN code path for code stored in GitHub.
>> Can someone step in?
>>
>>
>> Edouard Choinière
>>
>> Le 15 janv. 2024 à 07:52, Mario Reyes <ernestoreyes561 at gmail.com> a
>> écrit :
>>
>> 
>> Hi,
>>
>> I want to install the r.clip addon in Ubuntu 22.04.3 LTS. I am using
>> GRASS 8.2.0, installed from
>> https://launchpad.net/%7Eubuntugis/+archive/ubuntu/ppa. I also installed
>> svn and grass-dev. When I use g.extension I get the following error:
>>
>> g.extension r.clip
>> /usr/lib/grass82/scripts/g.extension:167: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>>   from distutils.dir_util import copy_tree
>> Fetching <r.clip> 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.clip'
>> svn: E160013: '/OSGeo/grass-addons/branches/grass8/src/raster/r.clip' path not found
>> ERROR: GRASS Addons <r.clip> not found
>>
>> Do you know what the problem is?
>>
>>
>> --
>> Mario Reyes
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
>
> --
> Dra. Verónica Andreo
> Investigadora Adjunta de CONICET
> Instituto Gulich (CONAE - UNC)
> Centro Espacial Teófilo Tabanera (CETT)
> Falda del Cañete - Córdoba, Argentina
> +54 3547 400000 int. 1153
> https://veroandreo.gitlab.io/
>


-- 
Mario Reyes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20240116/810c0693/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Product at 2x.png
Type: image/png
Size: 81137 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20240116/810c0693/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cropped-github-favicon-512.png
Type: image/png
Size: 3785 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20240116/810c0693/attachment-0003.png>


More information about the grass-user mailing list