Skip to content

Conversation

@kkeirstead
Copy link
Member

Users can now specify a configuration file via the command line (--configuration-file-path); if provided, this takes highest precedence but does not override the other configuration sources.

Closes #1760

@kkeirstead kkeirstead requested review from a team and IEvangelist as code owners June 9, 2022 16:50
Copy link
Member

@wiktork wiktork left a comment

Choose a reason for hiding this comment

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

Adding PR feedback.

wiktork
wiktork previously approved these changes Jun 17, 2022
…tring constant for the key instead of a resource string
wiktork
wiktork previously approved these changes Jun 22, 2022
jander-msft
jander-msft previously approved these changes Jun 22, 2022
@kkeirstead kkeirstead dismissed stale reviews from jander-msft and wiktork via 2e46ecd June 23, 2022 13:58
@kkeirstead kkeirstead merged commit 893d7e6 into dotnet:main Jun 23, 2022
@jander-msft jander-msft added the servicing-minor Servicing fixes that is targeted for a minor release (0.x.0 version) label Jun 28, 2022
@kkeirstead
Copy link
Member Author

/backport to release/6.x

@github-actions
Copy link
Contributor

Started backporting to release/6.x: https://github.com/dotnet/dotnet-monitor/actions/runs/2584007457

@github-actions
Copy link
Contributor

@kkeirstead backporting to release/6.x failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Feature appears to be working and tests are passing; might do some more manual testing
.git/rebase-apply/patch:371: trailing whitespace.
        
warning: 1 line adds whitespace errors.
Using index info to reconstruct a base tree...
M	src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/ConfigurationTests.cs
M	src/Tools/dotnet-monitor/Commands/ConfigShowCommandHandler.cs
M	src/Tools/dotnet-monitor/HostBuilderHelper.cs
M	src/Tools/dotnet-monitor/Program.cs
Falling back to patching base and 3-way merge...
Auto-merging src/Tools/dotnet-monitor/Program.cs
CONFLICT (content): Merge conflict in src/Tools/dotnet-monitor/Program.cs
Auto-merging src/Tools/dotnet-monitor/HostBuilderHelper.cs
Auto-merging src/Tools/dotnet-monitor/Commands/ConfigShowCommandHandler.cs
CONFLICT (content): Merge conflict in src/Tools/dotnet-monitor/Commands/ConfigShowCommandHandler.cs
Auto-merging src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/ConfigurationTests.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Feature appears to be working and tests are passing; might do some more manual testing
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@jander-msft jander-msft removed the servicing-minor Servicing fixes that is targeted for a minor release (0.x.0 version) label Jul 18, 2022
Egyptmaster pushed a commit to Egyptmaster/dotnet-monitor that referenced this pull request Sep 8, 2022
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.

Provide path for config file in command-line invocation

3 participants