Bug #1369

Project version cannot be defined if a shallow clone is used

Added by J. Wienke about 11 years ago. Updated about 11 years ago.

Status:ResolvedStart date:01/29/2013
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:Python
Target version:rsb-0.9

Description

See #1367 for reasons. At least preserve the hash if git describe failes.


Related issues

Copied from Robotics Service Bus - Bug #1368: Project version cannot be defined if a shallow clone is used Resolved 01/29/2013

Associated revisions

Revision f02b3db4
Added by J. Wienke about 11 years ago

Define the last commit hash using git log instead of git describe.

This ensures that the hash is also present on shallow clones where git describe fails.

refs #1369

History

#1 Updated by J. Wienke about 11 years ago

  • Target version changed from rsb-0.9 to rsb-0.7

#2 Updated by J. Wienke about 11 years ago

  • Target version changed from rsb-0.7 to rsb-0.9

Python also only has support for this in 0.9. Fixed.

Also available in: Atom PDF