Markus Mohrhard
f94d98db1b
updater: improve message for failed update generation
...
Change-Id: Iadfcdd58ca77d0906583c63ff81170f54c8c0ecd
2017-11-16 23:19:34 +01:00
Markus Mohrhard
1047b426ed
updater: make sure the target dir exists while writing update info
...
Change-Id: I6cafdb28468d0023a0a1ea8cc2c051e9b84a1c6c
2017-09-28 18:40:01 +02:00
Markus Mohrhard
d239ac8e4b
fix the command line argument limit problem for incremental build generation
...
Change-Id: I934c8196e260573cd0bc4f74066ea6082ab3c6c3
2017-09-28 15:06:00 +02:00
Markus Mohrhard
22aaa9be2e
updater: move the update channel info from the config to versionrc
...
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-20 21:52:40 +02:00
Markus Mohrhard
b9f85538e6
updater: another place needs to handle additional dir level on windows
...
Change-Id: I04f784d317b8cfeea25932728f03c92b0b73c70e
2017-08-20 01:39:06 +02:00
Markus Mohrhard
257fb1141f
updater: replace whitespace in dir names and strip the extra win dir layer
...
Change-Id: I543b903157d44038468eb4d92261dfd0d8b2909b
2017-08-20 00:25:17 +02:00
Markus Mohrhard
f792584441
updater: fix small python issue
...
Change-Id: I0834a088af1527e4ed0d181f9e3a63ee82d0e980
2017-08-06 22:49:33 +02:00
Markus Mohrhard
1a4351a6a1
updater: handle paths with spaces correctly
...
Change-Id: I8089f1e2b46a242562608431e56c5da4c63fdb01
2017-08-06 22:49:33 +02:00
Andrea Gelmini
a040b71d1b
Fix typos in code
...
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-06 18:30:00 +02:00
Markus Mohrhard
e371ec501d
updater: disable lang pack handling for windows
...
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-05 05:32:13 +02:00
Markus Mohrhard
7d2fa41ca1
updater: abort if there are not enough command line parameters
...
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-05 05:31:55 +02:00
Markus Mohrhard
0ae09b2678
updater: convert to unix path in another place
...
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-05 05:31:42 +02:00
Markus Mohrhard
e74846af51
updater: get the partial update generation working on windows
...
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-04 07:46:40 +02:00
Markus Mohrhard
1878dac5e1
updater: handle windows path in cygwin correctly
...
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-04 06:02:46 +02:00
Markus Mohrhard
954e4dc962
updater: check that access to mandatory externals is working
...
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-04 06:02:40 +02:00
Markus Mohrhard
71b0d8b89d
updater: initial working on windows support for mar file generation
...
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-08-04 06:02:22 +02:00
Markus Mohrhard
b6d3fa93be
updater: expand ~ to $HOME in config path of uploader script
...
Change-Id: I8c5ce1a2c256fbaf046fbe73e5574d48cd3f3a7a
2017-06-17 20:55:47 +02:00
Markus Mohrhard
ea9030461d
fix construction of directory path
...
Change-Id: I5fa7ce762ae7e429f685a52b0fed1a1f120da8dd
2017-05-27 17:41:34 +02:00
Markus Mohrhard
b4ef794ef5
take the update server url from the config
...
Change-Id: I9960cbc0b0c9037a1c9cf0ef7a9699bb09ad054e
2017-05-19 23:14:30 +02:00
Markus Mohrhard
e8bcef2c53
fix errors in upload scripts
...
Change-Id: I0ee9fbef7b80e5d37800b4fb9daff7e8ba46d65d
2017-05-19 03:43:32 +02:00
Markus Mohrhard
ff3e72ae73
integrate the partial update info into the uploaded info
...
Change-Id: I1b6fc7970d3010c63ae910d55103efb504e15b53
2017-05-19 03:43:32 +02:00
Markus Mohrhard
fdb4b34489
use file instead of complete for the key of the partial update info
...
Change-Id: Ifbb482a4fd9c1c92e9cdd7769d4b16160de14a86
2017-05-19 03:43:32 +02:00
Markus Mohrhard
d3c6b7ff4c
add missing file
...
Change-Id: I7cd9d541b90f4f6b38aa5e36e295e7677bb22f58
2017-05-19 03:43:32 +02:00
Markus Mohrhard
a3a74db73e
use the shared signing code
...
Change-Id: Ica0fad83820569623f3cc2f0217ac9cd8ee19257
2017-05-19 03:43:32 +02:00
Markus Mohrhard
4e8a934515
simplify path handling in the updater scripts
...
Change-Id: Idcf7f9cedc2368f6a4e4e10c2852cc9b1125b712
2017-05-19 03:43:32 +02:00
Markus Mohrhard
3bde01f77a
create valid partial language updates and write partial update info
...
Change-Id: I4000523cfc944657714267958836dd3ce4ec3b0d
2017-05-19 03:43:32 +02:00
Markus Mohrhard
208012cf12
extract the mar signing code
...
Change-Id: I007b0b68a61242b7255a1a58a3637e3307d675aa
2017-05-19 03:43:31 +02:00
Markus Mohrhard
25ea5a7a56
extract mar file name generation
...
Change-Id: If928cae4c722354d5c3e415e7cb8426a3a4412f7
2017-05-19 03:43:31 +02:00
Markus Mohrhard
93b0c5bcc7
reuse the new extract mar code for the partial update generation
...
Change-Id: Ie8c92472631034935e73e55c934ce128c7b6ecd2
2017-05-19 03:43:31 +02:00
Markus Mohrhard
eb6c82c7d7
ignore the precomplete file at least for now
...
Change-Id: I997bdc38f705d7536a99a168815ece93dcf0c0de
2017-05-19 03:43:31 +02:00
Markus Mohrhard
f2784997c2
add a script to extract and uncompress from a mar file
...
Change-Id: I87c11b8f7d42bc438b88482a8dd3fd1512a06df8
2017-05-19 03:43:31 +02:00
Markus Mohrhard
cffde6c7d8
remove the split functionality from the update creation
...
Change-Id: I036cabff089a2cf464c887ee78b702637cce08b0
2017-05-19 03:43:31 +02:00
Markus Mohrhard
fab01f73f1
start working on the creation of partial update files
...
Change-Id: I13a70e0b12090a7e23529bc35240cefc13d17779
2017-05-19 03:43:31 +02:00
Markus Mohrhard
f8f7f70d33
send the csrf token with the updater scripts
...
Change-Id: Iad6953b8206ba02ca09069115e168230b27f72fe
2017-05-19 03:43:28 +02:00
Markus Mohrhard
85d4534aeb
handle signing errors much better
...
Change-Id: I94be7b3626b9ac3389cba0bee640923adda0f118
2017-05-19 03:43:27 +02:00
Markus Mohrhard
0bd4bb6674
error out if the path to the updater config is empty
...
Change-Id: Ic199b15222836e096e32203d3458487fead6e3e1
2017-05-19 03:43:27 +02:00
Markus Mohrhard
fb13ed6955
add the manifest file to the mar file
...
Change-Id: I3640d11dba5178cdd9bc49a4630f287b1775640e
2017-05-19 03:43:23 +02:00
Markus Mohrhard
ac647e290d
make sure that the upload command succeeds
...
Change-Id: I18988f949082763a06d6d44175e977b8c6c37cdd
2017-05-19 03:43:23 +02:00
Markus Mohrhard
7f52e3848e
move most of the updater settings to ini file
...
Also finally add the initial version of the upload scripts.
Change-Id: I3ad5bcbeba60f0cf9700e5fe5001a24f162a3244
2017-05-19 03:43:22 +02:00
Markus Mohrhard
641bd98538
create complete and correct build_config files for the updater
...
Change-Id: I4f6b7aecc24d42d6b248cb8d959aeab59af963c2
2017-05-19 03:43:22 +02:00
Markus Mohrhard
6c85141eda
we only need the signed mar files
...
Change-Id: Id40651ab3faa5eea68ba5437b2b3fa409b1aed93
2017-05-19 03:43:22 +02:00
Markus Mohrhard
5276e0fc8a
improve the build system part for generating mar files
...
Change-Id: If28cca535da20e4633ce025e39a967820eae6945
2017-05-19 03:43:21 +02:00
Markus Mohrhard
db2e9dc8eb
don't use MOZ_ prefixed env vars
...
Change-Id: I35e2321986f6372fc05f3183b8f74580c259f054
2017-05-19 03:43:21 +02:00
Markus Mohrhard
a2a62b3385
also include the platform into the build config
...
Change-Id: Ia586e813b33dde0e0b2468c54bed9471c03e8c5a
2017-05-19 03:43:20 +02:00
Markus Mohrhard
1cb3736774
change of plans, we are not going to use balrog
...
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-19 03:43:20 +02:00
Markus Mohrhard
8e4d49340b
use the new file based approach for the mar creation
...
Change-Id: Ie025709b76960b1dd850fbb2d1f114f7a413611a
2017-05-19 03:43:20 +02:00
Markus Mohrhard
1bff19a2c0
add makefile part to generate mar file and update info
...
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-19 03:43:20 +02:00
Markus Mohrhard
b221bbc5f8
add files to send update info to balrog server
...
Change-Id: Iffd2c87987c7bb0b3f892bf8b3038822daf67439
2017-05-19 03:43:19 +02:00
Markus Mohrhard
9870d31aa5
add script for incremental mar generation
...
Change-Id: Icb444e71d62c69d83e4c0a2ab78f6eeed4d80a1a
2017-05-19 03:43:15 +02:00
Markus Mohrhard
7d16d98745
add script to generate complete mar files
...
Script is taken from
http://hg.mozilla.org/mozilla-central/file/tip/tools/update-packaging
Change-Id: I98237266f543441b98bc22e217eb70d87e6a007c
2017-05-19 03:43:15 +02:00