You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been asked for previously in #3607#16785#16819 & possibly more too and ultimately has been declined each time to be added because we have a number of packages on the Gallery that provides this functionality already, with no .NET native YAML functionality.
We've also had discussions around providing a community driven "DevOps" meta-module on the gallery, that works similar to the Az/Microsoft.Graph module for a download once requirement and would include a module like PowerShell-Yaml along with a number of others.
I am tempted in marking this as resoltion answered & duplicate, but will leave doing so right now as to allow for other comments, however this would be for the cmdlets WG to discuss so marking it for under that WG & it may be re-discussed in the New Year
Ryan Yates (@kilasuit) With this reasoning, all cmdlets that contain ConvertFrom/To would have to disappear from Powershell.
I plead for a built-in solution that is tested and secure.
Just trying to give some additional context on a number of historical discussions for all reading this and linking issues for additional reading.
This is becuase as we've discussed previously for there to be a slim PowerShell package & I raised #1979 to reduce the need for all the modules to have to be a part of this codebase, making this repo eaiser to manage and eventually, make it much easier for people to start contributing pull requests with new features or fixes across not only the PowerShell Team owned modules, but also the wider community ones too.
Doing the above in future where just about everything is removed is just one part, as well having a The kitchen sink edition where everything is bundled for you, which could then in future include built in cmdlets like yml ones.
Other modules exist other than PowerShell-yaml like Yayaml
On a flipside for us to consider is that the PowerShell team just released Microsoft.PowerShell.PlatyPS which uses the same dependency as PowerShell-Yaml & Yayaml too & if dotnet actually built a System.text.yaml library then comments like that are less for us to need to do anything about.
I would far rather those discussions play out in the specific module than the PowerShell project having to decide on the one true parser or myriad of options to cater for everyone's requirements.
That alone, is enough of a reason for us to keep this issue open and for it to be a discussion into the New year
But I don't want to set hopes that it will happen - because the PowerShell Team is nowhere near the size of the dotnet teams, nor is it the size of the Windows teams - so there's always a need to prioritise the workloads that the team can take on, along with guidance of the working group members and insights from the community too.
I am both for us bundling things in when it makes sense to & where the support burden is reasonable & doens't really stretch an already stretched team or propped up by a large amount of community goodwill and often sometimes significant amount of time and effort beyond it being part of "the day job" to get things enhanced or fixed. This is because I know that there are loads of us that spend lots of time in here and other areas around PowerShell due to our desire to make this product and community ecosystem better.
I am tempted in marking this as resoltion answered & duplicate
You'd think with all the links and references where the community asked for first party support, it'd have enough momentum to become reality 😏
Especially today now that DevOps is locked into YAML, we desperately need a way to deal with this in an official capacity. (What I wouldn't do to be able to define my workflows with json 😩)
The @PowerShell/wg-powershell-cmdlets discussed this. We understand and agree that YAML is used heavily in the industry and would also like to see it supported natively within PS7. Adding a new dependency on an external assembly will introduce dependency collisions. We've already experienced such issues in the past. We also recognize that the popularity of the YAML modules on PSGallery means that YAML support is needed, but also that many folks are ok using 3rd party modules for YAML. If YAML support shows up in .NET runtime, we would certainly approve of builtin YAML cmdlets in PS7.
Activity
kilasuit commentedon Dec 10, 2024
This has been asked for previously in #3607 #16785 #16819 & possibly more too and ultimately has been declined each time to be added because we have a number of packages on the Gallery that provides this functionality already, with no .NET native YAML functionality.
Some additional background conversations in dotnet repos dotnet/runtime#83313 & dotnet/runtime#109199
We've also had discussions around providing a community driven "DevOps" meta-module on the gallery, that works similar to the Az/Microsoft.Graph module for a download once requirement and would include a module like PowerShell-Yaml along with a number of others.
I am tempted in marking this as resoltion answered & duplicate, but will leave doing so right now as to allow for other comments, however this would be for the cmdlets WG to discuss so marking it for under that WG & it may be re-discussed in the New Year
kasini3000 commentedon Dec 10, 2024
I suggest building it in again.
Gill-Bates commentedon Dec 10, 2024
Ryan Yates (@kilasuit) With this reasoning, all cmdlets that contain ConvertFrom/To would have to disappear from Powershell.
I plead for a built-in solution that is tested and secure.
kilasuit commentedon Dec 10, 2024
Just trying to give some additional context on a number of historical discussions for all reading this and linking issues for additional reading.
This is becuase as we've discussed previously for there to be a slim PowerShell package & I raised #1979 to reduce the need for all the modules to have to be a part of this codebase, making this repo eaiser to manage and eventually, make it much easier for people to start contributing pull requests with new features or fixes across not only the PowerShell Team owned modules, but also the wider community ones too.
Doing the above in future where just about everything is removed is just one part, as well having a
The kitchen sinkedition where everything is bundled for you, which could then in future include built in cmdlets like yml ones.Other modules exist other than PowerShell-yaml like Yayaml
On a flipside for us to consider is that the PowerShell team just released Microsoft.PowerShell.PlatyPS which uses the same dependency as PowerShell-Yaml & Yayaml too & if dotnet actually built a System.text.yaml library then comments like that are less for us to need to do anything about.
That alone, is enough of a reason for us to keep this issue open and for it to be a discussion into the New year
But I don't want to set hopes that it will happen - because the PowerShell Team is nowhere near the size of the dotnet teams, nor is it the size of the Windows teams - so there's always a need to prioritise the workloads that the team can take on, along with guidance of the working group members and insights from the community too.
I am both for us bundling things in when it makes sense to & where the support burden is reasonable & doens't really stretch an already stretched team or propped up by a large amount of community goodwill and often sometimes significant amount of time and effort beyond it being part of "the day job" to get things enhanced or fixed. This is because I know that there are loads of us that spend lots of time in here and other areas around PowerShell due to our desire to make this product and community ecosystem better.
StephenHodgson commentedon Dec 11, 2024
You'd think with all the links and references where the community asked for first party support, it'd have enough momentum to become reality 😏
Especially today now that DevOps is locked into YAML, we desperately need a way to deal with this in an official capacity. (What I wouldn't do to be able to define my workflows with json 😩)
SteveL-MSFT commentedon Jan 15, 2025
The @PowerShell/wg-powershell-cmdlets discussed this. We understand and agree that YAML is used heavily in the industry and would also like to see it supported natively within PS7. Adding a new dependency on an external assembly will introduce dependency collisions. We've already experienced such issues in the past. We also recognize that the popularity of the YAML modules on PSGallery means that YAML support is needed, but also that many folks are ok using 3rd party modules for YAML. If YAML support shows up in .NET runtime, we would certainly approve of builtin YAML cmdlets in PS7.
microsoft-github-policy-service commentedon Jan 17, 2025
This issue has been marked as declined and has not had any activity for 1 day. It has been closed for housekeeping purposes.
microsoft-github-policy-service commentedon Jan 17, 2025
📣 Hey Gill Bates (@Gill-Bates), how did we do? We would love to hear your feedback with the link below! 🗣️
🔗 https://aka.ms/PSRepoFeedback