nvuillam / grass-addons

GRASS GIS Addons Repository (Manuals: https://grass.osgeo.org/grass7/manuals/addons/ | Linux-logs: https://grass.osgeo.org/addons/grass7/logs/ | Windows logs: http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/latest/logs/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GRASS Addons git repository

How to get write access here

Read access is granted to the public, write access must be requested, see here for details: https://trac.osgeo.org/grass/wiki/HowToContribute#WriteaccesstotheGRASSaddonsrepository

However, it is also possible to fork this repository, insert your AddOn or fix an existing one in a new branch and finally open a pull request.

In either case, please read the submitting rules at the bottom of this page.

How to get the AddOn code

Clone of the entire AddOns git repository:

git clone https://github.com/OSGeo/grass-addons.git grass_addons

How to install or remove AddOns in your GRASS installation

The simplest way to install GRASS GIS AddOns is to use the g.extension module: https://grass.osgeo.org/grass-stable/manuals/g.extension.html

How to compile AddOn code

C code/Scripts, with GRASS source code on your computer

Preparations (assuming the source code in $HOME/grass/): (if you have already built GRASS from source you don't need to do this again. If adding to a binary install, the versions must match exactly. You need to git checkout the exact tag or commit used for the binary.)

./configure # [optionally flags]
make libs

The easiest way to compile GRASS AddOns modules into your GRASS code is by setting MODULE_TOPDIR on the fly to tell 'make' where to find the prepared GRASS source code:

make MODULE_TOPDIR=$HOME/grass/

(adapt to your /path/to/grass/). Each module/script in the GRASS AddOns git repository should have a Makefile to support easy installation.

Install then into your existing GRASS installation with

make MODULE_TOPDIR=$HOME/grass/ install

For system-wide installation this usually requires "root" privileges (so, also 'sudo' may help).

C code/Scripts, with GRASS binaries on your computer

compile GRASS AddOns modules into your GRASS code by setting MODULE_TOPDIR to where to the GRASS binaries are located:

make MODULE_TOPDIR=/usr/lib/grass/

How to submit contributions

To submit your GRASS GIS module here, please check

https://grass.osgeo.org/development/

The submission must be compliant with the GRASS submission rules as found in the GRASS source code and RFC2 (Legal aspects of submission):

https://trac.osgeo.org/grass/wiki/RFC

Also read submitting instructions before committing any changes!

https://trac.osgeo.org/grass/wiki/Submitting

About

GRASS GIS Addons Repository (Manuals: https://grass.osgeo.org/grass7/manuals/addons/ | Linux-logs: https://grass.osgeo.org/addons/grass7/logs/ | Windows logs: http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/latest/logs/)

License:GNU General Public License v2.0


Languages

Language:Python 42.2%Language:C 37.3%Language:HTML 13.6%Language:C++ 2.8%Language:Shell 1.7%Language:Fortran 0.7%Language:Makefile 0.7%Language:PostScript 0.4%Language:TeX 0.4%Language:Rich Text Format 0.0%Language:Perl 0.0%Language:Yacc 0.0%Language:CMake 0.0%Language:Limbo 0.0%Language:Roff 0.0%Language:R 0.0%