Commit graph

21 commits

Author SHA1 Message Date
Tom Wiesing
3455f491ca
Add context
This commit adds and passes context around to (almost) every function.
This allows cancelling (almost) every function call globally.
2022-11-29 15:32:31 +01:00
Tom Wiesing
b5b1ce2340
internal/component => internal/dis/component 2022-11-16 13:07:14 +01:00
Tom Wiesing
10df1c3243
Move internal/core => internal/cli 2022-11-16 13:07:13 +01:00
Tom Wiesing
8d2855fdcb
Rename snapshots.Manager => exporter.Exporter 2022-11-16 13:07:13 +01:00
Tom Wiesing
063f3f9b7d
Move wisski instance code to separate package 2022-11-16 13:07:12 +01:00
Tom Wiesing
bf57c0d5a6
{backup,snapshot}: Rename common code to export 2022-11-16 13:07:09 +01:00
Tom Wiesing
b3a827e042
Allow server to make backups 2022-11-16 13:07:08 +01:00
Tom Wiesing
ea714aba86
snapshots: Unify 'snapshot' and 'backup' code 2022-10-03 13:37:12 +02:00
Tom Wiesing
630da9e12f
{backup,snapshot}: Log and display in control 2022-10-03 11:22:45 +02:00
Tom Wiesing
1dac09bc03
snapshots: Prepare for restructuring
This commit renames the 'wisski' package to 'dis' and prepares the
snapshots component for restructuring.
2022-10-01 19:53:18 +02:00
Tom Wiesing
f58920baf4
component/snapshots: Create new component
This commit creates a new 'snapshots' component that is intended to
manage snapshots and backups.
2022-10-01 19:39:41 +02:00
Tom Wiesing
ea56ff4aac
{backup,snapshot,system_update}: Use better UI 2022-09-30 18:33:42 +02:00
Tom Wiesing
f19619ef9f
Add 'environment' package
This commit adds a new environment package that manages all calls to the
underlying operating system.
2022-09-18 14:24:22 +02:00
Tom Wiesing
a8da3f70eb
Move instances into a separate component 2022-09-14 18:07:12 +02:00
Tom Wiesing
ef1243ea39
Rename packages 2022-09-14 14:17:08 +02:00
Tom Wiesing
a4f91ae7cf
{backup,snapshort}: Improve behaviour
This commit improves the behaviour of 'backup' and 'snapshot' by
treating symbolic links properly, as well as writes proper reports.
2022-09-13 11:44:32 +02:00
Tom Wiesing
a360324f62
Refactor Package structure
This commit cleans up the package structure, to make two new top-level
packages `internal` (for internal-use packages) and `pkg` (for general
shared utility code).
2022-09-12 15:42:21 +02:00
Tom Wiesing
4b357476a3
Add 'dis' component
This commit adds a new 'dis' component to the distillery that serves a
list of all known instances for the moment.
2022-09-09 17:10:24 +02:00
Tom Wiesing
35bb95c5ca
Show a warning when using wrong executable
This commit updates the 'wdcli' command to show a warning when using the
wrong executable.
2022-09-09 13:35:02 +02:00
Tom Wiesing
fc3b9170a6
wdcli: Implement backup & snapshot
This commit implements command backup and snapshot.
2022-09-08 14:39:05 +02:00
Tom Wiesing
d818cb93a5
Rename backups => snapshot 2022-09-08 14:39:05 +02:00