Mike Degatano
7fd6dce55f
Migrate to Ruff for lint and format ( #4852 )
...
* Migrate to Ruff for lint and format
* Fix pylint issues
* DBus property sets into normal awaitable methods
* Fix tests relying on separate tasks in connect
* Fixes from feedback
2024-02-05 11:37:39 -05:00
Mike Degatano
c0b75edfb7
Format data disk in Supervisor instead of OS Agent ( #4212 )
...
* Supervisor formats data disk instead of os agent
* Fix issues occurring during tests
* Can't migrate if target is too small
2023-03-30 14:15:07 -04:00
Mike Degatano
a3204f4ebd
Use Udisks2 for available data disks ( #4202 )
...
* Use Udisks2 for available data disks
* pylint issues
2023-03-27 12:09:16 -04:00
Mike Degatano
a6caccd845
Use session dbus mocks for all tests ( #4198 )
...
* Use session dbus mocks for all tests
* func instead of fn for pylint
2023-03-21 07:30:31 +01:00
Mike Degatano
2a625defc0
Use session dbus for os agent tests ( #4180 )
2023-03-14 08:32:25 +01:00
Mike Degatano
99bc201688
Listen for dbus property changes ( #3872 )
...
* Listen for dbus property changes
* Avoid remaking dbus proxy objects
* proper snake case for pylint
* some cleanup and more tests
2022-09-17 09:55:41 +02:00
Mike Degatano
b71c6c60da
Share MessageBus across dbus objects ( #3860 )
...
* Share MessageBus across dbus objects
* Fix connect calls in tests
2022-09-12 20:10:12 +02:00
Mike Degatano
4f272ad4fd
Dbus refactor and tests ( #3854 )
...
* Dbus refactor and tests
* Link to timedate introspection
2022-09-12 11:59:56 -04:00
Pascal Vizeli
53eae96a98
DataDisk reload devices ( #3129 )
...
* DataDisk reload devices
* improve loading
* simplify
* validate input device
* add comments
* Add agent version to API
* more tests
* fix test lint
2021-09-20 12:52:51 +02:00
Pascal Vizeli
2b6829a786
OS-Agent support ( #2811 )
...
* OS-Agent support
* add agent to host feature
* Add support for os-agent on devcontainer
* Rename core
* fix tests
* add setter
* add cgroup / apparmor
* all interfaces added
* fix import
* Add tests
* More tests
* Finish tests
* reformating xml files
* fix doc string
* address comments
* change return value
* fix tests
* Update supervisor/dbus/agent/__init__.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
* Update scripts/supervisor.sh
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
2021-06-30 11:55:53 +02:00