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

Added Docker CliSettings context and host, along with extensions #1254

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

fredericvaillancourt
Copy link

Changes

  • Added Docker host parameter list (CliSettings for all commands)
  • Added Docker context parameter (CliSettings for all commands)
  • Set CliSettings extensionMethods to true so it can be configured. Otherwise there is no way to set cli settings values ...

Removing the ProcessLogger from CliSettings could have done the trick, to avoid NewInstance throwing while copying the logger. However it seems the exception there was on purpose, to prevent people from using the logger in the common type. So I modified a little bit the tool code generation to support not deriving from ToolSettings, which removes the extra ProcessLogger and makes NewInstance not try to copy anything. I think it makes everything cleaner, not sure what you had in mind at the beginning ...

It was partially tested in our solution, I was able to remove all hacks to set CliSettings properties. I was not able to do a full build though as our CI is currently broken ...

I confirm that the pull-request:

  • Follows the contribution guidelines
  • Is based on my own work
  • Is in compliance with my employer

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.

None yet

2 participants