1ad13d9a8a
Add:
...
bool const m_alwaysDownloadConfig;
bool const m_alwaysDownloadDC;
2023-11-21 09:53:28 +01:00
1d8b4ce191
Add repository url parameter
2023-11-16 14:14:48 +01:00
e65387aa60
Turned worker-object into a thread
2023-11-07 09:04:05 +01:00
3621777827
Do not disable the exit button.
2023-11-03 13:45:54 +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
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
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
731cdcbe09
Added getATBUpdateToolYoctoVersion() and getATBUpdateToolYoctoInstallationStatus()
2023-10-18 11:30:12 +02:00
c9d6a8d245
Integrate extended version of ATBUpdateTool into send-last-version
2023-10-12 12:10:24 +02:00
cac4f7249e
Minor: Add progress parameters.
2023-09-28 12:01:55 +02:00
7e96b65c1b
Move m_update-object to main window.
...
Add signal for showing status messages at status bar of ATBUpdateTool gui.
2023-09-09 14:38:53 +02:00
c065b57f0c
Remove direct member m_hw, a pointer to the device-controller-plugin.
...
The worker shall not load the plugin, otherwise it would block itself inside
an QT slot.
2023-09-06 09:04:43 +02:00
01d8312aa8
Removed rauc/opkg-members. Added m_apismVersion member.
2023-08-30 11:46:55 +02:00
1509e8619c
Send message to ISMAS when rsyncing a traiff-file
2023-08-23 16:26:55 +02:00
978cc16304
added signal onReplaceLast for QStringList
2023-08-18 11:51:27 +02:00
9b4d0494c8
Streamlined handling of UPDATE_STATUS.
2023-08-16 12:41:42 +02:00
f20be9ddcf
Removed obsolete sendCmdSendVersionToIsmas().
2023-08-16 10:37:31 +02:00
04d5061d79
Added some constants.
2023-08-11 10:49:34 +02:00
5db7b4224e
Made start/stopProgress() public.
2023-08-09 15:06:20 +02:00
4ff3b0efdf
Advance the progress bar in the foreground when a long running task
...
in the background (e.g. git clone).
2023-08-06 20:44:26 +02:00
1fd2269753
onAppendText() only appends text.
...
onReplaceLast() replaces the last line in the text edit window.
2023-08-06 14:14:47 +02:00
cf9033e898
Send custom event from worker(-thread) to MainWindow in order to update
...
progress bar.
2023-08-05 18:50:50 +02:00
d2d730589b
changed return type of returnCode() ti 'int'
2023-08-04 13:38:33 +02:00
9b08420ac1
Use exit() instead of quit() to be able to add a returnCode in case of failure.
2023-08-03 09:06:50 +02:00
0ee92f0181
disbale exit-button as long as update process is running
2023-08-02 17:51:35 +02:00
81a9304438
Worker is the work-horse of the update process.
...
Using ismas-client it sends requests to APISM and gets results in a synchronous fashion.
Add previous emits to git client and apism client have been removed.
2023-08-02 15:50:04 +02:00
088d7c8aa0
Additinal UPDATE_STATE constants.
...
Added struct UpdateStatus for printing debug messages.
Added member variables used for sending SENDCMD to ISMAS.A
Added helper functions
getATBQTVersion(),
getCPUSerial(),
getRaucVersion(),
getOpkgVersion(),
getPluginVersion(),
getDCVersion(),
getFileSize().
2023-07-19 16:35:48 +02:00
7054c18113
Extended UPDATE_STATUS enum.
...
Simplified interface.
Read machine_nr, cust_nr, zone_nr from file.
2023-07-17 16:38:53 +02:00
f5198efab3
Added worker/worker-thread-pair.
...
Worker uses event-loop of worker-thread.
Worker itself is used as work-horse for the update-process.
2023-07-14 13:32:00 +02:00
26db620465
use of worker/worker-thread so we can work without using buttons (as the cannot be triggered by an automatic update process)
2023-07-11 16:58:49 +02:00
e2d9c5aa90
Comit helper-classes for now
2023-06-16 16:47:13 +02:00