Opened 4 years ago

Closed 22 months ago

Last modified 22 months ago

#2896 closed enhancement (fixed)

Allow installation of specific versions of GRASS addons

Reported by: pmav99 Owned by: grass-dev@…
Priority: normal Milestone: 7.4.1
Component: Addons Version: unspecified
Keywords: g.extension Cc:
CPU: Unspecified Platform: Unspecified

Description

At the moment, g.extension only supports the installation of the latest revision of the svn repository. As a result, any non-backward compatible change in the GRASS-addons repo, means that existing code may break.

Being able to install specific versions of GRASS addons would mitigate a potential source of bugs and would make debugging of addon related code easier.

Change History (11)

comment:1 Changed 4 years ago by martinl

Keywords: g.extension added
Milestone: 7.1.0

comment:2 Changed 4 years ago by wenzeslaus

The 7.1 version of g.extension can theoretically install any online zip if it has the right Makefile. You can also download the right version and then install from the zip or directory. For example, here is installation for r57849 version of r.local.relief (URL can be retrieved from Trac):

g.extension r.local.relief url="https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.local.relief?rev=57900&format=zip"

comment:3 Changed 4 years ago by neteler

Milestone: 7.1.07.2.0

Milestone renamed

comment:4 Changed 3 years ago by neteler

Milestone: 7.2.07.2.1

Ticket retargeted after milestone closed

comment:5 Changed 3 years ago by martinl

Milestone: 7.2.17.2.2

comment:6 Changed 3 years ago by wenzeslaus

This is a feature, so next minor release.

comment:7 Changed 3 years ago by martinl

Milestone: 7.2.27.4.0

All enhancement tickets should be assigned to 7.4 milestone.

comment:8 Changed 2 years ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:9 Changed 2 years ago by martinl

Could someone update documentation and close issue?

comment:10 Changed 22 months ago by wenzeslaus

Resolution: fixed
Status: newclosed

In 72792:

g.extension: example to download specific version from GRASS Addons (closes #2896)

comment:11 Changed 22 months ago by wenzeslaus

An improved example from comment:2 is in the manual (see r72792). It will be online as a web page at one of these URLs:

If you with for this to be solved by parameters of the g.extension module, please create a new ticket (suggestions of interface, naming and use cases are welcome).

Note: See TracTickets for help on using tickets.