fc587456d5
Filling the QMap Worker:smap with data.
2023-10-30 15:21:26 +01:00
a2b933ab71
Minor: Added UPDATE_STEP_WRONG.
2023-10-30 15:20:15 +01:00
7d0fdf4d6d
Small fixes:
...
1: fixed wrong parameters of a connect().
2: Minor: improved onQuit().
2023-10-30 15:17:59 +01:00
c2ce44c79b
Adding three friend operator<< functions to output status information of
...
the update process: the first on outputs to CONSOLE(), the second one
outputs to ISMAS() and the last one to GUI(), i.e. the text edit of the
main window.
2023-10-30 15:15:30 +01:00
16a9556863
bool customerEnvironment();
...
bool filesToUpdate();
bool updateFiles();
bool syncCustomerRepositoryAndFS();
bool saveLogFile(): remove progress parameter.
2023-10-30 15:14:19 +01:00
48896f97ec
Adding UPDATE_STEP_WRONG: helper variable to be used in text edit of
...
main window.
2023-10-30 15:13:04 +01:00
4486317cb2
dd declaration for getAPISMYoctoVersion() and
...
getAPISMYoctoInstallationStatus(): the first one returning the
yocto-version
of APIS, the second returning the installation status of APIS as display
in 'opkg info'.
2023-10-30 15:11:06 +01:00
6b9b88ea19
Adding member variables to check if customer repository was a fresh
...
clone, or if it was already existent.
2023-10-30 15:09:33 +01:00
99a99d95a1
Adding UPDATE_STEP enum plus associated interger defines.
...
Adding QMap: Worker::smap, which contains names of UPDATE_STEP-members.
2023-10-30 15:07:28 +01:00
d4ddbbee21
Add class UpdateProcessRunning: use for sending SEND-LAST-VERSION as
...
part of its destruktor: RAII-pattern.
2023-10-30 15:05:30 +01:00
34e5189945
comment out some debug output -> too much output.
2023-10-30 15:03:35 +01:00
c44c805238
Use some special output methods using ISMAS(), GUI() nad CONSOLE().
2023-10-30 15:00:57 +01:00
196f1a730e
gitPull(): don't use regex anumore, but just plain
...
string-matching/searching.
Regex seems to be quite error-prone.
2023-10-30 14:59:58 +01:00
7dc04c4422
Add helper function worker(), returning the worker-object.
2023-10-30 14:56:19 +01:00
5efac2619b
sicherung der aenderungen
2023-10-23 16:16:11 +02:00
9b0f741b9b
to be continued on monday
2023-10-22 19:44:45 +02:00
81c5f8ee7e
Save for the weekend.
2023-10-20 13:55:18 +02:00
29e6a25e72
Add comment for version 1.3.13
2023-10-19 13:45:52 +02:00
5abc057bda
Minor: add possible debug messages.
2023-10-19 13:44:51 +02:00
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