8889aaca2a 
					 
					
						
						
							
							Fix: path for deployment  
						
						 
						
						
						
						
					 
					
						2023-08-03 09:44:08 +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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a995cae000 
					 
					
						
						
							
							set exit timer to 10 secs  
						
						 
						
						
						
						
					 
					
						2023-08-02 16:54:47 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0b7d504a7a 
					 
					
						
						
							
							Fixed missing git pull command.  
						
						 
						
						... 
						
						
						
						Fixed missing update for text-edit when only clone the customer repository. 
						
						
					 
					
						2023-08-02 16:53:19 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6a4a852fd6 
					 
					
						
						
							
							Updated for new device controller lib (CAmaster)  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:52:01 +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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						332d689b8c 
					 
					
						
						
							
							Add worker-object to be able to update for the worker.  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:47:19 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b508c0517d 
					 
					
						
						
							
							Reset.  
						
						 
						
						... 
						
						
						
						Add helper functions read1stLineOfFile() and zoneNr(). 
						
						
					 
					
						2023-08-02 15:45:20 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d2c0fdf820 
					 
					
						
						
							
							Minor change: remove header  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:44:45 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7293afd203 
					 
					
						
						
							
							Minor change: include header  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:44:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2fd1053bf9 
					 
					
						
						
							
							Removed maintenance mode  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:40:44 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e0a68a35f4 
					 
					
						
						
							
							raised output-buffer length to 1024*8  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:39:52 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4e277b4ca6 
					 
					
						
						
							
							Added text edit  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:39:08 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b3f4a4086b 
					 
					
						
						
							
							Populate text-edit with run-time info from update-process.  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:29:10 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						eb7d77692b 
					 
					
						
						
							
							Removed obsolete apism/tcp-client files.  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:20:07 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ce1b1859df 
					 
					
						
						
							
							Removed apism-client and tcp-client. All done inside of ismas client now.  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:18:39 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						371cc1a187 
					 
					
						
						
							
							Removed communication with ISMAS from git client.  
						
						 
						
						
						
						
					 
					
						2023-08-02 15:17:10 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a94606ca89 
					 
					
						
						
							
							Added sendRequestReceiveResponse(): static member for communication with  
						
						 
						
						... 
						
						
						
						APISM, on ports 7777 and 7778.
Each request is immediately handled in a synchronous fashion.
Added several helper functions to format messages to be sent to APISM/ISMAS. 
						
						
					 
					
						2023-08-02 15:13:05 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5c9c9dc917 
					 
					
						
						
							
							add mainwindow and utils  
						
						 
						
						
						
						
					 
					
						2023-07-31 16:56:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ab8acfc7d1 
					 
					
						
						
							
							use gui-interface for ATBUpdateTool  
						
						 
						
						
						
						
					 
					
						2023-07-31 16:55:36 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1ddd0074b3 
					 
					
						
						
							
							Set c++17 for PTU5-YOCTO  
						
						 
						
						
						
						
					 
					
						2023-07-20 09:06:07 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2b934f6baf 
					 
					
						
						
							
							Added signals  
						
						 
						
						... 
						
						
						
						void sendCmdSendVersionToIsmas(QString);
    void sendCmdEventToIsmas(QString);
and associated slots:
    void onSendCmdSendVersionToIsmas(QString);
    void onSendCmdEventToIsmas(QString);
Implemented slots. 
						
						
					 
					
						2023-07-19 16:53:45 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1bdae56342 
					 
					
						
						
							
							Added debug messages.  
						
						 
						
						... 
						
						
						
						Fixed gitBlob(): do not check for existing customer repository. 
						
						
					 
					
						2023-07-19 16:50:54 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6caaae6d50 
					 
					
						
						
							
							Add struct PSAInstalled.  
						
						 
						
						... 
						
						
						
						Changed interface of updateOfPSASendVersion into
    QString updateOfPSASendVersion(PSAInstalled const &psa);
Re-implemented updateOfPSASendVersion(). 
						
						
					 
					
						2023-07-19 16:48:42 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4dc0c71d3f 
					 
					
						
						
							
							Add -g flag even for release build  
						
						 
						
						
						
						
					 
					
						2023-07-19 16:46:29 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a54f4f94c9 
					 
					
						
						
							
							Minor change: remove not needed customerNrStr-variable  
						
						 
						
						
						
						
					 
					
						2023-07-19 16:45:43 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b8d6c909eb 
					 
					
						
						
							
							Minor change: reset output buffer-length to 1024  
						
						 
						
						
						
						
					 
					
						2023-07-19 16:44:26 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e35fb9dc19 
					 
					
						
						
							
							Commented out debug-messages  
						
						 
						
						
						
						
					 
					
						2023-07-19 16:43:24 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0e0363f131 
					 
					
						
						
							
							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().
Removed automatic restart of Apism.
Added emergency timer to end application after 10 mintes.
onHandleChangedFilenames():
    handling of opkg_commands
    handling of json/dc -> deactivated for the moment.
Re-implemented onSendCmdSendVersionToIsmas(): use only one parameter of type PSAInstalled.
Implemented operators<<() to print debug messages. 
						
						
					 
					
						2023-07-19 16:42:18 +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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						60084450e6 
					 
					
						
						
							
							Removed 't (testMode)' and 'e (executeScript)' options. Adapted call to Worker-ctor.  
						
						 
						
						
						
						
					 
					
						2023-07-17 16:54:18 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9775792916 
					 
					
						
						
							
							Minor change: extended debug-output.  
						
						 
						
						
						
						
					 
					
						2023-07-17 16:52:27 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						93d6277386 
					 
					
						
						
							
							Simplified interface.  
						
						 
						
						
						
						
					 
					
						2023-07-17 16:51:40 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						37c5c7c4f6 
					 
					
						
						
							
							Simplified interface.  
						
						 
						
						... 
						
						
						
						When doing a clone of the repository, do not execute any other commands. 
						
						
					 
					
						2023-07-17 16:49:44 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5eb33f3e31 
					 
					
						
						
							
							Minor change: renamed function sendUpdateInfToIsmas() to  
						
						 
						
						... 
						
						
						
						emulateUpdatesAvailable() for clarity. 
						
						
					 
					
						2023-07-17 16:48:04 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						43f5f3ecae 
					 
					
						
						
							
							Removed usage of any files. Removed any dependencies on git-hooks.  
						
						 
						
						... 
						
						
						
						Removed handling of opkg-related things: they are done now inside the worker itself. 
						
						
					 
					
						2023-07-17 16:45:11 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c503750e90 
					 
					
						
						
							
							Simplified interface of ctor.  
						
						 
						
						... 
						
						
						
						onHandleChangedFiles(): split handling of opkg_commands-file and
downloading of DC/JSON-Files.
rsync to file-system only once these operations were successful. 
						
						
					 
					
						2023-07-17 16:43:05 +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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						077eb803a1 
					 
					
						
						
							
							plan fuer das update  
						
						 
						
						
						
						
					 
					
						2023-07-16 18:31:15 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f963b61ebc 
					 
					
						
						
							
							Added helper functions. Update will be used heavily by the Worker-class in a later stage.  
						
						 
						
						
						
						
					 
					
						2023-07-14 13:34:48 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9ed51d60e4 
					 
					
						
						
							
							Added helper functions.  
						
						 
						
						
						
						
					 
					
						2023-07-14 13:33:46 +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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d6446f90fe 
					 
					
						
						
							
							Removed C++-thread-handling, replaced it with Qt-versions. Using explicit Worker  
						
						 
						
						... 
						
						
						
						instance instead. 
						
						
					 
					
						2023-07-14 13:29:52 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						58bceb5d27 
					 
					
						
						
							
							Started ISMASClient providing the data to be sent to ISMAS.  
						
						 
						
						... 
						
						
						
						It does not send to ISMAS itself. 
						
						
					 
					
						2023-07-14 13:28:41 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						92084bed99 
					 
					
						
						
							
							Added call to waitForConnected() when doing a connectToHost().  
						
						 
						
						... 
						
						
						
						Replaced some qCritical() with qDebug()-calls. 
						
						
					 
					
						2023-07-14 13:27:14 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cd1c92a7db 
					 
					
						
						
							
							Copied from ATBQT app.  
						
						 
						
						... 
						
						
						
						Added slots requestAvailableIsmasUpdates(), sendCmdSendVersionToIsmas() and
sendUpdateInfoToIsmas(). 
						
						
					 
					
						2023-07-14 13:24:14 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9ca758ecd3 
					 
					
						
						
							
							Added ISMAS_PARAMETER for ISMAS::REQUEST  
						
						 
						
						
						
						
					 
					
						2023-07-14 13:21:02 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3c54d8de6d 
					 
					
						
						
							
							Made GitClient a Qt-object. Impreoved several utility functions handling git commands.  
						
						 
						
						... 
						
						
						
						Added slot onIsmasUpdatesAvailable().
Added helpers getLastCommit(), gitBlob(), gitCommitForBlob(), gitIsFileTracked(). 
						
						
					 
					
						2023-07-14 13:17:45 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d91d4261d9 
					 
					
						
						
							
							Add another utility function and added signal/slot ismasUpdatesAvailable/onIsmasUpdatesAvailable().  
						
						 
						
						
						
						
					 
					
						2023-07-14 13:13:03 +02:00