Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add Cake.ExtractLicenses.yml #2403
Add Cake.ExtractLicenses.yml #2403
Changes from all commits
01f55fc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
We should cleanup description
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.
Target Cake version and TFM doesn't seem to match regarding best practices. We should check this with addin author.
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.
Hey I'm the author of the addin. What is the issue here?
I was using the recommended .NET target version and the Cake-Version
0.38.0
to be able to support as many users as possible. Do these two not fit together?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.
Hey @wgnf we use major versions of Cake to introduce breaking changes to APIs, so when an addin targets Cake v0.38.0 we can't be sure it will work with Cake v1.0.0 or v2.0.0, or v3.0.0 (latest as of this writing), so your addin should ideally target the most recent major Cake version
You can see more details in the documentation: https://cakebuild.net/docs/extending/addins/best-practices#cake-reference
If you do want to support as many users as possible (and you don't mind the extra work), you should release separae versions of your addin compatible with each Cake major version you want to support.
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.
Yeah that totally makes sense (idk what I was thinking there 😅). I'll have a look at that in the next few days.
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.
Just released version 2.0.0 of
Cake.ExtractLicenses
now targeting version 3.0.0 (see https://github.com/wgnf/liz/releases/tag/v2.0.0)thank you!
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.
Awesome. Thank you @wgnf!