a44b780d93Minor: Add header for using RAII in sending SEND-LAST-VERSION to ISAMS.Gerhard Hoffmann2023-10-30 15:29:23 +01:00
19dfae9b56Use output functions ISMAS(), GUI() and CONSOLE(), which point to friend operators<< in Worker-class.Gerhard Hoffmann2023-10-30 15:28:25 +01:00
bef0d4fe12Refactor the update process: streamline code. When WAIT button is not active, the a clone or a fix of a defunct repository is possible, but not more. If WAIT button is active, the at least the opkg_commnds are executed. If there are chenged files, they are handkled as wll.Gerhard Hoffmann2023-10-30 15:25:49 +01:00
7d0fdf4d6dSmall fixes: 1: fixed wrong parameters of a connect(). 2: Minor: improved onQuit().Gerhard Hoffmann2023-10-30 15:17:59 +01:00
c2ce44c79bAdding 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.Gerhard Hoffmann2023-10-30 15:15:30 +01:00
48896f97ecAdding UPDATE_STEP_WRONG: helper variable to be used in text edit of main window.Gerhard Hoffmann2023-10-30 15:13:04 +01:00
4486317cb2dd 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'.Gerhard Hoffmann2023-10-30 15:11:06 +01:00
6b9b88ea19Adding member variables to check if customer repository was a fresh clone, or if it was already existent.Gerhard Hoffmann2023-10-30 15:09:33 +01:00
99a99d95a1Adding UPDATE_STEP enum plus associated interger defines. Adding QMap: Worker::smap, which contains names of UPDATE_STEP-members.Gerhard Hoffmann2023-10-30 15:07:28 +01:00
d4ddbbee21Add class UpdateProcessRunning: use for sending SEND-LAST-VERSION as part of its destruktor: RAII-pattern.Gerhard Hoffmann2023-10-30 15:05:30 +01:00
c44c805238Use some special output methods using ISMAS(), GUI() nad CONSOLE().Gerhard Hoffmann2023-10-30 15:00:57 +01:00
196f1a730egitPull(): don't use regex anumore, but just plain string-matching/searching. Regex seems to be quite error-prone.Gerhard Hoffmann2023-10-30 14:59:58 +01:00
7dc04c4422Add helper function worker(), returning the worker-object.Gerhard Hoffmann2023-10-30 14:56:19 +01:00
8aeb7ecfeaDon't check opkg_commands-file in the system-filesystem to remove confusing error-messages.Gerhard Hoffmann2023-10-19 13:43:53 +02:00
4bb8e241b6Update 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.Gerhard Hoffmann2023-10-19 13:41:44 +02:00
6865056f4bReplace regex in gitCloneCustomerRepository() with straight-forward steing-handling: regex sometimes returned error.Gerhard Hoffmann2023-10-19 13:35:07 +02:00
22f25e5251Replaced 'git clone' with 'git clone --filter=blob:none' to speed up cloning of customer-repository.Gerhard Hoffmann2023-10-18 11:36:13 +02:00
504e242d42Implemented getATBUpdateToolYoctoVersion() and getATBUpdateToolYoctoInstallationStatus()Gerhard Hoffmann2023-10-18 11:31:15 +02:00
731cdcbe09Added getATBUpdateToolYoctoVersion() and getATBUpdateToolYoctoInstallationStatus()Gerhard Hoffmann2023-10-18 11:30:12 +02:00
b4e2d4c54aMinor: Move reading of machine_nr, customer_nr and zone_nr upwards.Gerhard Hoffmann2023-10-18 11:28:06 +02:00
42961dea40Add command-parameters yoctoVersionOption (yocto-version of ATBUpdateTool as reported by opkg), and yoctoInstallStatusOption (info if ATBUpdateTool is installed as reported by opkg).Gerhard Hoffmann2023-10-18 11:26:30 +02:00
4b9dcc5e99Set version to 1.3.11: integrate extended version (VERSION + last git commit) in send-last-version-message.Gerhard Hoffmann2023-10-12 12:13:49 +02:00
53639b55c9Integrate call parameter -V (= --extended-version) to show extended version (including last git commit)Gerhard Hoffmann2023-10-12 12:12:16 +02:00
3a83efbd3fIntegrate extended version of ATBUpdateTool into send-last-version command to ISMAS.Gerhard Hoffmann2023-10-12 12:11:48 +02:00
c9d6a8d245Integrate extended version of ATBUpdateTool into send-last-versionGerhard Hoffmann2023-10-12 12:10:24 +02:00
91db59b9f3Integrate version of ATBUpdateTool in send-last-version.Gerhard Hoffmann2023-10-12 12:09:19 +02:00
4e7ce2cd70set version to 1.3.10: remove timeout on opkg-commands. tested download of DC2C_cash.conf file.Gerhard Hoffmann2023-10-10 16:05:16 +02:00
47fac31223remove timeout for process runtime for opkg-commandsGerhard Hoffmann2023-10-10 16:03:52 +02:00
0d353cfbcfCheck if opkg_command failed, and if this is the case, stop the update-process without showing a wrong UPDATE-SUCCESS.Gerhard Hoffmann2023-10-10 16:01:45 +02:00
3223c430beDo not rsync opkg_commnds to local file systems: this sync is not needed.Gerhard Hoffmann2023-09-28 12:00:24 +02:00
c09682ea33Always execute commands contained in opkg_commands, even if no change in opkg_commands. WAIT button in ISMAS must still be activated.Gerhard Hoffmann2023-09-28 11:57:17 +02:00
9c213d0a97Added some better debug output in the slots concerned with the text edit of the main window ("update status"). Use insertPlainText() when adding to the text edit to simplify code.Gerhard Hoffmann2023-09-10 16:55:32 +02:00
18378afdc5Did some testing with event filters on the main window. not used.Gerhard Hoffmann2023-09-10 16:54:54 +02:00