Re: [GRASS-dev] [release planning] GRASS GIS 8.0.0

2019-08-05 Thread Markus Neteler
On Mon, Aug 5, 2019 at 8:38 AM Markus Metz
 wrote:
> On Sun, Aug 4, 2019 at 3:20 PM Markus Neteler  wrote:
> >
> > Hi devs,
> >
> > since we now have the 7.8 release branch, I suggest to get rid of
> > Python 2 support in master.
> >
> > This will greatly simplify the code. Python 2 is EOL anyway in a few months.
>
> I guess the first step would be to change the deprecated shebang
> #!/usr/bin/env python
> to
> #!/usr/bin/env python3

I have created a related PR:
https://github.com/OSGeo/grass/pull/75

markusN
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-08-05 Thread Markus Metz
On Sun, Aug 4, 2019 at 12:19 PM Markus Neteler  wrote:
>
> Hi,
>
> On Sun, Aug 4, 2019 at 10:44 AM Markus Neteler  wrote:
> 
> >
> > as there were no objections, I have created the new
> >
> > https://github.com/OSGeo/grass/tree/releasebranch_7_8
>
> The needed grass77 -> grass78 updates are covered in:
>
> https://github.com/OSGeo/grass/pull/74
> (hope I found all needed changes; to go ahead I have merged right away).
>
> I have also created the cronjobs for weekly tarballs and manual pages:
>
> https://grass.osgeo.org/grass78/source/snapshot/
> https://grass.osgeo.org/grass78/binary/linux/snapshot/
> https://grass.osgeo.org/grass78/manuals/
>
> What's next:
>
> - GRASS GIS 7.8.0RC1 to be prepared asap
> - fix winGRASS
> - grass77 in master to be changed to grass79

+1

please let me know if I can help

Markus M
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-08-05 Thread Markus Neteler
On Mon, Aug 5, 2019 at 10:21 AM Markus Metz
 wrote:
> On Sun, Aug 4, 2019 at 12:19 PM Markus Neteler  wrote:
...

FYI: I have also updated the CMS with new 7.8 sections.

> > What's next:
> >
> > - GRASS GIS 7.8.0RC1 to be prepared asap

I suggest to release it end of this week.

> > - fix winGRASS

winGRASS mainly depends on Martin and his server.

> > - grass77 in master to be changed to grass79
>
> +1

done in
https://github.com/OSGeo/grass/commit/2f892ffa9bc7d916aa5833c36e704ae1da2e1582

> please let me know if I can help

Importantly we need to understand if anything is missing for RC1.
Unless we do not publish 7.8 with Python 3 support, we will be soon
removed from various Linux distros as they start to drop Py2-only
versions (i.e. < 7.8).

In addition, pls _all_ help to add content to
* https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures78
* https://trac.osgeo.org/grass/wiki/Release/7.8.0-News
(and we need to find a convenient way to extract that from GitHub).

best
markusN
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release planning] GRASS GIS 8.0.0

2019-08-05 Thread Markus Neteler
On Mon, Aug 5, 2019 at 9:11 AM Markus Neteler  wrote:
> On Mon, Aug 5, 2019 at 8:38 AM Markus Metz
>  wrote:
> > On Sun, Aug 4, 2019 at 3:20 PM Markus Neteler  wrote:
> > >
> > > Hi devs,
> > >
> > > since we now have the 7.8 release branch, I suggest to get rid of
> > > Python 2 support in master.
> > >
> > > This will greatly simplify the code. Python 2 is EOL anyway in a few 
> > > months.
> >
> > I guess the first step would be to change the deprecated shebang
> > #!/usr/bin/env python
> > to
> > #!/usr/bin/env python3
>
> I have created a related PR:
> https://github.com/OSGeo/grass/pull/75

FYI: It has been reviewed and merged.

I am tempted to apply it also to relbranch78... opinions?

markusN
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release planning] GRASS GIS 8.0.0

2019-08-05 Thread Markus Metz
On Mon, Aug 5, 2019 at 3:55 PM Markus Neteler  wrote:
>
> On Mon, Aug 5, 2019 at 9:11 AM Markus Neteler  wrote:
> > On Mon, Aug 5, 2019 at 8:38 AM Markus Metz
> >  wrote:
> > > On Sun, Aug 4, 2019 at 3:20 PM Markus Neteler 
wrote:
> > > >
> > > > Hi devs,
> > > >
> > > > since we now have the 7.8 release branch, I suggest to get rid of
> > > > Python 2 support in master.
> > > >
> > > > This will greatly simplify the code. Python 2 is EOL anyway in a
few months.
> > >
> > > I guess the first step would be to change the deprecated shebang
> > > #!/usr/bin/env python
> > > to
> > > #!/usr/bin/env python3
> >
> > I have created a related PR:
> > https://github.com/OSGeo/grass/pull/75
>
> FYI: It has been reviewed and merged.
>
> I am tempted to apply it also to relbranch78... opinions?

+1 to apply it also to relbr78

Markus M
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release planning] GRASS GIS 8.0.0

2019-08-05 Thread Helmut Kudrnovsky
Markus Metz-3 wrote
> On Mon, Aug 5, 2019 at 3:55 PM Markus Neteler <

> neteler@

> > wrote:
>>
>> On Mon, Aug 5, 2019 at 9:11 AM Markus Neteler <

> neteler@

> > wrote:
>> > On Mon, Aug 5, 2019 at 8:38 AM Markus Metz
>> > <

> markus.metz.giswork@

> > wrote:
>> > > On Sun, Aug 4, 2019 at 3:20 PM Markus Neteler <

> neteler@

> >
> wrote:
>> > > >
>> > > > Hi devs,
>> > > >
>> > > > since we now have the 7.8 release branch, I suggest to get rid of
>> > > > Python 2 support in master.
>> > > >
>> > > > This will greatly simplify the code. Python 2 is EOL anyway in a
> few months.
>> > >
>> > > I guess the first step would be to change the deprecated shebang
>> > > #!/usr/bin/env python
>> > > to
>> > > #!/usr/bin/env python3
>> >
>> > I have created a related PR:
>> > https://github.com/OSGeo/grass/pull/75
>>
>> FYI: It has been reviewed and merged.
>>
>> I am tempted to apply it also to relbranch78... opinions?
> 
> +1 to apply it also to relbr78
> 
> Markus M
> 
> ___
> grass-dev mailing list

> grass-dev@.osgeo

> https://lists.osgeo.org/mailman/listinfo/grass-dev

+1




-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release planning] GRASS GIS 8.0.0

2019-08-05 Thread Martin Landa
Hi,

ne 4. 8. 2019 v 15:20 odesílatel Markus Neteler  napsal:
> since we now have the 7.8 release branch, I suggest to get rid of
> Python 2 support in master.
>
> This will greatly simplify the code. Python 2 is EOL anyway in a few months.

+1

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release planning] GRASS GIS 8.0.0

2019-08-05 Thread Martin Landa
Hi,

po 5. 8. 2019 v 17:28 odesílatel Markus Metz
 napsal:
> > I am tempted to apply it also to relbranch78... opinions?
>
> +1 to apply it also to relbr78

I am not sure. Do we plan to change package dependency (Debian,
Ubuntu, Fedora) from Python2 to Python3?

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release planning] GRASS GIS 8.0.0

2019-08-05 Thread Sebastiaan Couwenberg
On 8/5/19 8:23 PM, Martin Landa wrote:
> po 5. 8. 2019 v 17:28 odesílatel Markus Metz napsal:
>>> I am tempted to apply it also to relbranch78... opinions?
>>
>> +1 to apply it also to relbr78
> 
> I am not sure. Do we plan to change package dependency (Debian,
> Ubuntu, Fedora) from Python2 to Python3?

The grass package in Debian will be switched to Python 3 ASAP. 7.8 looks
like the first release that will make that possible.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release planning] GRASS GIS 8.0.0

2019-08-05 Thread Markus Neteler
Hi,

Sebastiaan Couwenberg  schrieb am Mo., 5. Aug. 2019,
20:43:

> On 8/5/19 8:23 PM, Martin Landa wrote:
> > po 5. 8. 2019 v 17:28 odesílatel Markus Metz napsal:
> >>> I am tempted to apply it also to relbranch78... opinions?
> >>
> >> +1 to apply it also to relbr78
> >
> > I am not sure. Do we plan to change package dependency (Debian,
> > Ubuntu, Fedora) from Python2 to Python3?
>
> The grass package in Debian will be switched to Python 3 ASAP. 7.8 looks
> like the first release that will make that possible.
>

Yes, finally that's available.

And in Fedora, those packages without Python 3 support will be removed
these days.

Best,
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] g.extension: still fetching from SVN?

2019-08-05 Thread Martin Landa
Hi,

čt 1. 8. 2019 v 19:26 odesílatel Markus Neteler  napsal:
> Now the binaries need to be rebuild - or you compile yourself - or you

it will require a new release 7.6.2. Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] g.extension: still fetching from SVN?

2019-08-05 Thread Markus Neteler
On Mon, Aug 5, 2019 at 10:12 PM Martin Landa  wrote:
> čt 1. 8. 2019 v 19:26 odesílatel Markus Neteler  napsal:
> > Now the binaries need to be rebuild - or you compile yourself - or you
>
> it will require a new release 7.6.2. Ma

Yes, perfect timing:

