Project

General

Profile

Bug #15547

In cut versions, we print a "fatal" git error trying to get the version from git.

Added by Marc Mengel almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
02/14/2017
Due date:
% Done:

100%

Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

History

#1 Updated by Marc Mengel almost 3 years ago

This code should believe the $SETUP_POMS environment variable about
what version it is, if there is one; if there isn't a version there,
then we could ask git for a tag or whatever...

#2 Updated by Marc Mengel over 2 years ago

  • Target version set to v2_1_1

#3 Updated by Marc Mengel over 2 years ago

Of course, this is also wrong, as we move to non-UPS distribution of POMS...

Sigh.

#4 Updated by Marc Mengel over 2 years ago

Okay, so now we try the git describe bit to get a tag, and if we get it , cache it in $POMS_DIR/.version. If we fail to get the tag from git, we read the version data from $POMS_DIR/.version. in either case, the call to git has stderr redirected to /dev/null, so we should never see any errors it prints.

#5 Updated by Marc Mengel over 2 years ago

  • Status changed from New to Resolved

#6 Updated by Marc Mengel over 2 years ago

  • % Done changed from 0 to 100

#7 Updated by Marc Mengel over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF