Skip to content

Conversation

@dsplaisted
Copy link
Member

Installation library no longer uses Spectre.Console directly but now goes through an IProgressTarget interface. Updated the --nno-progress option to use a different implementation of this interface, rather than passing the option as a parameter down to the library.

Currently, the output looks like this (without progress updates and with them):

image

Copy link
Member

@nagilson nagilson left a comment

Choose a reason for hiding this comment

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

This is a great improvement, thank you! I really like how you abstracted this.

I wonder if we should expand dotnet install root to print the full path instead of a relative path, but that's not really needed for this PR. It might look awkward if the dotnet install root is several directories above the user's working directory.

MaxValue = maxValue
};
_tasks.Add(task);
Spectre.Console.AnsiConsole.WriteLine(description + "...");
Copy link
Member

Choose a reason for hiding this comment

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

nit: Should we add ... to the description every time? And should we abstract spectre.console out of the class? I don't think we need to do either for now.

@nagilson
Copy link
Member

nagilson commented Oct 28, 2025

Another remark before merging: I would stilll recommend working in dnup.

The review comments here (#50988) won't apply to the dnup branch which might make it harder to see what we've fixed. If we want to work out of the release branch, which it sounds like you and @/marcpopmsft agree we should, then we should close or redo that PR once the feedback is addressed in the release branch. I have addressed a majority of the feedback in my working PR so it's less of an issue.

However, another issue with targeting release/dnup is that the SDK checks run below, and we'd need to modify the github rules and sdk pipelines to exclude the release/dnup branch. When we get to the point where release/dnup modifies SDK code though, I think it makes sense to run the SDK checks there.

@nagilson
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nagilson nagilson merged commit 11265f1 into dotnet:release/dnup Oct 28, 2025
12 checks passed
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