-
Notifications
You must be signed in to change notification settings - Fork 10
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
Bump the Cake.Core
package to 4.0.0
#124
Conversation
@gep13 Hey Gary! I’d appreciate it if you could find some time to review, merge into the develop branch, and then release the next version, please! |
@devlead Hello Mattias! Workflow status
|
@gep13 @nmbro @Jericho @daveaglick @derhally @augustoproiete @Sharparam @devlead @larzw @RLittlesII @jokay |
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.
changes look good at a glance.
I remember @pascalberger being pretty active in the cake-contrib repos
And for the love of everything holy - remember to squash if this gets merged :)
@raman-m thank you for the contribution. However, rather than doing one big jump to Cake 4, I will do small steps and create intermediate releases for Cake 2.0 and 3.0 between. If it's ok for you, I'll probably cherry-pick some of your commits along the way.. |
@nils-a Hi Nils!
Indeed, releasing previous versions of Core is a sensible approach.
That's fine! There's no need to cherry-pick. I'll rebase the feature branch following the official release for versions 2 and 3. However, do let me know if you require any assistance. P.S. I will resolve conflicts later after the releases. |
@raman-m it is done: I released Cake.Coveralls 3.0.0 which added support for Cake 3.0.0. If you like, you can start resolving conflicts, now. 😬 I hope I have not made too many changes that collide with this PR. |
Going to rebase the feature branch and resolve merge conflicts... |
CCG0006: No '.editorconfig' found in folder-structure. Usage of '.editorconfig' is strongly recommended. See https://cake-contrib.github.io/CakeContrib.Guidelines/rules/ccg0006
CCG0008: Usage of tag 'addin' is recommended. See https://cake-contrib.github.io/
…gs for the project. Editor Config -> New line preferences -> Insert Final Newline = true Note: All files should end with new line because of GitHub diff tool which highlights absent new line
XML docs for test classes are nor required
Each project should be configured to include an XML documentation file with the compiled output.
Disable warning in the project file.
… throwing a new exception instance
Disable IDE0290 because the feature is available in .NET 8 (C# 12) only
Disable IDE0300 because the feature is available in .NET 8 (C# 12) only
… declared in the file.
@nils-a, if it's alright with you, I can implement the Visual Studio refactoring Quick Action, also known as "Convert to file-scoped namespace", across all C# files. File-scoped namespaces have been available since .NET 6 vs C# 10. P.S. FYIThe feature branch has been rebased onto cake-contrib:develop❕ |
While I, personally, like it, I'd rather have @gep13 input on that question. So, no, for now let's not do that. |
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.
LGTM!
Should I close conversation threads? |
@raman-m your changes have been merged, thanks for your contribution 👍 I will fix two more issues, and then I will release the v4.0.0. |
I don't have any strong opinion either way. Personally, I don't really like it, but I am an old .NET Developer, who is stuck in their ways! Long live
I think that this would be the correct approach. |
Thank you for merging it! |
Fixes #123
Cake.Core
package #123This PR upgrades the Cake.Core version to 4.0.0 which was released on Nov 19, 2023.
With minor refactoring, with checking and fixing errors/warnings/messages of StyleCop and IDE code analyzers.
Description
Cake.Core
to 4.0.0 and other packages to the latest versions, see commit 0407e04Cake.Addin.Analyzer
, the latest version 0.1.3 was released on Mar 3, 2021, see commit acaa3f7.editorconfig
to the solution because it is best practice for code analysis, see commit 42aa7f7CCG0008
related to usage of recommended tags, see commit 634170bSA1210
(2c473db),SA1518
(fb0c16a),SA1600
(3ed30e3) andSA0001
(f352054)CS1591
(206cd63)CA1510
(1ffc8d3)IDE0017
(d559ded) andIDE0066
(778f866)IDE0290
(c080309) andIDE0300
(9efd482)Related Issue
Cake.Core
package #123Motivation and Context
This change is required because of #123
After major release of referenced packages,
Cake.Core
one in our case, the packs versions must be updated.How Has This Been Tested?
To be provided...
Screenshots (if appropriate):
Types of changes
Checklist: