c15cebf503Add parsing for alwaysDownloadConfig and alwaysDownloadDC.Gerhard Hoffmann2023-11-21 09:49:47 +01:00
5ee1308c9dAdd parsing for alwaysDownloadConfig and alwaysDownloadDC.Gerhard Hoffmann2023-11-21 09:48:23 +01:00
746d96ca7cAdd parsing for flags: alwaysDownLoadDC and alwaysDownloadConfig.Gerhard Hoffmann2023-11-21 09:46:11 +01:00
f387eaedeaAdded flags: always-download-config and always-download-dc. Download DC and Json files even without any change in customer-repository. Not tested by now.Gerhard Hoffmann2023-11-21 09:44:15 +01:00
3ccdcbae51Removed generation of upodate-object. This will be donw inside worker(-thread), and only when it is really needed, i.e. when there are json-files to be updated (or a deveice-controller).Gerhard Hoffmann2023-11-06 16:20:27 +01:00
8c50e6cf59Added command-line option no-psa-hardware-update (future use for multipass).Gerhard Hoffmann2023-11-06 16:19:36 +01:00
003bd0bf77Check if repository is corrupted: do not check for etc/ or opt/-directories, as they may be not existent inside of the repository.Gerhard Hoffmann2023-11-03 13:44:15 +01:00
721c5dd7a5MAke sure removeDuplicates() is called for list containing file to be updated.Gerhard Hoffmann2023-10-31 09:16:24 +01:00
4b3a39b0e6Set version to 1.3.14. Add compile flag -C (so it is possible to use /*fall through*/ without having the proprocessor to remove this comment.
v1.3.14
Gerhard Hoffmann2023-10-30 15:35:38 +01:00
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