8aeb7ecfea
Don't check opkg_commands-file in the system-filesystem to remove
...
confusing error-messages.
2023-10-19 13:43:53 +02:00
4bb8e241b6
Update process: check sanity of customer repository: are etc/ and
...
opt/directories contained? If not, remove the repository and clone it
again. This is done without checking the ISMAS-WAIT-button.
2023-10-19 13:41:44 +02:00
4469a23f9c
Implemented helpers:
...
bool isRepositoryCorrupted();
bool repairCorruptedRepository();
int sendCloneAndCheckoutSuccess();
int sendCloneAndCheckoutFailure();
int sendIsmasTriggerFailure();
2023-10-19 13:39:48 +02:00
d1f795e2db
Added helpers:
...
bool isRepositoryCorrupted();
bool repairCorruptedRepository();
int sendCloneAndCheckoutSuccess();
int sendCloneAndCheckoutFailure();
int sendIsmasTriggerFailure();
and static variables
static constexpr const int CLONE_AND_CHECKOUT_SUCCESS = 0;
static constexpr const int CLONE_AND_CHECKOUT_FAILURE = -3;
static constexpr const int ISMAS_TRIGGER_FAILURE = -5;
2023-10-19 13:38:16 +02:00
6865056f4b
Replace regex in gitCloneCustomerRepository() with straight-forward
...
steing-handling: regex sometimes returned error.
2023-10-19 13:35:07 +02:00
37bd5c90d3
Add printUpdateStatus() helper for QString
2023-10-19 13:34:07 +02:00
fcba120dfa
Minor: commented out unnecessary debug/info output
2023-10-18 16:21:44 +02:00
1d4f50fb9f
Add printing-utils that also take string-lists
2023-10-18 16:20:49 +02:00
a78040a037
Minor: add error-debug-message in ase customer-nr is wrong
2023-10-18 16:19:37 +02:00
9b175d7789
Set version to 1.3.12
2023-10-18 11:45:54 +02:00
2d7f145a25
Replaced using gitFetch() with gitPull()
2023-10-18 11:40:04 +02:00
4589c4ca76
Removed gitFetchAndDiff() and original version of gitPull().
2023-10-18 11:38:26 +02:00
a32258a59e
Replaced "git fetch" with "git pull".
2023-10-18 11:37:46 +02:00
22f25e5251
Replaced 'git clone' with 'git clone --filter=blob:none' to speed
...
up cloning of customer-repository.
2023-10-18 11:36:13 +02:00
258d883a51
Replaced gitFetch() with gitPull()
2023-10-18 11:35:23 +02:00
504e242d42
Implemented getATBUpdateToolYoctoVersion() and getATBUpdateToolYoctoInstallationStatus()
2023-10-18 11:31:15 +02:00
731cdcbe09
Added getATBUpdateToolYoctoVersion() and getATBUpdateToolYoctoInstallationStatus()
2023-10-18 11:30:12 +02:00
b4e2d4c54a
Minor: Move reading of machine_nr, customer_nr and zone_nr upwards.
2023-10-18 11:28:06 +02:00
42961dea40
Add command-parameters yoctoVersionOption (yocto-version of
...
ATBUpdateTool as reported by opkg), and yoctoInstallStatusOption (info
if ATBUpdateTool is installed as reported by opkg).
2023-10-18 11:26:30 +02:00
fd2f601f67
Add printAupdateStatusMsg().
2023-10-18 11:21:32 +02:00
b45af505cd
Minor: change output format.
2023-10-18 11:21:08 +02:00
2dfe80b654
Add printUpdateStatusMsg()
2023-10-18 11:20:31 +02:00
4b9dcc5e99
Set version to 1.3.11: integrate extended version (VERSION + last git
...
commit) in send-last-version-message.
2023-10-12 12:13:49 +02:00
53639b55c9
Integrate call parameter -V (= --extended-version) to show extended
...
version (including last git commit)
2023-10-12 12:12:16 +02:00
3a83efbd3f
Integrate extended version of ATBUpdateTool into send-last-version command to ISMAS.
2023-10-12 12:11:48 +02:00
c9d6a8d245
Integrate extended version of ATBUpdateTool into send-last-version
2023-10-12 12:10:24 +02:00
91db59b9f3
Integrate version of ATBUpdateTool in send-last-version.
2023-10-12 12:09:19 +02:00
1d81e6b650
Minor: removed unused code.
2023-10-12 12:08:19 +02:00
6d57b45d1a
Use getATBQTVersion() for dynamic value of atbapp.
2023-10-12 12:07:38 +02:00
4e7ce2cd70
set version to 1.3.10: remove timeout on opkg-commands. tested download of DC2C_cash.conf file.
2023-10-10 16:05:16 +02:00
47fac31223
remove timeout for process runtime for opkg-commands
2023-10-10 16:03:52 +02:00
0d353cfbcf
Check if opkg_command failed, and if this is the case, stop the
...
update-process without showing a wrong UPDATE-SUCCESS.
2023-10-10 16:01:45 +02:00
bdcb073bf8
set version to 1.3.9
2023-10-10 14:26:20 +02:00
226553a8ab
Set version to 1.3.9 after fix of gitShowReason().
2023-10-09 15:57:11 +02:00
d4ee56559b
Use getShowReason() with branchName. Use getOsVersion(0 and
...
getApismVersion().
2023-10-09 15:54:58 +02:00
355b28ba40
Use current branch name in gitShowReason(), not just master
2023-10-09 15:53:35 +02:00
edeff35d7e
Activate download of json-configuration files.
2023-10-06 13:02:23 +02:00
09d5de1b0b
rsync: check if source directories in customer repositories exist.
2023-10-06 13:00:25 +02:00
145fdab26e
Minor: fixed output format (in text edit)
2023-10-06 13:00:00 +02:00
89d1ec5b21
Deactivate download of device controller. Will be added in coming
...
version.
2023-10-06 12:58:38 +02:00
f38c975dc6
Remove check for which parent has started atbupdatetool: it is always
...
systemd now.
2023-10-06 12:57:38 +02:00
fba007aa35
Activate download of json-configuration files.
2023-10-06 12:56:03 +02:00
8b6adb3ea7
Scrolldown text edit at end of whole update process to show
...
UPDATE_SUCCESS message.
2023-10-06 12:51:30 +02:00
30603317c6
Minor: Add debug messages or change debug message format.
2023-10-06 10:47:08 +02:00
7083f3b4f8
Minor: add debug message.
2023-10-06 10:44:55 +02:00
7ff866525e
Fix: allow for json-files EC2C_conf/cash/device.json as well.
2023-10-06 10:43:55 +02:00
2164037123
Do not use opkg_commnands-file as located in the filesystem under
...
/etc/psa_update anymore.
2023-10-06 10:42:35 +02:00
2e7d33c4c8
Set version to 1.3.7: wait forever for git-commands to finish in QProcess.
2023-10-05 10:54:19 +02:00
2a2751f6f3
Add creation of BUILD_DATE and BUILD_TIME
2023-10-04 14:34:54 +02:00
2764ef4371
Output of current tool version at program startup
2023-10-04 14:33:52 +02:00