-
Notifications
You must be signed in to change notification settings - Fork 653
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
Migrating from UtilPack to NuGetUtils, take two #1677
Conversation
…e-related changes. Also forgot to add one .cs file from previous commit.
… in original code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was much easier to review now, thank you so much for redoing it all. I have a few mostly syntactic requests, otherwise this looks good. 😃 👍
It seems we have a bit different coding styles! :) I love having each method parameter on its own line. In any case, I'll get on these as soon as I get time. These don't seem like a complex work, just a bit tedious. The only thing I might be semi-disagreeing with is changing |
I've pushed commits which adher to the review discussion. I think the only non-clear things left are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good now. Can you please have a look as well, @dazinator and @arturcic?
Is it ok to have Input-classes (
InputBase
,InputWithCommonAdditionalProperties
, andInputValidationException
) in the same file withGitVersionTaskCommonFunctionality
(exGitVersionTaskBase
)?
I prefer one class per file, but it's not a deal-breaker.
I've just changed the name of
GetWorkingDirectoryAndFileNameAndExtension
toGetFileWriteInfo
, I hope that's OK (didn't create any additional classes for this).
Fine by me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the Infrastructure.props
file please rename the properties that start with UtilPack
with NuGetUtils
to be consistent with the package name change
Thanks for your contributions and patiance, @stazz! 🙏 |
You're most welcome! Since dynamic assembly loading is extremely fragile business, let me know asap if you notice something funky going on. I did my best to do tests on this, but they were all manual, as I am not quite sure how to approach writing integration-level tests (which go on invoking |
@arturcic, now that you've started drafting release 5.0.0, would you like to postpone this to 5.0.1? |
Actually that was a test only, I'll remove the draft version, was checking the release notes generation and it seems it now works. I'll discard |
There are a couple of issues I want to address before the 5.0.0 version, and I think this PR should be included in 5.0.0 |
This is re-implementation of #1634 (which later was processed as #1645 ), since that got a bit too convoluted with respect of other changes done to GitVersion repository while the pull request was in development and under review.
Resolves #1634 and #1645.