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

Add Cake.ExtractLicenses.yml #2403

Conversation

cake-contrib-bot
Copy link
Contributor

This pull request was created by a tool: Cake.AddinDiscoverer version 4.4.0

Resolves #2402

Comment on lines +9 to +11
Description: >-
The Cake-Addin of the Liz-Tool - which helps to extract license-information from your solution/project
aimed on a fast and correct process.
Copy link
Member

Choose a reason for hiding this comment

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

We should cleanup description

TargetFrameworks:
- netcoreapp3.1
- net5.0
- net6.0
Copy link
Member

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.

Copy link

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?

Copy link
Member

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.

Copy link

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.

Copy link

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!

Copy link
Member

Choose a reason for hiding this comment

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

Awesome. Thank you @wgnf!

@augustoproiete
Copy link
Member

@wgnf just released a new version of the addin that targets Cake v3.0.0 so closing this PR to let the AddinDiscoverer create a new one with the latest version

@augustoproiete augustoproiete deleted the add_Cake.ExtractLicenses.yml_2022_03_02_16_48_25 branch January 26, 2023 16:36
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.

Add Cake.ExtractLicenses.yml
4 participants