This website requires JavaScript.
4477647acf
Check m_hw before its use
Gerhard Hoffmann
2024-05-03 13:11:33 +0200
d64b029a2d
loadDCPlugin(): never call exit() inside a library.
Gerhard Hoffmann
2024-05-03 13:08:25 +0200
e24022a612
Set version to 1.4.6. Fix: do not send all jsons down to DC unconditionally
1.4.6
Gerhard Hoffmann
2024-04-29 15:05:10 +0200
60d78790ba
Minor: remove trailing ")" in msg
Gerhard Hoffmann
2024-04-29 15:03:43 +0200
543e712c62
Minor: Replace trailing ","
Gerhard Hoffmann
2024-04-29 15:02:37 +0200
8402fde6b5
Reformat m_versionInfo in case a version is included in the commit-message.
Gerhard Hoffmann
2024-04-29 15:00:52 +0200
f15cc636c6
FIX: set m_pulledNewBranch = false in case no new branch has to be fetched from remote repository.
Gerhard Hoffmann
2024-04-29 14:59:10 +0200
adaa12395e
Trigger CHECK_ISMAS_TRIGGER_SUCCESS-message to ISMAS.
Gerhard Hoffmann
2024-04-29 14:58:29 +0200
853c29e448
Set result code NO_UPDATE_NECESSARY instead of just SUCCESS.
Gerhard Hoffmann
2024-04-29 14:54:27 +0200
78c214ceb4
CHECK_ISMAS_TRIGGER_SUCCESS: send message to ISMAS if WAIT-button as been set to "WAIT".
Gerhard Hoffmann
2024-04-29 14:52:50 +0200
88bec387c5
Minor: formatted code for readability.
Gerhard Hoffmann
2024-04-29 14:50:43 +0200
05b68f21c2
Add System.h/System.cpp -> to be adapted later
improve-ismas-output
Gerhard Hoffmann
2024-04-26 13:05:19 +0200
9ca394db46
Begin with fetching versions of downloaded json-files.
Gerhard Hoffmann
2024-04-26 13:03:10 +0200
0d268a1d9d
set INCLUDEPATH to use System.h/.cpp
Gerhard Hoffmann
2024-04-26 13:02:12 +0200
da102b5ed0
Set version to 1.4.6
Gerhard Hoffmann
2024-04-26 12:53:30 +0200
7031c0e349
Replace INSTALL_ERROR with proper error codes.
Gerhard Hoffmann
2024-04-26 12:49:06 +0200
c528ce377d
Add some new messages sent to ISMAS.
Gerhard Hoffmann
2024-04-26 12:47:44 +0200
5e7c848fca
Replaced INSTALL_ERROR by proper error codes.
Gerhard Hoffmann
2024-04-26 12:47:13 +0200
3165d77f49
Replaced U0010 by its macro _ISMAS_CONTINUE
Gerhard Hoffmann
2024-04-26 12:46:28 +0200
f0d2d5f958
Replaced U0010 by its macro _ISMAS_CONTINUE
Gerhard Hoffmann
2024-04-26 12:45:08 +0200
1da4c3b224
Add _ISMAS_TEST_TRIGGER
Gerhard Hoffmann
2024-04-26 12:43:21 +0200
f1cedbf1d5
Define new error codes (and actually use them) -> ISMAS not affected.
Gerhard Hoffmann
2024-04-26 12:41:21 +0200
0933274c82
Add update functionality (again using ATBUpdateTool as template)
Gerhard Hoffmann
2024-04-23 16:25:36 +0200
2aa676f18c
Implement json-download tool with ATBUpdateTool as template.
Gerhard Hoffmann
2024-04-23 16:23:58 +0200
6c0d49b90c
Start with project file for json-download tool.
Gerhard Hoffmann
2024-04-23 16:22:56 +0200
18d04d15cf
Set version to 1.4.5.
v1.4.5
Gerhard Hoffmann
2024-04-11 16:31:44 +0200
b81120f8dc
Implemented:
Gerhard Hoffmann
2024-04-11 16:25:36 +0200
8b2fcb25db
Added declarations for: bool branchExistsRemotely(); bool branchExistsLocally(); bool gitPullNewBranches();
Gerhard Hoffmann
2024-04-11 16:24:33 +0200
698cf74516
doUpdate(): re-check again if there are valid data form the device-controller.
Gerhard Hoffmann
2024-04-11 16:23:08 +0200
20681b0d6c
If we have pull a new remote branch, the behave as if the customer-repo did not exist before: especially download all json-files inside the new local branch.
Gerhard Hoffmann
2024-04-11 16:20:46 +0200
763647c145
If customer-repo is already existent (i.e. not cloned), then check for the existence of remote branch (zg/zone<zone-number of psa>). If it exists remotely, but not locally, then execute 'git pull' (could also be 'git pull origin zg1/zone<zone-number>'). A follwing 'git checkout zg1/zone<zone-number>' will switch to the now local branch.
Gerhard Hoffmann
2024-04-11 16:16:34 +0200
4aad14b181
Added PULL_NEW_BRANCH, PULL_NEW_BRANCH_FAILED, PULL_NEW_BRANCH_SUCCESS and corresponding output messages.
Gerhard Hoffmann
2024-04-11 16:15:49 +0200
0a03228dea
Added PULL_NEW_BRANCH, PULL_NEW_BRANCH_FAILED, PULL_NEW_BRANCH_SUCCESS and corresponding output messages.
Gerhard Hoffmann
2024-04-11 16:14:45 +0200
23551066c1
Set version to 1.4.4
Gerhard Hoffmann
2024-04-09 15:02:59 +0200
24f2ba7c44
Move rsyncing the customer-repository after filesToUpdate(), as the repository is pulled in filesToUpdate().
v1.4.4
Gerhard Hoffmann
2024-04-09 14:56:25 +0200
2ed6768953
Minor: remove ismasTriggerValue-(debug)-message, as it was too confusing.
Gerhard Hoffmann
2024-04-09 14:55:45 +0200
a1327388bc
execute(): Enhance debug output.
Gerhard Hoffmann
2024-04-09 14:53:50 +0200
8d18ae10fe
downLoadJson(): add more debug-output (visible in ISMAS as well) to see what actuelly went wrong when downloading json-Files.
Gerhard Hoffmann
2024-04-09 14:51:54 +0200
31bc2d0fa2
Minor: update comment
Gerhard Hoffmann
2024-04-09 14:49:42 +0200
175b8fd3a1
If the update-trigger (aka WAIT-button) is empty and we have an automatic update (i.e. time is 0:00 - 4:00 am), then do not inform ISMAS with an U0003 error signal, but send an U0002 (setting the trigger-value to "OK").
Gerhard Hoffmann
2024-03-19 12:41:42 +0100
a57fa6c31e
Add path to global device-controller library
Gerhard Hoffmann
2024-03-19 09:30:20 +0100
c22c924e38
Add path to global device-controller library
Gerhard Hoffmann
2024-03-19 09:29:51 +0100
bdc64920a2
Minor: remove superfluous include
Gerhard Hoffmann
2024-03-19 09:29:17 +0100
7bc9fa0c04
Minor: fix typo
Gerhard Hoffmann
2024-03-19 09:28:37 +0100
334da1fe4a
Merge branch 'master' of https://git.mimbach49.de/GerhardHoffmann/ATBUpdateTool
Gerhard Hoffmann
2024-03-19 09:23:54 +0100
e5054582c2
set version to 1.4.3
v1.4.3
Gerhard Hoffmann
2024-03-19 09:20:31 +0100
bbd287c92b
Minor: comment out a line
Gerhard Hoffmann
2024-03-19 09:19:52 +0100
5c152c9dc2
Minor: remove plugins/interfaces.h
Gerhard Hoffmann
2024-03-19 09:13:27 +0100
367ffaa3a1
Minor: adapt header-include
Gerhard Hoffmann
2024-03-19 09:12:46 +0100
2fd004f249
Add PATH for device-controller-library as well.
Gerhard Hoffmann
2024-03-19 09:12:07 +0100
721a156fce
Remove functionality for downloading firmware-device-controller
Gerhard Hoffmann
2024-03-15 12:59:59 +0100
b7576d04e1
Add *.user
Gerhard Hoffmann
2024-03-15 12:58:32 +0100
753954ecd7
Use <DeviceController/interfaces.h>
Gerhard Hoffmann
2024-03-15 12:07:15 +0100
df7cabe2c1
Remove references to interfaces.h. Add refs to device-controller
Gerhard Hoffmann
2024-03-15 12:05:50 +0100
cfca8d2ef4
remove interfaces.h plus CA-libs
Gerhard Hoffmann
2024-03-15 11:52:46 +0100
829932f29d
Load libCAslave.so not libCAmaster.so
Gerhard Hoffmann
2024-03-15 11:26:57 +0100
8968667c23
Add comment. Set version to 1.4.2.
Gerhard Hoffmann
2024-03-08 08:47:54 +0100
a5e0154757
Do not check if etc/psa_tariff and /etc/psa_tariff are equal after the rsync: reason is that this might be not the case if the customer-number has been changed.
Gerhard Hoffmann
2024-03-08 08:44:39 +0100
f346390631
Add UpdatePTUDevCtrl subdirectory
Gerhard Hoffmann
2024-02-29 15:02:12 +0100
c77fa097c1
Use UpdatePTUDevCtrl.pro
Gerhard Hoffmann
2024-02-29 15:01:40 +0100
074e60d8dc
Merge remote-tracking branch 'UpdatePTUDevCtrl/dc-download'
Gerhard Hoffmann
2024-02-29 14:48:59 +0100
8eff6e5d10
Move UpdatePTUDevCtrl files into subdir UpdatePTUDevCtrl
Gerhard Hoffmann
2024-02-29 14:41:45 +0100
4233ca8637
Merge remote-tracking branch 'UpdatePTUDevCtrl/master'
Gerhard Hoffmann
2024-02-29 14:38:14 +0100
68fc83ba67
Add DownloadDCFirmware and DownloadDCJsonFiles
Gerhard Hoffmann
2024-02-29 11:36:24 +0100
052028afe8
Check if download/reporting thread are running
Gerhard Hoffmann
2024-02-29 11:30:24 +0100
a240711946
(R)sync files of customer repository (under ./etc in the repository) with file-susyem /etc as very forst step of the update process, even before executing the opkg commands.
Gerhard Hoffmann
2024-02-27 13:56:38 +0100
75fdca95d9
set version to 1.4.1
Gerhard Hoffmann
2024-02-27 13:56:24 +0100
9b087f62f9
Check if json-file to be downloaded to device-controller is empty before starting a download.
Gerhard Hoffmann
2024-02-17 08:04:06 +0100
7d38cc1269
Set version to 2.0.0
2.0.0
Gerhard Hoffmann
2024-02-09 13:07:22 +0100
f5baad16d5
Prepend last-commit with pid of ATBUpdateTool (to be used in ISMAS).
Gerhard Hoffmann
2024-02-09 13:02:35 +0100
b35e6812aa
getDCVersionPreparedForDownload(): implemented.
Gerhard Hoffmann
2024-02-09 13:02:11 +0100
d7e709d997
Minor: make a 2-sec nap before starting reporting threadw
Gerhard Hoffmann
2024-02-09 13:01:15 +0100
4d93aa1392
getDCVersionPreparedForDownload(): added for future use.
Gerhard Hoffmann
2024-02-09 12:59:25 +0100
b0f1e0a493
Minor: reformatting code.w
Gerhard Hoffmann
2024-02-06 11:28:01 +0100
0dffc1d1c2
Create m_update-object inside of constructor of worker-class: this way the object belongs to the GUI-thread, and can be addressed via emit by the reporting thread.
Gerhard Hoffmann
2024-02-06 11:25:46 +0100
3581dd4b1d
doUpdate(): start reorting thread to report download-progress to GUI.
Gerhard Hoffmann
2024-02-05 16:31:24 +0100
8d2d7bbb15
Connect slots
Gerhard Hoffmann
2024-02-05 16:30:41 +0100
e2e7c0772d
Implemented slots: void onReportDCDownloadStatus(QString const &status); void onReportDCDownloadSuccess(QString const &msg); void onReportDCDownloadFailure(QString const &errorMsg);
Gerhard Hoffmann
2024-02-05 16:30:01 +0100
807cea1042
Added slots: void onReportDCDownloadStatus(QString const &status); void onReportDCDownloadSuccess(QString const &msg); void onReportDCDownloadFailure(QString const &errorMsg);
Gerhard Hoffmann
2024-02-05 16:28:34 +0100
80712964ef
Use of pointer m_update.
Gerhard Hoffmann
2024-02-05 16:26:53 +0100
978e98b2ee
removed dependency to interface.h
Gerhard Hoffmann
2024-02-05 14:53:56 +0100
44c2820130
Make sure to lookup only "apism", not the new "apism-tools"
Gerhard Hoffmann
2024-02-02 08:18:13 +0100
123f22cd21
add .gitignore file
Gerhard Hoffmann
2024-01-29 09:03:16 +0100
b60af1a4fc
Flowchart for ATBUpdateTool 1.4.0
Gerhard Hoffmann
2024-01-26 14:19:50 +0100
bb3ecc4b76
Use same interfaces.h as DCLibraries (master branch)
Gerhard Hoffmann
2024-01-26 11:39:21 +0100
fa30fe045b
Minor: added interfaces.h
Gerhard Hoffmann
2024-01-26 11:38:43 +0100
bae014822d
Fix: set version info several times to reflect real current git commit
Gerhard Hoffmann
2024-01-26 11:17:06 +0100
6c472b542e
Merge remote-tracking branch 'origin/korneuburg-improvements'
Gerhard Hoffmann
2024-01-26 08:55:50 +0100
7578746d2f
make it explicit that no device-controller is loaded down with this version
v1.4.0
Gerhard Hoffmann
2024-01-25 15:46:46 +0100
0b1ed62df1
Optimization: if customer repository does not exist, do noy check the ISMAS trigger, but proceed with the update procedure.
Gerhard Hoffmann
2024-01-25 15:14:42 +0100
76ec41c291
Minor: add some comment.
Gerhard Hoffmann
2024-01-25 15:13:56 +0100
630cd36f13
Minor: removed typo
Gerhard Hoffmann
2024-01-25 11:54:13 +0100
cbe8bb7aeb
Minor: add comment
Gerhard Hoffmann
2024-01-25 09:01:04 +0100
e04636e3f7
Minor: add debug output
Gerhard Hoffmann
2024-01-24 13:07:39 +0100
728185ddb9
Set m_lastFailedUpdateStep = UPDATE_STEP::NONE as last step in case of a successful update.
Gerhard Hoffmann
2024-01-24 08:31:22 +0100
aaa485e2fc
Send messages to ISMAS for checking/repairing the customer repository
Gerhard Hoffmann
2024-01-23 16:09:15 +0100
9a9480035b
Improve output, esecially to ISMAS
Gerhard Hoffmann
2024-01-23 15:31:12 +0100
0a43654f9b
Improve output, esecially to ISMAS
Gerhard Hoffmann
2024-01-23 15:30:31 +0100
4dba36a420
Add and use UPDATE_STEP::UPDATE_FINALIZE in debug output.
Gerhard Hoffmann
2024-01-23 15:29:19 +0100
f9ce6a6c1b
Minor: remove obsolete line.
Gerhard Hoffmann
2024-01-23 12:22:48 +0100