-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
GH-3238: Update DotNetTool module to target netstandard2.0 only #3239
GH-3238: Update DotNetTool module to target netstandard2.0 only #3239
Conversation
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.
As it's fixed in Cake 1.1 maybe 1.0 users should just pin their version to
1.0.1 or upgrade to Cake 1.1.
Cake.DotNetTool.Module 1.1 targets Cake.Core 1.1.0, so not intended to be used with 1.0.
That's certainly an option. Downside is for anyone using 1.0.0 or lower that is not yet using the DotNetTool module and decides to try out. Also, users of @nils-a dependabot-cake-action will get PRs asking them to bump the DotNetTool module to 1.1
That's correct, except that to the end-user it might look confusing that the package that they have been using got a minor bump, and became incompatible (given the compatibility ranges we've been following) |
But maybe in that case it should also look at what version of
Yes but that range in reverse, it means that something that targets We've added features in
|
Does this mean Cake 1.1.1 is imminent, in which case I'll wait before upgrading everything to 1.1.0, or will the next release be much further out - at least a week or more? |
Well if we want
|
When |
It's needed for |
Couldn't that be a project reference that ends up embedded in the |
🤔 I think knowing what version of |
@augustoproiete another way to handle that would be for Cake to support version ranges. Normally you always want latest (IMHO), but if that becomes problematic you should be able to pin the version range to avoid issues with an incompatible |
We're on the same page on this. My point is only that the version number of Cake.DotNetTool.Module getting a minor bump (due to the fact it's now driven by the Cake version) instead of a major bump might cause confusion. |
@gitfool Agreed, that would be useful. We have a PR that seems to add support version ranges, which needs some TLC to move forward. |
It might be confusing yes, one reasoning there is that it from now on should only be outside of Any usage outside of That's why if we want to support BTW also real fix in Cake would be for modules to respect TFMs just as we do with addins, so modules can multi target without issue. |
Agreed. We're treating symptoms instead of the cause. So perhaps the best option to move forward is to just keep it as-is, and document on the website so we can point people to it if we get support requests? /cc @cake-build/cake-team |
We decided we'll leave it as is and document our general recommendation:
or
|
Closes #3238