1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
James Duley
b73c88b188 OP-1806 version info escape strings for C.
Added option "--escape" which uses json.dumps to do escaping
2015-04-23 13:40:03 +12:00
Alessio Morale
5a9cfa64a8 OP-1778 - workaround cert issue with wget. 2015-03-11 12:23:31 +01:00
James Duley
655e907506 OP-1695 Ubuntu PPA: remove dirty from version-info.json 2015-03-03 17:51:43 +13:00
James Duley
f0cab73fdd OP-1736 make package label meaningful 2015-02-26 09:56:55 +13:00
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
Philippe Renon
40f648eab1 OP-1255 Windows toolchain : upgraded Qt from version 5.1.1 to version 5.2.1
- Qt installer is now downloaded from official web site
- Qt is not anymore tweaked to contain the SDL SDK (see OP-1263)
- Installing Qt now requires 7-Zip to be available (run "./make/scripts/win_sdk_install.sh [<OpenPilot tools dir>]" to get it)
- SLD needs to be installed with "make sdl_sdk_install"
KNOWN ISSUE : GCS build fails unless V=1 command line arg is provided
2014-03-20 00:46:05 +01:00
Alessio Morale
18e0269dc6 OP-1160 Fix uncrustify to automatically run twice for each file 2014-01-13 21:58:33 +01: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
15fd460275 Normalize line endings for *.sh after .gitattributes update 2013-04-24 20:09:38 +02:00
Oleg Semyonov
8d1e1fdbc0 tools: make uncrustify_install target, script and base config file
See also: OPIN-3
2013-04-22 21:35:25 +02:00
Oleg Semyonov
ea06337573 OP-719: make/scripts/win_sdk_install.sh 2013-04-12 10:56:06 +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