Ticket #2106 (new bug) — at Initial Version
git_describe configuration value not correct
Reported by: | pmichaud | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 3.3.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
After performing "git pull" and receiving new commits, the value of "git_describe" reported by parrot_config and "parrot --version" is incorrect. A re-run of Configure.pl is needed to bring the values up to date.
Rakudo solves this problem by calculating the git-describe value at the time Rakudo is built. The larger source has a static .include "src/gen/version.pir" -- the Makefile then generates src/gen/version.pir to contain
.macro_const RAKUDO_VERSION "<git-describe-value>" .macro_const RAKUDO_BUILD_DATE "<rakudo-build-date>"
Hope this helps.
Pm
Note: See
TracTickets for help on using
tickets.