<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 4:47 PM, Helmut Kudrnovsky <span dir="ltr"><<a href="mailto:hellik@web.de" target="_blank">hellik@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="http://lists.osgeo.org/pipermail/grass-commit/2014-October/033084.html" target="_blank">http://lists.osgeo.org/pipermail/grass-commit/2014-October/033084.html</a><br>
<br>
<br>
>Modified:<br>
 >  grass-addons/grass7/raster/r.edm.eval/r.>edm.eval<br>
>Log:<br>
>update to new syntax for g.remove and g.list<br>
<br>
as syntax/option changes aren't yet backported from trunk to g7, IMHO it's important to give some advice to addon script authors how to handle these code differences which stops g7 addon scripts in trunk and vice versa!<br>
<br>
any opinion, suggestions?<span class=""><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div>Of course, the current situation is quite unfortunate but be patient because it is just temporary. Eventually, we must unify it in 7.x.<br><br></div><div>I would suggest to write for the most stable version, the one which will be shipped to users (release branch 7.0) and have a patch prepared for the new API (which is now in trunk).<br><br></div><div>The alternative of course is to encapsulate the functionality in few functions and switch inside according to GRASS version which is how you do GRASS 6 and 7 compatibility if you don't want to maintain two files.<br><br></div><div>Anyway, we should proceed with the g.remove and g.list. The current issues are that PyGRASS does not accept list for the pattern option because it is not "multiple" and that GUI does not have any clue how to suggest maps and other elements (you don't know that type and pattern options are related). This should be probably discussed in another thread.<br><br></div><div>Vaclav<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
Helmut<br>
</font></span><br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>