b14b296011Added utility getParentName() (name of parent process)Gerhard Hoffmann2023-09-04 11:42:12 +02:00
1ef9853876Set version of UpdateTool to 1.3.0. 1.3.0: main change: add fetching info for current apiism-version and send if to ISMAS.Gerhard Hoffmann2023-08-30 11:47:56 +02:00
5427844977For each customer repository change the file ChangeLog in branch master as last step. The git commit for this file will be used as output, so this file has always be the last to be checked in.Gerhard Hoffmann2023-08-30 11:36:28 +02:00
f8fef38009Add last-commit for traiff and add info for opkg_commands.Gerhard Hoffmann2023-08-22 13:47:57 +02:00
cbe1fd387dAfter "rsync", compare etc/psa_tariff and /etc/psa_tariff, if they contain the same traiff-files (as they should).Gerhard Hoffmann2023-08-22 12:31:15 +02:00
1620b73d01Added sameFilesInDirs(): check for two different directories if the contain the same files (comparison by name and by git-blob).Gerhard Hoffmann2023-08-22 12:29:52 +02:00
99b9419150Made gitBlob() static and execute in /tmp as this command can be executed for every file not only the files contained in a git repository.Gerhard Hoffmann2023-08-22 12:19:25 +02:00
4307fb96a6Add status bar instead of using an message box for displaying error messages.Gerhard Hoffmann2023-08-22 09:27:59 +02:00
c35390b6d6removed commented code plannned for future use -> did not workGerhard Hoffmann2023-08-22 09:27:20 +02:00
bea8242d6fAdd some changes to the message box (to be chenged anyways later).Gerhard Hoffmann2023-08-18 11:50:14 +02:00
56daa84a14Streamlined the connects (without any whitespace) to silence clang.Gerhard Hoffmann2023-08-18 11:49:34 +02:00
17ddfd0dddAdded slot onReplaceLast() to handle adding a QStringList to the text edit.Gerhard Hoffmann2023-08-18 11:48:29 +02:00
2ac8c4cfc6Added scrollDownTextEdit() -> text edit is supposed to scroll down autmatically in case too much info has to be displayed.Gerhard Hoffmann2023-08-18 11:46:57 +02:00
7631c05e22Insert last commit-id, message and date of last commit into sendLastVersion-message to ISMAS.Gerhard Hoffmann2023-08-16 10:34:55 +02:00
ad93e536f0Added gitShowReason(): get lastCommit, message and date of last commit to insert inti sendLastVersion-message to ISMAS.Gerhard Hoffmann2023-08-16 10:33:08 +02:00
8d528f0f55SO_SNDTIMEO and SO_RCVTIMEO socket options have turned out not to be reliable. Use select() for detecting timeout on socket (read and write).Gerhard Hoffmann2023-08-14 14:35:54 +02:00
66d0214720Always look for {"error": "ISMAS is offline"} first. Allow for empty update-trgger (try again) rsync: mkdir -p the necessary directories.Gerhard Hoffmann2023-08-14 14:33:12 +02:00
86064979b4Add memeber-variable for exitCode of executed process.Gerhard Hoffmann2023-08-14 14:28:23 +02:00
329c770aa0Use a message box with color red and a timer to click on ok after 5 secs.Gerhard Hoffmann2023-08-07 14:01:51 +02:00
cdb045b72bFixed onAppendText() and onReplaceLast(): Watch out for special suffixes.Gerhard Hoffmann2023-08-07 13:59:44 +02:00
6d43cf4c9fSend custom events to the progress bar according to the state of the update process. Changed the handling of messages for the text edit.Gerhard Hoffmann2023-08-07 13:56:51 +02:00
4ff3b0efdfAdvance the progress bar in the foreground when a long running task in the background (e.g. git clone).Gerhard Hoffmann2023-08-06 20:44:26 +02:00
1fd2269753onAppendText() only appends text. onReplaceLast() replaces the last line in the text edit window.Gerhard Hoffmann2023-08-06 14:14:47 +02:00