Commit graph

99 commits

Author SHA1 Message Date
Cole Helbling 2594316750
Integrate nix-config-parser (#263)
Co-authored-by: Ana Hobden <operator@hoverbear.org>
2023-03-06 17:29:44 +00:00
Ana Hobden 903258942c
Add more failure context / Improve error structure (#296)
* wip: add more context to errors

* Add a bunch fo context

* Repair source handling

* Add remaining contexts

* Add some context, but some of it is not right...

* Tidy up contexts properly

* Get command errors working how I want

* Remove some debug statements

* Repair mac build

* Move typetag to Action

* newtypes!

* Fix doctest
2023-03-03 14:20:17 -08:00
Ana Hobden f9f927840d
Release v0.4.0 (#273) 2023-02-24 22:29:52 +00:00
Ana Hobden db329ea65f
Prelease tidy and add is_ci to Diagnostics (#271)
* Some pre-release tidy and add is_ci to diagnostics

* Bump locks

* Fixup cargo-audit raised issues

* Remove a spare 'I' which we were saving for later

* rename a field

* failure_variant, not error_variant
2023-02-24 13:07:11 -08:00
Ana Hobden 19dd7a13d4
Add diagnostics reporting (#264)
* Add diagnostics reporting

* Some tidying

* Remove injected failure

* Update URL

* Fixups

* Fix tests

* Use triples instead of architecture
2023-02-24 10:11:12 -08:00
Ana Hobden 41fdc2d20e
Release v0.3.0 (#249) 2023-02-14 09:45:20 -08:00
Ana Hobden e35278a121
It's the Determinate Nix Installer (#242)
* We like the phrasing the Determinate Nix Installer for now

* Cajoled

* Fixups
2023-02-10 19:48:44 +00:00
Ana Hobden 3d1b9f2644
v0.2.1-unreleased (#232) 2023-02-02 18:38:46 +00:00
Ana Hobden 95852f295e
Release v0.2.0 (#230) 2023-02-01 13:46:55 -08:00
Ana Hobden 8042ac5131
Add plist use to the CreateFstabEntry action (#221) 2023-02-01 10:40:56 -08:00
Ana Hobden 23c453f371
Use a UUID instead of volume name for fstab on Mac (#215)
* Use a UUID instead of volume name for fstab on Mac

* reflect review

* Don't quote the UUID in fstab
2023-01-31 08:49:22 -08:00
Ana Hobden 39a080b7c4
v0.1.0-unreleased (#210) 2023-01-25 17:46:37 +00:00
Ana Hobden 501d7eebca
Release v0.1.0 (#208) 2023-01-20 14:45:56 -08:00
Ana Hobden 24a94ec3f9
Re-release v0.0.2 (#201) 2023-01-19 11:14:08 -08:00
Ana Hobden 17062e678a
Revert "Release v0.0.2 (#198)" (#200)
This reverts commit a29ebd7ae8.
2023-01-19 08:53:09 -08:00
Ana Hobden a29ebd7ae8
Release v0.0.2 (#198) 2023-01-18 14:05:49 -08:00
Ana Hobden 7ce0ae5391
Add some tests to CreateFile (#182)
* Add some tests to CreateFile

* in a module
2023-01-11 21:52:55 +00:00
Ana Hobden 20aa4cdf0b
bump v0.0.2-unreleased (#176) 2023-01-11 16:53:06 +00:00
Ana Hobden bbeed6a729
Release v0.0.1 (#168)
* Release v0.0.1

* Bump fixtures

* Fixup upload_s3.sh

Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
2023-01-09 13:53:55 -08:00
Ana Hobden 860bc4d040
Added metadata (#134)
* Add metadata do Cargo.toml

* Add docs link
2022-12-21 19:58:18 +00:00
Ana Hobden d299dbf0f2
Rename harmonic to nix-installer (#125)
* Rename harmonic to nix-installer

* Fix build

* handle nix-install.sh rename

* Forgot some things

* Fix a mistype

* Fix env var

* Fix merge change that popped up
2022-12-19 18:26:58 +00:00
Ana Hobden 8745a85192
Minimize deps with cargo machete (#120)
* Minimize deps with cargo machete

* Remove default features

* Serde json gets std

* Add a few features to keep

* Reflect change sin dev-deps

* Remove bad optional

* Also remove cfg from nix build
2022-12-14 13:13:09 -08:00
Ana Hobden fce4470051
minimize size (#121) 2022-12-13 18:02:57 +00:00
Ana Hobden 72792372ee
Tidy UX, make --logger param (#108)
* Tidy UX, make --logger param

* Include cargo change
2022-12-09 11:15:54 -08:00
Ana Hobden fe83b35199
Fixup Mac curl $URL | sudo sh -s (#99)
* Fixup Mac curl sh

* We not longer require sudo for the script
2022-12-08 08:04:49 -08:00
Ana Hobden 898d053c70
Add plan tests (#91) 2022-12-05 09:47:13 -08:00
Ana Hobden 700496be3e
Bump deps (#86) 2022-12-02 08:20:42 -08:00
Ana Hobden c39bf0a510
Flesh out docs and tidy up public API substantially (#67)
* Make plans versioned

* Delint

* speeeeeeeeling

* remove file that was dead

* Flesh out docs and improve public API

* Speeling

* Fixups

* Fix doctests

* Do a better job with actionstate

* Add some more docs

* Fix doctest

* Make CLI stuff optional

* Touchup

* Speeling
2022-11-28 22:57:35 +00:00
Ana Hobden 7cc71f1ccd
Make plans versioned (#62)
* Make plans versioned

* Delint

* speeeeeeeeling

* remove file that was dead
2022-11-25 11:46:38 -08:00
Ana Hobden ad44b85c97
Use process groups with tokio (also crate bump) (#63)
* Use process groups with tokio (also flake/crate bump)

* Use pgid0

* Maybe this checkout has a non-broken curl on mac

* Don't update flake at all
2022-11-25 08:02:00 -08:00
Ana Hobden 6123d778fe Merge branch 'main' into hoverbear/ds-431-ctrlc-should-be-handled-and-terminate-us 2022-11-10 09:43:38 -08:00
Ana Hobden 942c652fc2 Handle signals and user stdin more gracefully 2022-11-09 15:19:32 -08: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 ed039bf1dd Cargo updates
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-10-27 06:42:00 -07:00
Ana Hobden 86a518f2fe Even more mac progress, can plan and start runs 2022-10-20 11:36:44 -07:00
Ana Hobden c75a4ed511 Hammer out a bunch of Mac support 2022-10-19 15:12:50 -07:00
Ana Hobden da0219deb0 Find xpath crate, scaffold more 2022-10-18 11:03:19 -07:00
Ana Hobden 33879821c3 Tidy up arguments 2022-10-13 12:03:42 -07:00
Ana Hobden 2bd6cf1e65 Use a vec for the plan instead of specifics 2022-10-13 10:34:19 -07:00
Ana Hobden d35edb976f Tidy and flesh out README 2022-10-06 12:21:49 -07:00
Luc Perkins 4afc4a6177
Add Riff metadata 2022-09-28 13:52:22 -05:00
Ana Hobden 0e843d3e5d Get plan/execute working 2022-09-15 10:29:22 -07:00
Ana Hobden b04d26abf1 Ponder plan/revert 2022-09-14 15:18:13 -07:00
Ana Hobden 82523e43a6 Prod at CI with a stick
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-09-09 12:26:53 -07:00
Ana Hobden fddc0dd302 Working spike out 2022-09-09 11:43:35 -07:00
Ana Hobden fe966932ed More bones, trimming deps 2022-09-07 17:13:06 -07:00
Ana Hobden 609ed3563f Expand codebase
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-09-06 12:48:37 -07:00
Ana Hobden bca0549c30 init 2022-09-02 16:04:02 -07:00