You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add split-receipt command that splits receipt into phase 1 and 2 uninstallation flows (#1278)
* fixup: align ActionTag with serde and typetag tags
* Bump to 0.28.0, since receipt format changed due to misaligned serde / typetag tags
* fixup: make it possible to write receipts for anything serializable
* Leave TODO about existing macos volume services being different
* Remove determinate/upstream init service if it still exists
* Check that the GID of an existing /nix/store is the same GID as we're going to create / use
* fixup: make some fields pub(crate) for the upcoming split-receipt command
* fixup: reorganize imports
* Add `split-receipt` command that splits receipt into phase 1 and 2 uninstallation flows
* Remove phase 1 and 2 uninstall receipts if they exist upon a successful install
* Move split_receipt module into its own file
* fixup: cargo clippy
* fixup: extract "check existing nix store gid" into own function
* fixup: define roundtrip_to_extract_type outside of other function
* fixup: don't fail profile deserialization if UnknownProfileItem is missing fields
plist::Value does not implement Eq, so we need to wrap it in something
that does, I think, probably
* fixup: put uninstall phase1 command on new line
* Update fixtures
* fixup: split_receipt: split match expression to separate let
* fixup: roundtrip_to_exact_type: use type_name instead of manually passing action_tag
---------
Co-authored-by: Cole Mickens <[email protected]>
0 commit comments