Refactors the Powershell scripts that download and upload files and create .download_info files.
This change is based on #14236/#14254 which bypasses the path rewriting that msys does when calling Windows rsync.
Refactors the Powershell scripts that download and upload files and create .download_info files.
This change is based on #14236/#14254 which bypasses the path rewriting that msys does when calling Windows rsync. Part of this change was done for developer in #14255.
Refactors the Powershell scripts that download and upload files and
create .download_info files.
This change is based on #14236/#14254 which bypasses the path rewriting
that msys does when calling Windows rsync.
Fixes: #14226
Related: #14236
Build-bot: skip
Test-bot: skip
Refactors the Powershell scripts that download and upload files and
create .download_info files.
This change is based on #14236/#14254 which bypasses the path rewriting
that msys does when calling Windows rsync. Part of this change was done
for developer in #14255.
Related: #14236, #14255
The build agents have the env variable `SEVENZ_HOME` set instead of `SEVEN_Z_HOME`. That name is also used elsewhere, so this PR changes it to the more widespread name.
The build agents have the env variable `SEVENZ_HOME` set instead of
`SEVEN_Z_HOME`. That name is also used elsewhere, so this PR changes it
to the more widespread name.
Fixes: #14242
Follow-up-of: #14225
Build-bot: skip
Test-bot: skip
This fixes a deployment problem which seems have been around since 17.0. We also have to deploy the `web/build/publish` folder which contains all the files necessary to load and run the test keyboards.
This fixes a deployment problem which seems have been around since 17.0.
We also have to deploy the `web/build/publish` folder which contains all
the files necessary to load and run the test keyboards.
The fix can only be tested after a release build has happened and the
files have been deployed.
Fixes: #14234
Build-bot: skip
Test-bot: skip
This change prefixes functions with `ba_` that are intended to be run on a Linux build agent. That should make it easier to distinguish them from functions that deal with building Keyman for Linux.
Refactors the Powershell script which built the .download_info file for
web into the keyman-web-release.sh script, and then bypasses the path
rewriting that msys does when calling a Windows executable (rsync).
This was tricky because msys was mangling all the paths to Windows-style
but we specifically need to reference one remote Unix-style path in the
rsync call. As we wanted to move away from the Powershell script anyway,
it was cleaner to resolve this in one go by moving the whole script to
bash.
The new tc-download-info.inc.sh script is a minimally generalized
version of the download_info writing from keyman-linux-release.sh, and
once the dust settles, it would be good to DRY this out.
Note that this is still Windows-only, despite the rest of the build
being basically platform-agnostic. I wanted to get this stable before we
generalize, which should be fairly straightforward, as it's only the
rsync call which will be touched.
Tested locally with a drop-in Windows executable that just prints its
arguments, to verify that path mangling is not occurring where we don't
want it. The DEBUG lines in keyman-web-release.sh will be removed once
we are confident this is correct.
Fixes: #14225
This change prefixes functions with `ba_` that are intended to be run on
a Linux build agent. That should make it easier to distinguish them from
functions that deal with building Keyman for Linux.
Test-bot: skip