-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Move cross platform DSC code to a subsystem #15127
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
Conversation
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Outdated
Show resolved
Hide resolved
Why not move the old code too? |
@iSazonov old code is planned to be removed completely by a separate PR. |
And the experimental "PS7DscSupport" flag too? Release will contain only new code?
Private repo? Is a plan to make public? |
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Outdated
Show resolved
Hide resolved
Will this be backported anywhere? |
The current plan is: "yes" to both questions.
Yes, the plan is to make it public. |
Good question; At this point I don't see a strong reason for backporting, considering GC is happy as it currently is without the backport. |
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/ExperimentalFeature/ExperimentalFeature.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/CommandCompletion/CompletionAnalysis.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Outdated
Show resolved
Hide resolved
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 15 days. It will be closed if no further activity occurs within 10 days of this comment. |
@anmenaga Please resolve merge conflicts. |
@anmenaga Please respond to comment from Dongbo: #15127 (comment) |
Updated according to offline discussion with Dongbo and Steve. @daxian-dbw can you please have another look? Thank you. |
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/CommandCompletion/CompletionAnalysis.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/Subsystem/DscSubsystem/ICrossPlatformDsc.cs
Outdated
Show resolved
Hide resolved
@anmenaga Great work! |
🎉 Handy links: |
PR Summary
This work is in the context of Minimal PowerShell.
Cross platform DSC code that was in
System.Management.Automation.dll
is extracted as a PowerShell subsystem (this PR) and moved to a newMicrosoft.PowerShell.DscSubsystem.dll
to be shipped withPSDesiredStateConfiguration
v3 module (PR in PSDesiredStateConfiguration repo).PR Context
This PR is following guidelines from subsystem architecture document:
System.Management.Automation.dll
and placed into a newMicrosoft.PowerShell.DscSubsystem.dll
inPSDesiredStateConfiguration
v3 module.ICrossPlatformDsc
is defined in SMA and implemented inMicrosoft.PowerShell.DscSubsystem.dll
IModuleAssemblyInitializer.OnImport
(implemented inMicrosoft.PowerShell.DscSubsystem.dll
) whenPSDesiredStateConfiguration
v3 module is loaded.PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).