Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#794 closed defect (fixed)

Rename geos_svn_revision.h to geos_revision.h, generate from git

Reported by: strk Owned by: geos-devel@…
Priority: major Milestone: GEOS Fund Me
Component: Default Version:
Severity: Unassigned Keywords: git
Cc:

Description

Would be needed to switch, see #792

Change History (23)

comment:1 by strk, 7 years ago

In 4388:

Rename geos_svn_revision.h to geos_revision.h

See #794

comment:2 by strk, 7 years ago

In 4389:

Rename svn_repo_revision.sh to repo_revision.sh

.. even if it still only extracts the *SVN* revision (also from git log).
See #794

comment:3 by strk, 7 years ago

I think the only missing step here is a rename of the macros to drop SVN and ensuring that if latest commit is NOT having an svn revision info metadata the revision is reported as git describe --always

comment:4 by strk, 7 years ago

In 4390:

Rename GEOS_SVN_REVISION macro and cmake script to GEOS_REVISION

... even if it's still just the SVN revision that it contains
See #794

comment:5 by strk, 7 years ago

In 4392:

Turn GEOS_REVISION value into a string

Propedeutic to optionally use an hash in there, or other non-SVN
identifiers (see #794)

comment:6 by strk, 7 years ago

Resolution: fixed
Status: newclosed

In 4393:

Use git describe as revision code if SVN metadata is not available

Fixes #794

comment:7 by strk, 7 years ago

In 4396:

Add support for GIT only revision references

Backports revisions 4388-4396 from trunk

Fixes #794 for 3.6 branch

comment:8 by Sandro Santilli <strk@…>, 7 years ago

In 2e58032/git:

Rename geos_svn_revision.h to geos_revision.h

See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4388 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:9 by Sandro Santilli <strk@…>, 7 years ago

In f3440ab/git:

Rename svn_repo_revision.sh to repo_revision.sh

.. even if it still only extracts the *SVN* revision (also from git log).
See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4389 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:10 by Sandro Santilli <strk@…>, 7 years ago

In f10c9183/git:

Rename GEOS_SVN_REVISION macro and cmake script to GEOS_REVISION

... even if it's still just the SVN revision that it contains
See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4390 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:11 by Sandro Santilli <strk@…>, 7 years ago

In 4a2dc22/git:

Turn GEOS_REVISION value into a string

Propedeutic to optionally use an hash in there, or other non-SVN
identifiers (see #794)

git-svn-id: http://svn.osgeo.org/geos/trunk@4392 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:12 by Sandro Santilli <strk@…>, 7 years ago

In a6221c0/git:

Use git describe as revision code if SVN metadata is not available

Fixes #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4393 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:13 by Sandro Santilli <strk@…>, 7 years ago

In 2e58032/git:

Rename geos_svn_revision.h to geos_revision.h

See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4388 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:14 by Sandro Santilli <strk@…>, 7 years ago

In f3440ab/git:

Rename svn_repo_revision.sh to repo_revision.sh

.. even if it still only extracts the *SVN* revision (also from git log).
See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4389 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:15 by Sandro Santilli <strk@…>, 7 years ago

In f10c9183/git:

Rename GEOS_SVN_REVISION macro and cmake script to GEOS_REVISION

... even if it's still just the SVN revision that it contains
See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4390 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:16 by Sandro Santilli <strk@…>, 7 years ago

In 4a2dc22/git:

Turn GEOS_REVISION value into a string

Propedeutic to optionally use an hash in there, or other non-SVN
identifiers (see #794)

git-svn-id: http://svn.osgeo.org/geos/trunk@4392 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:17 by Sandro Santilli <strk@…>, 7 years ago

In a6221c0/git:

Use git describe as revision code if SVN metadata is not available

Fixes #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4393 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:18 by Sandro Santilli <strk@…>, 7 years ago

In 2e58032/git:

Rename geos_svn_revision.h to geos_revision.h

See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4388 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:19 by Sandro Santilli <strk@…>, 7 years ago

In f3440ab/git:

Rename svn_repo_revision.sh to repo_revision.sh

.. even if it still only extracts the *SVN* revision (also from git log).
See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4389 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:20 by Sandro Santilli <strk@…>, 7 years ago

In f10c9183/git:

Rename GEOS_SVN_REVISION macro and cmake script to GEOS_REVISION

... even if it's still just the SVN revision that it contains
See #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4390 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:21 by Sandro Santilli <strk@…>, 7 years ago

In 4a2dc22/git:

Turn GEOS_REVISION value into a string

Propedeutic to optionally use an hash in there, or other non-SVN
identifiers (see #794)

git-svn-id: http://svn.osgeo.org/geos/trunk@4392 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:22 by Sandro Santilli <strk@…>, 7 years ago

In a6221c0/git:

Use git describe as revision code if SVN metadata is not available

Fixes #794

git-svn-id: http://svn.osgeo.org/geos/trunk@4393 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:23 by robe, 6 years ago

Milestone: GEOS FutureGEOS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.