Commit Graph

27 Commits

Author SHA1 Message Date
Alexandr Stelnykovych
70da66b120 Build script for updatemgr 2025-06-13 13:21:54 +03:00
Alexandr Stelnykovych
776b4860ef [updates] fix: use correct binaries index name 2025-03-26 17:35:27 +02:00
Daniel
f26e61ed15 Improve updatemgr mirror cmd 2025-02-04 14:25:08 +01:00
Daniel
aa1bd0679c Improve updatemgr and updates module 2025-01-21 09:21:56 +01:00
Daniel
ddf7ba170e Fix tests and issues 2024-11-08 14:39:58 +01:00
Daniel
34894ea7d6 Add sign command to updatemgr 2024-11-08 14:38:36 +01:00
Daniel
7bc1c3b764 Replace dataroot module with BinDir and DataDir on instance, adapt modules 2024-11-06 10:48:02 +01:00
Daniel
0f3f3c360f [WIP] Simplify update system 2024-10-31 16:38:12 +01:00
Daniel
d6669ff8f5 Remove unpack suffixes when generating an index bundle 2024-10-16 13:51:38 +02:00
Daniel
a1a4bf6325 [WIP] Use cobra for updatemgr 2024-10-10 08:58:02 +02:00
Daniel
5d9088f27e [WIP] Improve bundle generation 2024-10-09 16:50:46 +02:00
Vladimir Stoilov
71f67a8936 [WIP] Improve CI build 2024-10-07 11:26:27 +03:00
Vladimir Stoilov
8e1f3c0ed9 [WIP] Add CI for building deb,rpm installers 2024-10-02 15:37:39 +03:00
Daniel Hååvi
80664d1a27 Restructure modules (#1572)
* Move portbase into monorepo

* Add new simple module mgr

* [WIP] Switch to new simple module mgr

* Add StateMgr and more worker variants

* [WIP] Switch more modules

* [WIP] Switch more modules

* [WIP] swtich more modules

* [WIP] switch all SPN modules

* [WIP] switch all service modules

* [WIP] Convert all workers to the new module system

* [WIP] add new task system to module manager

* [WIP] Add second take for scheduling workers

* [WIP] Add FIXME for bugs in new scheduler

* [WIP] Add minor improvements to scheduler

* [WIP] Add new worker scheduler

* [WIP] Fix more bug related to new module system

* [WIP] Fix start handing of the new module system

* [WIP] Improve startup process

* [WIP] Fix minor issues

* [WIP] Fix missing subsystem in settings

* [WIP] Initialize managers in constructor

* [WIP] Move module event initialization to constrictors

* [WIP] Fix setting for enabling and disabling the SPN module

* [WIP] Move API registeration into module construction

* [WIP] Update states mgr for all modules

* [WIP] Add CmdLine operation support

* Add state helper methods to module group and instance

* Add notification and module status handling to status package

* Fix starting issues

* Remove pilot widget and update security lock to new status data

* Remove debug logs

* Improve http server shutdown

* Add workaround for cleanly shutting down firewall+netquery

* Improve logging

* Add syncing states with notifications for new module system

* Improve starting, stopping, shutdown; resolve FIXMEs/TODOs

* [WIP] Fix most unit tests

* Review new module system and fix minor issues

* Push shutdown and restart events again via API

* Set sleep mode via interface

* Update example/template module

* [WIP] Fix spn/cabin unit test

* Remove deprecated UI elements

* Make log output more similar for the logging transition phase

* Switch spn hub and observer cmds to new module system

* Fix log sources

* Make worker mgr less error prone

* Fix tests and minor issues

* Fix observation hub

* Improve shutdown and restart handling

* Split up big connection.go source file

* Move varint and dsd packages to structures repo

* Improve expansion test

* Fix linter warnings

* Fix interception module on windows

* Fix linter errors

---------

Co-authored-by: Vladimir Stoilov <vladimir@safing.io>
2024-08-09 18:15:48 +03:00
Daniel
a3457637e8 Always scan for pre-releases 2023-10-25 13:54:06 +02:00
Daniel
1144ac589b Fix fs error handling 2022-10-11 14:49:06 +02:00
Daniel
fd83534698 Fix linter errors 2022-09-29 14:31:00 +02:00
Daniel
109906f305 Improve signing with updatemgr 2022-09-27 14:50:54 +02:00
Daniel
168cf010ea Add signature support to updatemgr 2022-09-23 14:56:55 +02:00
Daniel
f35d590679 Add support for signed updates 2022-09-23 14:56:55 +02:00
Daniel
60d8664e7b Fix tests and linters 2022-02-02 12:48:42 +01:00
Daniel
7bf7662661 Add symlink creation on release and simplify version selection 2021-10-20 16:05:29 +02:00
Daniel
85f69feef7 Update updatemgr 2021-08-23 23:30:49 +02:00
Daniel
9da5ff86d3 Adapt updatemgr to new release channel handling 2021-06-03 23:30:52 +02:00
Daniel
47aec76a45 Move the dist dir to a flag and auto-detect it
Also, rename update to release
2020-12-22 13:23:05 +01:00
Daniel
7f26a28776 Improve internal tooling 2020-12-04 16:59:14 +01:00
Daniel
6c9d8535d5 Add support for staging and purging 2020-11-24 16:45:57 +01:00