James Duley
a70c972572
OP-1733_version-info.py_check_for_json_first
2015-02-19 10:43:15 +13:00
James Duley
993eeeda75
OP-1639 make non-git source: added save version info to json
2014-12-01 10:02:32 +13:00
James Duley
bf335d6eaa
OP-1639 make non-git source: added load version info from json
2014-12-01 10:01:56 +13:00
Oleg Semyonov
444431579e
OP-770: add/rename some version-info.py template variables
2013-05-25 23:02:29 +02:00
Oleg Semyonov
dd181904fc
Fix version-info.py utility to back off gracefully if no git in the PATH
2013-05-02 19:05:00 +02:00
Oleg Semyonov
8c6f24afef
version-info.py: fix coding style
2013-03-24 13:03:49 +02:00
Oleg Semyonov
e09705d604
Makefile: add build-info target (for CI builds)
2013-02-04 15:56:11 +02:00
Oleg Semyonov
1e3c47dffa
version-info.py: reformat source according to python style guide
...
http://www.python.org/dev/peps/pep-0008/#indentation
"Use 4 spaces per indentation level."
2012-12-14 03:10:33 +02:00
Oleg Semyonov
58e62d4f86
[OP-703] Add default string as a source origin when using build servers
...
Bamboo does not preserve git repository origin when making builds, and
it is shown later in About dialog as "Built from None". This patch fixes
that providing more accurate source description.
2012-12-14 03:08:20 +02:00
Oleg Semyonov
8079c669f7
[OP-703] Fix for missing ")" in a comment
2012-12-04 02:34:39 +02:00
Oleg Semyonov
3668ecede3
[OP-703] Add new variables to version-info.py and use them in Makefiles
...
${REVISION} - revision info string (tag or branch:hash date time)
${LABEL} - package label string (tag or date-hash)
${DAY} - day of last commit
${MONTH} - month of last commit
${YEAR} - year of last commit
2012-12-04 00:46:49 +02:00
Oleg Semyonov
2e69258ec5
version-info.py: add ${TAG} variable to the dictionary
2012-10-22 19:54:04 +03:00
Oleg Semyonov
8bfae017bd
version-info.py: ability to use positional arguments as extra dictionary keys
2012-10-22 19:52:13 +03:00
Stacey Sheldon
bc13c20bf3
uavohash: normalize line endings before computing hash
...
Line endings in the UAVO XML files differ from file to file
and this results in different SHA1 sums being computed on
Windows vs. Linux/Mac.
This normalizes the line endings to LF (python native) while
processing the XML files.
2012-10-14 13:33:58 -04:00
Stacey Sheldon
6da6274543
version-info: add subst for text version of UAVO sha1sum
2012-10-10 00:35:13 -04:00
Stacey Sheldon
6b2d1e3d6f
uavo hash: ensure that uavo hash is stable across OSes
...
In python, os.walk() is not sorted. This can result in the
hash being computed over the files in different orders on
different OSes, or even after touching a directory.
This ensures that the files are considered in lexical order
so that the hash is stable.
2012-09-23 20:45:06 -04:00
PT_Dreamer
6d7fa8a083
Flight-Added sha1 uavo directory calculation to fw_version_info struct.
2012-09-14 23:31:13 +01:00
Oleg Semyonov
41b03c92ee
build: change FWTAG replacement to keep suffix intact and trim branch/tag only
2011-05-26 09:01:44 -04:00
Oleg Semyonov
75d4f19d30
build: add FWTAG variable to the version-info.py
2011-05-26 09:01:32 -04:00
Stacey Sheldon
9854c18c5d
version-info: allow unannotated tags
...
Unannotated (ie. movable) tags will now influence the
tag/hash reported in the version info blob attached to
the firmware image (.opf).
2011-05-23 18:21:42 -04:00
Oleg Semyonov
5c085550cb
OP-483: include dirty state of repository into the version string
2011-05-22 12:00:49 +03:00
Oleg Semyonov
6f5f334818
OP-483: fallback to optparse to improve python script portability
2011-05-21 21:00:12 +03:00
Oleg Semyonov
285c429589
OP-483: add Windows installer target to 'make release'
2011-05-19 01:05:12 +03:00
Oleg Semyonov
25c44d3d0d
OP-483: polish comments in scripts
2011-05-18 21:48:55 +03:00
Oleg Semyonov
bf9a3ef7d3
OP-483: add version-info.py script for software, firmware and release packaging
2011-05-17 21:29:22 +03:00