Katharina Fey
24a38ff454
cargo fmt
2022-11-10 16:08:47 +01:00
Katharina Fey
e98827d5ae
Restructure common actions into common and base
...
Base actions are those that don't depend on another action to execute.
They mostly map to "very simple" OS operations like creating a
directory or user. Base actions MUST be multi-platform compatible.
Common actions may then use any set of base actions or other common
actions. Base actions MUST NOT depend on other base actions.
2022-11-10 15:54:12 +01:00
Katharina Fey
706ecccaa3
Fix flake.nix descriptor
2022-11-10 15:42:11 +01:00
Ana Hobden
460c0ba8c2
Merge pull request #39 from DeterminateSystems/hoverbear/ds-411-install-should-detect-existing
...
Install can detect existing /nix/receipt.json
2022-11-09 15:43:15 -08:00
Ana Hobden
6ff452420b
Merge branch 'main' into hoverbear/ds-411-install-should-detect-existing
2022-11-09 15:23:45 -08:00
Ana Hobden
942c652fc2
Handle signals and user stdin more gracefully
2022-11-09 15:19:32 -08:00
Ana Hobden
8b3205e944
Merge pull request #42 from DeterminateSystems/hoverbear/ds-427-add-ci-jobs-to-do-install-uninstall
...
Add new CI jobs that test install/uninstall
2022-11-09 13:37:59 -08:00
Ana Hobden
9fa8d0e948
Remove dead code
2022-11-09 10:13:49 -08:00
Ana Hobden
c22f92aee4
Tidy up plan / install UX
2022-11-09 10:09:20 -08:00
Ana Hobden
9c0dd087c3
Check if running as root during install and uninstall
2022-11-09 09:56:28 -08:00
Ana Hobden
f2bf7f4073
Set executable on mac too
2022-11-09 09:33:19 -08:00
Ana Hobden
a7ab480eea
Get repeated install working in CI
2022-11-09 09:25:29 -08:00
Ana Hobden
4fbc9dbdf9
Better note in readme
2022-11-09 08:50:50 -08:00
Ana Hobden
b123bbf285
Merge pull request #40 from DeterminateSystems/hoverbear/ds-430-plan-ux-refinement
...
Refine plan subcommand UX
2022-11-09 08:47:05 -08:00
Ana Hobden
83dde40db9
Use const in error messages
2022-11-09 08:45:13 -08:00
Ana Hobden
71e63da4e4
undo change
2022-11-08 14:11:45 -08:00
Ana Hobden
4ea3cd221d
Actually try to build working code
2022-11-08 13:53:56 -08:00
Ana Hobden
6ef10ff50e
Use systemctl disable not enable, don't auto revert in no-confirm
2022-11-08 13:43:06 -08:00
Ana Hobden
fb4d1c7280
source the nix file after install
2022-11-08 13:21:32 -08:00
Ana Hobden
d56421d345
Do a better job setting env vars
2022-11-08 13:04:19 -08:00
Ana Hobden
1a88add8c5
use sudo on linux as well...
2022-11-08 12:48:49 -08:00
Ana Hobden
47ae6398f8
Use sudo and don't try to prompt on no-confirm
2022-11-08 12:21:02 -08:00
Ana Hobden
d900830f04
No rename
2022-11-08 12:07:34 -08:00
Ana Hobden
bb298efbdb
Use artifact names better
2022-11-08 11:48:12 -08:00
Ana Hobden
eec8479c79
Laugh at the sheer ridiculousness of my life
2022-11-08 11:30:49 -08:00
Ana Hobden
04210490aa
Add new CI jobs that test install/uninstall
2022-11-08 11:22:08 -08:00
Ana Hobden
658c3ddde7
fmt
2022-11-08 10:31:11 -08:00
Ana Hobden
00ffe96aae
Refine plan subcommand UX
2022-11-08 10:20:48 -08:00
Ana Hobden
72d3fcd942
Detect if plan already done
2022-11-08 10:18:05 -08:00
Ana Hobden
e57311a807
Install can detect existing /nix/receipt.json
2022-11-08 09:58:53 -08:00
Ana Hobden
80b7c2c1fa
Workaround user deletion issues
...
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-11-04 12:24:38 -07:00
Ana Hobden
c230ea65f6
Revert accidental name_with_qoutes that broke unencrypted
2022-11-02 09:47:40 -07:00
Ana Hobden
7b8c62e4d5
When user sets encrypted, detect it, else heuristic
2022-11-02 09:32:06 -07:00
Ana Hobden
67efbedae9
Make it so --encrypt false works
2022-11-02 09:29:37 -07:00
Ana Hobden
5cf3ce93b9
Rename volume-encrypt to encrypt
2022-11-02 09:16:21 -07:00
Ana Hobden
e079f3ade0
Use the right magic sauce in the mount command
2022-11-02 09:10:44 -07:00
Ana Hobden
997364ad41
Get key provisioning working better
2022-11-01 15:31:31 -07:00
Ana Hobden
7c4f3206f9
Scaffold
2022-11-01 11:33:54 -07:00
Ana Hobden
6678b1cdee
Merge pull request #13 from DeterminateSystems/macos-security-framework
...
Add Riff metadata to Rust package
2022-11-01 10:04:09 -07:00
Ana Hobden
baa49911fc
Merge pull request #6 from DeterminateSystems/dependabot/github_actions/DeterminateSystems/update-flake-lock-14
...
Bump DeterminateSystems/update-flake-lock from 13 to 14
2022-11-01 10:02:31 -07:00
Ana Hobden
78fb860f16
Merge pull request #29 from DeterminateSystems/updates
...
Various bumps
2022-11-01 09:56:38 -07:00
Ana Hobden
914e2e2c13
Various bumps
2022-11-01 09:32:14 -07:00
Ana Hobden
67a67111e6
Improve documentation structure
2022-10-28 14:15:33 -07:00
Ana Hobden
eb1d8215f3
Improve planner and plan output
2022-10-28 12:44:07 -07:00
Ana Hobden
615b8b502c
Fixup a mistaken move of actions and make configure_nix_daemon_service cross platform
2022-10-28 10:54:33 -07:00
Ana Hobden
a61045f5a8
Move actions into OS-specific
2022-10-28 09:29:15 -07:00
Ana Hobden
d71827515a
Resolve Linux issue with repeated installs not working
...
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-10-27 08:42:03 -07:00
Ana Hobden
92f6a4e2b7
Cleanup BoxableError location
...
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-10-27 08:38:21 -07:00
Ana Hobden
ed039bf1dd
Cargo updates
...
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-10-27 06:42:00 -07:00
Ana Hobden
f49c155117
Ensure Planners and Actions can be created externally
...
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-10-26 15:13:42 -07:00