Opened 9 years ago

Closed 6 years ago

Last modified 6 years 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 by martinl, 9 years ago

Keywords: g.extension added
Milestone: 7.1.0

comment:2 by wenzeslaus, 9 years ago

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 by neteler, 9 years ago

Milestone: 7.1.07.2.0

Milestone renamed

comment:4 by neteler, 8 years ago

Milestone: 7.2.07.2.1

Ticket retargeted after milestone closed

comment:5 by martinl, 8 years ago

Milestone: 7.2.17.2.2

comment:6 by wenzeslaus, 7 years ago

This is a feature, so next minor release.

comment:7 by martinl, 7 years ago

Milestone: 7.2.27.4.0

All enhancement tickets should be assigned to 7.4 milestone.

comment:8 by neteler, 7 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:9 by martinl, 7 years ago

Could someone update documentation and close issue?

comment:10 by wenzeslaus, 6 years ago

Resolution: fixed
Status: newclosed

In 72792:

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

comment:11 by wenzeslaus, 6 years ago

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.