#498: r.sun2 out of sync / broken svn history --------------------+------------------------------------------------------- Reporter: hamish | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: major | Milestone: 6.4.0 Component: Raster | Version: svn-develbranch6 Keywords: r.sun | Platform: Linux Cpu: x86-32 | --------------------+------------------------------------------------------- Hi,
[6.5svn] I was trying to figure out why r.sun was not using its short module description label. It seemed that somewhere it was reset to null, so the description was used regardless. In 6.3.0 it works. module_info.keywords also seemed to be reset to null. {{{ r.sun --tcltk | head -n 3 begin_dialog {r.sun} { label {} desc {Computes direct (beam), diffuse and ... }}} but in r.sun/main.c: {{{ module->keywords = _("raster"); module->label = _("Solar irradiance and irradiation model."); module->description = _("Computes direct (beam), diffuse and ... }}} same for --help and --interface-description. I noticed that (eg) 'r.info --help' reports the keyword. When I loaded up `which r.sun` in Kdbg to follow the action live, I noticed the source listing had the ->keywords and ->label lines missing. wtf?! aaaaaaahhhhhhh.... now I notice in the Kdbg title bar the full path to the source: ..../raster/r.sun2/main.c not raster/r.sun/main.c! Apparently r.sun2 does not contain the latest changes to r.sun even though it has replaced it in the Makefile. As keyword support was added to r.sun/main.c on 08/19/06, and that's a while ago now, well, much unhappiness. not sure how far back r.sun2 goes. attack of the out-of-sync clones & another "svn copy" related tragedy. (granted it was added to svn some months ago, when we were all young about these things) Hamish -- Ticket URL: <https://trac.osgeo.org/grass/ticket/498> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev