[GRASS-user] g.extension with local SVN checkout

Hello,
is it possible to use g.extension with a local SVN checkout of the
online repository at https://svn.osgeo.org/grass/grass-addons ?

This could be convenient when working disconnected to the net.

Alternatively, this program could also support other VCS tools such as
Bazaar or Git.

What do you think?

Regards,
Timmie

Tim wrote:

is it possible to use g.extension with a local SVN checkout of the
online repository at https://svn.osgeo.org/grass/grass-addons
?

yes, see the svnurl= option.

Alternatively, this program could also support other VCS
tools such as Bazaar or Git.

"patches welcome"

Hamish

Hello,

> is it possible to use g.extension with a local SVN checkout of the
> online repository at https://svn.osgeo.org/grass/grass-addons
> ?

yes, see the svnurl= option.

well, I set it to the directory where I checked out the addons from the SVN
repository but it didn't work.

Hamish:

> see the svnurl= option.

Tim:

well, I set it to the directory where I checked out the
addons from the SVN repository but it didn't work.

maybe you need to pass wget "localhost" + apache2 or file:// ..?

anyway probably easiest is to just open the script and follow it line by
line and replace wget with cp. If you find a nice way to do that we could
add a new option for svnpath= or something. As you point out it could be
useful.

(for scripts I usually just symlink from their grass-addons svn checkout
home into GRASS_ADDONS_PATH, for C modules I actually build everything
from source)

Hamish