[GRASS-dev] [release planning] GRASS GIS 7.8.0 with Python3 support

Sebastiaan Couwenberg sebastic at xs4all.nl
Thu Sep 5 21:53:00 PDT 2019


On 9/6/19 5:18 AM, Vaclav Petras wrote:
> On Thu, Sep 5, 2019 at 7:18 AM Martin Landa <landa.martin at gmail.com> wrote:
>> čt 5. 9. 2019 v 12:48 odesílatel Sebastiaan Couwenberg
>> <sebastic at xs4all.nl> napsal:
>>>> that's wrong, g.extension is using 'svn export' (for official repo).
>>>
>>> Using `svn export` for git repositories makes no sense/is a horrible
>> hack.
>>
>> I agree, so please suggest better solution to avoid that g.extension
>> will clone whole repository to install only single addon. Personally I
>> have no better idea than to use `svn export`.
>>
> 
> Please also note that the latest pre-Git/GitHub g.extension was primarily
> not using Subversion, but it was using a nice Trac feature which allowed to
> download a zipped subdirectory of the repo, so Subversion was not a
> must-have dependency. The idea was to get rid of build tool dependencies
> for Python modules as well resulting in no dev packages needed for Python
> modules on Linux while possibly getting arbitrary Python GRASS module code
> on Windows from Trac or, e.g., from GitHub which supports downloading of a
> (whole) repo (without submodules) as a zip file.

`git archive` can create zip or tar.gz files from a repo, with
individual addon repos this can replace the Trac feature.

If you want to get rid of the build tools on the users system, provide
the archive creation as a service on e.g. grass.osgeo.org.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the grass-dev mailing list