[postgis-devel] [PostGIS] #1518: Report SVN revision in PostGIS_Full_Version

PostGIS trac at osgeo.org
Thu Feb 2 07:04:26 PST 2012

#1518: Report SVN revision in PostGIS_Full_Version
 Reporter:  realityexists  |       Owner:  pramsey      
     Type:  enhancement    |      Status:  new          
 Priority:  medium         |   Milestone:  PostGIS 2.0.0
Component:  postgis        |     Version:  trunk        
 Keywords:                 |  

Comment(by mcayland):

 Right, but then changing the output of postgis_full_version() is going to
 break a lot of existing scripts which already parse its output. And also,
 it doesn't answer the question as to how to get the revision number
 embedded within the file in the first place (it's a classic chicken-and-
 egg situation - you don't know the revision until you've done the
 checkout, and you can't automatically include the revision number within
 something you haven't checked out). The only solution I can see is to
 include it later as part of the packaging stage, which is outside the
 scope of SVN.

Ticket URL: <https://trac.osgeo.org/postgis/ticket/1518#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.

More information about the postgis-devel mailing list