[GRASS-dev] Re: [GRASS GIS] #587: svn versions should better reflect svn rev

GRASS GIS trac at osgeo.org
Tue Dec 22 09:23:49 EST 2009


#587: svn versions should better reflect svn rev
--------------------------+-------------------------------------------------
  Reporter:  hamish       |       Owner:  martinl  
      Type:  enhancement  |      Status:  reopened 
  Priority:  major        |   Milestone:  6.4.0    
 Component:  default      |     Version:  6.4.0 RCs
Resolution:               |    Keywords:  g.version
  Platform:  All          |         Cpu:  All      
--------------------------+-------------------------------------------------
Comment (by martinl):

 Replying to [comment:33 hamish]:
 > > The default version formatting would not probably contain info
 > > about revision number,
 >
 > I disagree, when working with a SVN copy you always should know the
 exact rev number you are dealing with. 6.5svn or 7.0svn both cover code
 over years of development which represents completely different, well,
 everything. Without the rev number the version data is mostly useless.

 OK, probably you are right. Changed in r40111.

 > > e.g. as used for manual page header.
 >
 > For things like help pages headers where you just want like "GRASS 6.4:
 Raster Modules" you can always parse the string (or probably easier to
 just hard code it..). For final releases all the extra noise is gone
 anyway and replaced with simply ".z", so it isn't a problem there.

 {{{g.version --q}}} currently prints only version number. Well, probably
 it's not a good idea, verbose levels are used for progress information
 which is not this case. What do you think?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/587#comment:34>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list