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

Change DotNetCoreCLI verbosityRestore defaultValue to Normal #12297

Closed
aarondandy opened this issue Feb 5, 2020 · 5 comments
Closed

Change DotNetCoreCLI verbosityRestore defaultValue to Normal #12297

aarondandy opened this issue Feb 5, 2020 · 5 comments

Comments

@aarondandy
Copy link
Contributor

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Feature

Enter Task Name: DotNetCoreCLIV2

Environment

  • Server - Azure Pipelines:

    • If using Azure Pipelines, provide the account name, team project name, build definition name/build number: N/A
  • Agent - Hosted:

    • If using Hosted agent, provide agent queue name: Azure Pipelines

Issue Description

The default verbosity when creating a dotnet restore task is set to Detailed instead of Normal which causes a lot of output that I rarely need. It produces quite a lot of output which is not very helpful to me, making it a bit more difficult to read the logs if I just want to know "what" is going on vs "why". Additionally I don't have a way to reliably time this but it seems that it can add 10% to the runtime of the task. Can the default verbosity for this task be changed to Normal instead of Detailed to provide some of us with a better user experience and to possibly reduce our build times some? I would like to change it to Detailed when needed.

The fix for this appears to be as simple as changing the default value in the task.json file. I would be happy to make a PR for it but I am unable to properly contribute until #11136 is resolved.

"defaultValue": "Detailed",

@aarondandy
Copy link
Contributor Author

I made a PR for it anyway. The bots will sort it out in the end 😉

@aarondandy
Copy link
Contributor Author

After looking at the docs, it seems that Minimal is the default used by the tool and may make a better default for the tool.

Docs: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-restore#options

@bishal-pdMSFT
Copy link
Contributor

bishal-pdMSFT commented Feb 5, 2020 via email

@aarondandy
Copy link
Contributor Author

OK, that is a fair compromise. Normal isn't all that more noisy than Minimal. I also doubt anybody will be broken by the difference either way, and if they are they can manually configure it.

@github-actions
Copy link

github-actions bot commented Oct 5, 2020

This issue is stale because it has been open for a year with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants