-
-
Notifications
You must be signed in to change notification settings - Fork 726
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
Epic: Introduce DotNet aliases (synonyms to DotNetCore aliases) #3341
Comments
@augustoproiete |
Hey @Marusyk Thanks for looking into this one! This particular issue is a big one and I'd like to break it into smaller chunks to make PR reviews manageable otherwise we risk having a PR that is too large to review and it stays behind like some of the ones we have today where it's hard to find the time to properly look at it and test it. Do you think you can take a first look at the code and suggest a few different steps to get there on the items for Cake v1.0? We get those issues created and you can knock some PRs out of each of those (and we leave this big one open until Cake 3.0 is out). Some questions that comes to mind:
What do you think @Marusyk & @cake-build/cake-team? |
Hi @augustoproiete
|
Hey @Marusyk I spent some time on this last weekend and mapped the dependencies as being:
The first draft of all changes is here which is hard to review as a single PR, so I sent an initial PR for the If you could take it for a spin and test that the aliases work as expected it would be very helpful! |
This epic is now complete (see all issues closed above and corresponding pull requests merged) and will be released with Cake v2.0.0 🎉 |
🎉 This issue has been resolved in version v2.0.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Background
Cake has many
DotNetCore***
aliases for executingdotnet
such asDotNetCoreBuild
,DotNetCoreTest
, etc.The
Core
part in the name exists for historical reasons when .NET Core was first introduced and lasted until v3.1.With .NET 5, Microsoft dropped the "Core" from the name, and it's time we start working towards doing the same in Cake. i.e.
DotNetCoreBuild
becomesDotNetBuild
,DotNetCoreTest
becomesDotNetTest
, etc.Agreed Implementation Approach
Cake 2.0.0 - Introduce new DotNet aliases & mark DotNetCore aliases as obsolete
DotNetCore***
aliases and settings toDotNet***
DotNet***
aliases have their ownDotNet***Settings
DotNetCore***
toDotNet***
aliasesDotNetCore***Settings
should inherit fromDotNet***Settings
so that old code continues to compileDotNetCore***
aliases as obsoleteDotNetCore***
aliases toDotNet***
aliasesCake 3.0.0 - Sunset DotNetCore aliases
DotNetCore***
aliases from the codebaseDotNetCore***
aliases toDotNet***
aliasesDotNetCoreMSBuild
DotNetMSBuild
DotNetCoreTool
DotNetTool
DotNetCoreRun
DotNetRun
DotNetCoreExecute
DotNetExecute
DotNetCoreClean
DotNetClean
DotNetCoreRestore
DotNetRestore
DotNetCoreBuild
DotNetBuild
DotNetCoreBuildServerShutdown
DotNetBuildServerShutdown
DotNetCoreTest
DotNetTest
DotNetCoreVSTest
DotNetVSTest
DotNetCorePublish
DotNetPublish
DotNetCorePack
DotNetPack
DotNetCoreNuGetPush
DotNetNuGetPush
DotNetCoreNuGetDelete
DotNetNuGetDelete
DotNetCoreNuGetAddSource
DotNetNuGetAddSource
DotNetCoreNuGetDisableSource
DotNetNuGetDisableSource
DotNetCoreNuGetEnableSource
DotNetNuGetEnableSource
DotNetCoreNuGetHasSource
DotNetNuGetHasSource
DotNetCoreNuGetListSource
DotNetNuGetListSource
DotNetCoreNuGetRemoveSource
DotNetNuGetRemoveSource
DotNetCoreNuGetUpdateSource
DotNetNuGetUpdateSource
DotNetCoreMSBuildSettings
DotNetMSBuildSettings
DotNetCoreToolSettings
DotNetToolSettings
DotNetCoreRunSettings
DotNetRunSettings
DotNetCoreExecuteSettings
DotNetExecuteSettings
DotNetCoreCleanSettings
DotNetCleanSettings
DotNetCoreRestoreSettings
DotNetRestoreSettings
DotNetCoreBuildSettings
DotNetBuildSettings
DotNetCoreBuildServerSettings
DotNetBuildServerShutdownSettings
DotNetCoreTestSettings
DotNetTestSettings
DotNetCoreVSTestSettings
DotNetVSTestSettings
DotNetCorePublishSettings
DotNetPublishSettings
DotNetCorePackSettings
DotNetPackSettings
DotNetCoreNuGetPushSettings
DotNetNuGetPushSettings
DotNetCoreNuGetDeleteSettings
DotNetNuGetDeleteSettings
DotNetCoreNuGetSourceSettings
DotNetNuGetSourceSettings
DotNetCore aliases - https://cakebuild.net/dsl/dotnetcore/
The text was updated successfully, but these errors were encountered: