OSGeo / grass-addons

GRASS GIS Addons Repository
https://grass.osgeo.org/grass-stable/manuals/addons/
GNU General Public License v2.0
103 stars 154 forks source link

[Bug] g.citation: Citation fails for all modules #489

Closed ninsbl closed 2 years ago

ninsbl commented 3 years ago

g.citation

Describe the bug g.citation fails for all modules with with the error message: The text does not contain date entry

To Reproduce

g.extension extension=g.citation
g.citation -as

Expected behavior g.citation should be able to provide citation for at least some modules...

System description (please complete the following information):

neteler commented 3 years ago

The problem is here:

in #64 the SVN based "Date" tag was comment out since it no longer functions after the move to git(hub):

https://github.com/OSGeo/grass-addons/blob/619f9f9acf88149598fb50cbc0daaf9d5d3741a8/grass7/general/g.citation/g.citation.py#L189

Hence it fails.

"Easy" workaround: Replace the date check with the current date, used as Retrieved: <current date>

ninsbl commented 2 years ago

Fixed in #808