Bugzilla – Bug 2814
run waf sphinx without Mercurial
Last modified: 2020-01-24 08:21:34 EST
Discussed on the zulip chat recently; Matt requested to be able to run ./waf --sphinx without mercurial being installed on a system. The file 'get_version.sh' could be modified to fall back to something else (like VERSION) if hg is not found.
Created attachment 2945 [details]
suppresses printing version if hg not found
Revisit this once Matt Bielejeski's BuildVersion patch is merged.
Is this issue active yet?
If yes, then can I get some more specific description?
We have a new feature to release, BuildVersion, which enables the simulation script to report the source code version, including most recent release tag, commit hash, number of commits since tag, whether the repo has uncommitted edits.
This involves auto-generating an include file with the version information. get_version.sh could get the info it needs from this new version file, rather than relying on hg/git directly.
@Parth: I suggest waiting until we have published BuildVersion, then looking at how to refactor get_version.sh.
Okay, then I'll look for any other issue till that!