Merge ~cjwatson/launchpad:version-info-outside-git into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | e13a5160434255d831c7ed8697c6d5fe72101126 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:version-info-outside-git |
Merge into: | launchpad:master |
Diff against target: |
38 lines (+7/-1) 3 files modified
.gitignore (+1/-0) Makefile (+1/-1) scripts/update-version-info.sh (+5/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+412679@code.launchpad.net |
Commit message
Cope with running outside a git tree
Description of the change
It would be useful to be able to produce Launchpad deployment artifacts that have their version information pregenerated and don't require a git working tree. This only requires a small number of tweaks: the main one is that we need to ensure that `talisker.config` has a usable strategy for discovering the current revision, which is just a matter of writing a `version-info.txt` file to go alongside `version-info.py`.
To post a comment you must log in.
LGTM
#TIL: we use talisker