Commit e3afc2a
committed
refactor!: extract container module and standardise driver hooks
Extract container.py from monolithic incus.py.
Standardise driver hooks in Driver base class.
Single-relay CLI arguments (breaking).
Deploy and test subcommands now take one relay name
instead of a list.
SetupError replaces exit-code error handling.
Drivers raise SetupError on failure instead of
returning non-zero ints.
cli.main() catches it at the top level.
Dead code and test cleanup.1 parent 1372d58 commit e3afc2a
12 files changed
Lines changed: 1174 additions & 1353 deletions
File tree
- .github/workflows
- src
- cmlxc
- relay_minitest
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments