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

PostGIS trac at osgeo.org
Mon Feb 13 00:26:27 PST 2012


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

Comment(by strk):

 How it should work:

  1. Always try to get SVN revision (svn exists, you have an .svn)
  2. Compare the SVN revision got with what's in the existing
 postgis_svn_version.h
  3. At "make" time, only update postgis_svn_version.h if you detected
 something _and_ what you detected is different from what
 postgis_svn_version.h knows about
  4. Always distribute postgis_svn_version.h

 Supposedly any case in which (1) would fail would have a
 postgis_svn_version.h in it.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1518#comment:17>
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