https://trac.osgeo.org/grass/milestone/7.6.2
-> 5th Aug 2019 was planned :-)

Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] g.extension: still fetching from SVN?

2019-08-05 Thread Martin Landa
Hi,

po 5. 8. 2019 v 22:22 odesílatel Markus Neteler  napsal:
> https://trac.osgeo.org/grass/milestone/7.6.2
> -> 5th Aug 2019 was planned :-)

yes, there is one blocker issue which should be solved before any
release. How to deal with svn keyword propagation in the code ($DATE$,
$REVISION$, ...). There is no straightforward replacement for git to
my knowledge. Any suggestion very welcome!

Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] g.extension: still fetching from SVN?

2019-08-05 Thread Markus Neteler
On Mon, Aug 5, 2019 at 10:26 PM Martin Landa  wrote:
>
> Hi,
>
> po 5. 8. 2019 v 22:22 odesílatel Markus Neteler  napsal:
> > https://trac.osgeo.org/grass/milestone/7.6.2
> > -> 5th Aug 2019 was planned :-)
>
> yes, there is one blocker issue which should be solved before any
> release. How to deal with svn keyword propagation in the code ($DATE$,
> $REVISION$, ...). There is no straightforward replacement for git to
> my knowledge. Any suggestion very welcome!

The closest suggestion (for $Date$) I found was this
https://stackoverflow.com/questions/62264/dealing-with-svn-keyword-expansion-with-git-svn#72874

but overall it is everywhere discouraged as svn != git.

The only tag I really like is the date, at the bottom of the manual
pages. Would be great to keep the last-edited timestamps.

Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] g.extension: still fetching from SVN?

2019-08-05 Thread Ken Mankoff

On 2019-08-05 at 16:26 -04, Martin Landa  wrote...
> Hi,
>
> po 5. 8. 2019 v 22:22 odesílatel Markus Neteler  napsal:
>> https://trac.osgeo.org/grass/milestone/7.6.2
>> -> 5th Aug 2019 was planned :-)
>
> yes, there is one blocker issue which should be solved before any
> release. How to deal with svn keyword propagation in the code ($DATE$,
> $REVISION$, ...). There is no straightforward replacement for git to
> my knowledge. Any suggestion very welcome!

It seems like this is not officially supported, can be done easily with some 
scripts [1], but is not recommended [2].

Why is it needed?

I regularly use the gitinfo LaTeX package that provides a git commit hook. This 
hook simply puts latest hash (and some other commit data such as author, 
branch, date, etc.) into a file, that the LaTeX package then uses to make nice 
headers or footers with the commit info.

Could a commit hook make a file that is then somehow included in the footer of 
each HTML file?

  -k.

[1] 
https://stackoverflow.com/questions/11534655/git-keyword-substitution-like-those-in-subversion
[2] 
https://git.wiki.kernel.org/index.php/GitFaq#Does_Git_have_keyword_expansion.3F
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3880: update/drop revision check after git switch

2019-08-05 Thread GRASS GIS
#3880: update/drop revision check after git switch
+-
  Reporter:  hellik |  Owner:  grass-dev@…
  Type:  defect | Status:  new
  Priority:  blocker|  Milestone:  7.6.2
 Component:  Compiling  |Version:  svn-releasebranch76
Resolution: |   Keywords:  svn, git, revision
   CPU:  All|   Platform:  All
+-

Comment (by neteler):

 See also #3856

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3856: implement svn keyword substitution

2019-08-05 Thread GRASS GIS
#3856: implement svn keyword substitution
--+---
  Reporter:  martinl  |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  blocker  |  Milestone:  7.6.2
 Component:  Default  |Version:  svn-trunk
Resolution:   |   Keywords:  git, svn keywords
   CPU:  Unspecified  |   Platform:  Unspecified
--+---

Comment (by neteler):

 It is not recommended:

 https://git.wiki.kernel.org/index.php/GitFaq#Does_Git_have_keyword_expansion.3F

 See also #3880

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3868: v.in.wfs support only version 1.0.0

2019-08-05 Thread GRASS GIS
#3868: v.in.wfs support only version 1.0.0
--+--
  Reporter:  lucadelu |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  new
  Priority:  major|  Milestone:
 Component:  Vector   |Version:  unspecified
Resolution:   |   Keywords:  v.in.wfs wfs
   CPU:  Unspecified  |   Platform:  Unspecified
--+--

Comment (by neteler):

 Replying to [ticket:3868 lucadelu]:
 > v.in.wfs support only version 1.0.0, many other versions exists and they
 should be supported.
 > Right now the Python script is creating the WFS request working with
 string, it could be useful to have something more structured. Some
 possible solutions:
 > - improve v.in.wfs using v.in.ogr that is working well (at least with
 version 2.0.0)

 I believe that this is the best option. Do you plan to work on it?

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev