summaryrefslogtreecommitdiff
path: root/bin/update
AgeCommit message (Collapse)Author
2017-11-16updater: improve message for failed update generationMarkus Mohrhard
Change-Id: Iadfcdd58ca77d0906583c63ff81170f54c8c0ecd
2017-09-28updater: make sure the target dir exists while writing update infoMarkus Mohrhard
Change-Id: I6cafdb28468d0023a0a1ea8cc2c051e9b84a1c6c
2017-09-28fix the command line argument limit problem for incremental build generationMarkus Mohrhard
Change-Id: I934c8196e260573cd0bc4f74066ea6082ab3c6c3
2017-08-20updater: move the update channel info from the config to versionrcMarkus Mohrhard
Change-Id: Id19578a889de51cacac869d7ec681c5c18c40cf9 Reviewed-on: https://gerrit.libreoffice.org/41365 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-20updater: another place needs to handle additional dir level on windowsMarkus Mohrhard
Change-Id: I04f784d317b8cfeea25932728f03c92b0b73c70e
2017-08-20updater: replace whitespace in dir names and strip the extra win dir layerMarkus Mohrhard
Change-Id: I543b903157d44038468eb4d92261dfd0d8b2909b
2017-08-06updater: fix small python issueMarkus Mohrhard
Change-Id: I0834a088af1527e4ed0d181f9e3a63ee82d0e980
2017-08-06updater: handle paths with spaces correctlyMarkus Mohrhard
Change-Id: I8089f1e2b46a242562608431e56c5da4c63fdb01
2017-08-06Fix typos in codeAndrea Gelmini
Change-Id: I49bcc55e1f91ee88cffafbe408f9d5f9e7ed0d16 Reviewed-on: https://gerrit.libreoffice.org/40796 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-08-05updater: disable lang pack handling for windowsMarkus Mohrhard
Change-Id: Ie3005a3fd4bc491cea0dd965931a7c0ac7ef813e Reviewed-on: https://gerrit.libreoffice.org/40781 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-05updater: abort if there are not enough command line parametersMarkus Mohrhard
Change-Id: Ifb982aa4a0c496e1e21f762bd4e20241e41d4ea2 Reviewed-on: https://gerrit.libreoffice.org/40780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-05updater: convert to unix path in another placeMarkus Mohrhard
Change-Id: I07ab2d69891975c93ab1824410eacc30eb98fcb5 Reviewed-on: https://gerrit.libreoffice.org/40779 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-04updater: get the partial update generation working on windowsMarkus Mohrhard
Change-Id: I01d8958801e7c5b2d08dd79b0469dfab1f6dee72 Reviewed-on: https://gerrit.libreoffice.org/40757 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-04updater: handle windows path in cygwin correctlyMarkus Mohrhard
This is a huge mess. Any windows executable does not understand cygwin paths but for example the bash script only understands unix paths. Additionally, os.path is unixpath so it is not able to correctly handle windows paths. We therefore convert everything that we need to handle to unix paths and only the few paths that are passed in the end to windows executables back to the native format. We selected mixed mode (windows path with forward slash) to allow the unix scripts to manipulate paths. Change-Id: Ic443415ff5e8277bf0bb8704bbafd35f50767288 Reviewed-on: https://gerrit.libreoffice.org/40755 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-04updater: check that access to mandatory externals is workingMarkus Mohrhard
Change-Id: Ica68488f4e39c958a913936573cee67c1ff69175 Reviewed-on: https://gerrit.libreoffice.org/40754 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-04updater: initial working on windows support for mar file generationMarkus Mohrhard
Change-Id: Ia91724afbb258c7667dd18e76a32be24bff369ef Reviewed-on: https://gerrit.libreoffice.org/40753 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-06-17updater: expand ~ to $HOME in config path of uploader scriptMarkus Mohrhard
Change-Id: I8c5ce1a2c256fbaf046fbe73e5574d48cd3f3a7a
2017-05-27fix construction of directory pathMarkus Mohrhard
Change-Id: I5fa7ce762ae7e429f685a52b0fed1a1f120da8dd
2017-05-19take the update server url from the configMarkus Mohrhard
Change-Id: I9960cbc0b0c9037a1c9cf0ef7a9699bb09ad054e
2017-05-19fix errors in upload scriptsMarkus Mohrhard
Change-Id: I0ee9fbef7b80e5d37800b4fb9daff7e8ba46d65d
2017-05-19integrate the partial update info into the uploaded infoMarkus Mohrhard
Change-Id: I1b6fc7970d3010c63ae910d55103efb504e15b53
2017-05-19use file instead of complete for the key of the partial update infoMarkus Mohrhard
Change-Id: Ifbb482a4fd9c1c92e9cdd7769d4b16160de14a86
2017-05-19add missing fileMarkus Mohrhard
Change-Id: I7cd9d541b90f4f6b38aa5e36e295e7677bb22f58
2017-05-19use the shared signing codeMarkus Mohrhard
Change-Id: Ica0fad83820569623f3cc2f0217ac9cd8ee19257
2017-05-19simplify path handling in the updater scriptsMarkus Mohrhard
Change-Id: Idcf7f9cedc2368f6a4e4e10c2852cc9b1125b712
2017-05-19create valid partial language updates and write partial update infoMarkus Mohrhard
Change-Id: I4000523cfc944657714267958836dd3ce4ec3b0d
2017-05-19extract the mar signing codeMarkus Mohrhard
Change-Id: I007b0b68a61242b7255a1a58a3637e3307d675aa
2017-05-19extract mar file name generationMarkus Mohrhard
Change-Id: If928cae4c722354d5c3e415e7cb8426a3a4412f7
2017-05-19reuse the new extract mar code for the partial update generationMarkus Mohrhard
Change-Id: Ie8c92472631034935e73e55c934ce128c7b6ecd2
2017-05-19ignore the precomplete file at least for nowMarkus Mohrhard
Change-Id: I997bdc38f705d7536a99a168815ece93dcf0c0de
2017-05-19add a script to extract and uncompress from a mar fileMarkus Mohrhard
Change-Id: I87c11b8f7d42bc438b88482a8dd3fd1512a06df8
2017-05-19remove the split functionality from the update creationMarkus Mohrhard
Change-Id: I036cabff089a2cf464c887ee78b702637cce08b0
2017-05-19start working on the creation of partial update filesMarkus Mohrhard
Change-Id: I13a70e0b12090a7e23529bc35240cefc13d17779
2017-05-19send the csrf token with the updater scriptsMarkus Mohrhard
Change-Id: Iad6953b8206ba02ca09069115e168230b27f72fe
2017-05-19handle signing errors much betterMarkus Mohrhard
Change-Id: I94be7b3626b9ac3389cba0bee640923adda0f118
2017-05-19error out if the path to the updater config is emptyMarkus Mohrhard
Change-Id: Ic199b15222836e096e32203d3458487fead6e3e1
2017-05-19add the manifest file to the mar fileMarkus Mohrhard
Change-Id: I3640d11dba5178cdd9bc49a4630f287b1775640e
2017-05-19make sure that the upload command succeedsMarkus Mohrhard
Change-Id: I18988f949082763a06d6d44175e977b8c6c37cdd
2017-05-19move most of the updater settings to ini fileMarkus Mohrhard
Also finally add the initial version of the upload scripts. Change-Id: I3ad5bcbeba60f0cf9700e5fe5001a24f162a3244
2017-05-19create complete and correct build_config files for the updaterMarkus Mohrhard
Change-Id: I4f6b7aecc24d42d6b248cb8d959aeab59af963c2
2017-05-19we only need the signed mar filesMarkus Mohrhard
Change-Id: Id40651ab3faa5eea68ba5437b2b3fa409b1aed93
2017-05-19improve the build system part for generating mar filesMarkus Mohrhard
Change-Id: If28cca535da20e4633ce025e39a967820eae6945
2017-05-19don't use MOZ_ prefixed env varsMarkus Mohrhard
Change-Id: I35e2321986f6372fc05f3183b8f74580c259f054
2017-05-19also include the platform into the build configMarkus Mohrhard
Change-Id: Ia586e813b33dde0e0b2468c54bed9471c03e8c5a
2017-05-19change of plans, we are not going to use balrogMarkus Mohrhard
Balrog makes a lot of assumptions about the Mozilla infrastructure that we can't clone. As an example the whole admin interface assumes an external authenication system, most likely LDAP. Also it would not support my plans for language pack and SDK handling. We will copy some of the ideas of Balrog but will need an own simple webservice for that. Change-Id: I2e31f3ef7887b19edcd248ddbd02a1965f71b3e3
2017-05-19use the new file based approach for the mar creationMarkus Mohrhard
Change-Id: Ie025709b76960b1dd850fbb2d1f114f7a413611a
2017-05-19add makefile part to generate mar file and update infoMarkus Mohrhard
We still need some parts for the partial update files but we already generate the build information and the complete mar file. Change-Id: I2ae0de0b83518bc3093848b66b6f3054ebd388e1
2017-05-19add files to send update info to balrog serverMarkus Mohrhard
Change-Id: Iffd2c87987c7bb0b3f892bf8b3038822daf67439
2017-05-19add script for incremental mar generationMarkus Mohrhard
Change-Id: Icb444e71d62c69d83e4c0a2ab78f6eeed4d80a1a
2017-05-19add script to generate complete mar filesMarkus Mohrhard
Script is taken from http://hg.mozilla.org/mozilla-central/file/tip/tools/update-packaging Change-Id: I98237266f543441b98bc22e217eb70d87e6a007c