Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groom plan synopsis #338

Merged
merged 2 commits into from
Mar 16, 2023
Merged

Groom plan synopsis #338

merged 2 commits into from
Mar 16, 2023

Conversation

Hoverbear
Copy link
Contributor

Description

Tweak and tune how we print plans:

image
image

Checklist
  • Formatted with cargo fmt
  • Built with nix build
  • Ran flake checks with nix flake check
  • Added or updated relevant tests (leave unchecked if not applicable)
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • Linked to related issues (leave unchecked if not applicable)
Validating with install.determinate.systems

If a maintainer has added the upload to s3 label to this PR, it will become available for installation via install.determinate.systems:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/pr/$PR_NUMBER | sh -s -- install

@Hoverbear Hoverbear requested a review from cole-h March 14, 2023 16:53
@Hoverbear Hoverbear self-assigned this Mar 14, 2023
@Hoverbear Hoverbear marked this pull request as ready for review March 14, 2023 16:53
src/plan.rs Outdated Show resolved Hide resolved
src/plan.rs Outdated Show resolved Hide resolved
src/plan.rs Outdated Show resolved Hide resolved
@@ -213,39 +214,57 @@ impl InstallPlan {
}

#[tracing::instrument(level = "debug", skip_all)]
pub fn describe_uninstall(&self, explain: bool) -> Result<String, NixInstallerError> {
pub async fn describe_uninstall(&self, explain: bool) -> Result<String, NixInstallerError> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, I totally forgot to do this here as well 😅

src/plan.rs Outdated Show resolved Hide resolved
@Hoverbear Hoverbear requested a review from cole-h March 15, 2023 17:25
@Hoverbear Hoverbear added this to the v0.6.0 milestone Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants