Repository navigation
WIP: Add string cmdlets that emulate operator functionality on pipeline - #6753
Friedrich Weinmann (FriedrichWeinmann) wants to merge 17 commits into
Conversation
For more convenient parameter tabbing
|
Still needs a corresponding documentation update, specifically command help for the new commands. Do I just add new platyPS compatible markdown files to the command reference in the documentation repository? |
|
Friedrich Weinmann (@FriedrichWeinmann) Please follow our RFC process - we should get RFC approved by PowerShell Committee before implementing new cmdlets. The RFC should contains motivations (addressed scenarios), design proposal and alternative considerations. |
|
Hi Ilya (@iSazonov) , thanks for pointing me at the relevant section on that - I tried reading it all, but there's just ... a lot for a first attempt. Sure, will file an RFC if that's desirable - Bruce just told me to go file an issue at PSConfEU. I coded the actual implementation based on that pretty much as ...
So yes, even if the initial reception was rather positive in general, I went ahead with the full knowledge that I might be wasting my time if the proposal got reject or large revisions - like those proposed by you - were decided upon. I'll be filing that RFC as soon as I can make the time to fully read that documentation and process and write it all up - might take a day or two alas :( If you have any guidance to offer regarding the documentation question as well - whether for this or for future issues - that would be much appreciated. |
|
Friedrich Weinmann (@FriedrichWeinmann) The PR is good for first-time. Now I don't don't want to waste your time and push review comments before we get approved RFC. Creating RFC is the same - fork RFC repo, create branch, commit, push PR, get and address feedbacks. Minimum time for waiting feedback is one month. The RFC should contains:
|
|
Heya Ilya (@iSazonov) : RFC filed: PowerShell/PowerShell-RFC#127 :) Thanks for the preliminary feedback on the PR, I'm assuming it's ok to keep it open marked as WIP in the meantime, allowing people to try things out for the sake of the discussion. That said, if you could tell me how - or rather where - in the end command help should be contributed, that would be great. I'm sure it's written in one of those guides, but it really is a forest of documentation :( |
|
Friedrich Weinmann (@FriedrichWeinmann) if your asking where command help goes, that would be in the PowerShell-Docs repo. Best bet would be to use PlatyPS to generate the initial markdown files, copy and modify the metadata from one of the existing Docs project files, update the markdown documentation, and then submit the PR to the docs repo. |
|
Ilya (@iSazonov) I asked Friedrich Weinmann (@FriedrichWeinmann) to file the issue to gauge interest before expending the effort on writing the RFC. Based on our discussions in Germany, he already had substantially implemented things and so now we have code, tests (and documentation?). But it does need to be reviewed by the committee before proceeding. As far as the RFC goes, I imagine it should be pretty simple - fill in the section on motivation and the specification part is the code, tests and the documentation - essentially this PR. (note: If there was much code or if it was complex, I would expect a more detailed specification but it's not. The parameter specifications are longer than the method bodies) But the rest of the committee members will have to agree with that. |
We have already received a community feedback that MSFT makes rules and processes and then violate them itself. I believe Joey Aiello (@joeyaiello) and Steve Lee (@SteveL-MSFT) remember about it. I see no reasons why we should again violate our obligations to the community. |
|
Ilya (@iSazonov) I am acutely aware of our issues WRT process. And I didn't say that there shouldn't be an RFC, I'm merely pointing out that, because there is working code, the design portion need not be that detailed. The cmdlet signatures are in the code. The behaviour is in the code. And most specifically the tests, which make the behaviour clear, are there as well. |
|
@PowerShell/powershell-committee appreciates the publishing of the RFC. This PR should not be merged until the RFC is approved and any accepted feedback is addressed in this PR. Thanks for the contribution! |
|
This PR has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs within 10 days. |
|
This PR has be automatically close because it is stale. If you wish to continue working on the PR, please first update the PR, then reopen it. |
|
Reopening so we can resume making progress on this (sincere apologies to Friedrich Weinmann (@FriedrichWeinmann) for the delays). And now that we have experimental features, this could be done as an experimental feature so we can get (broader) feedback on the names and functionality. (And Steve Lee (@SteveL-MSFT) Is working on some new commands that will make it easier to discover, enable and manage these features.) |
Update from baseline
|
This PR has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs within 10 days. |
|
This PR has been automatically closed because it is stale. If you wish to continue working on the PR, please first update the PR, then reopen it. |
PR Summary
Adds commands that enable string manipulation on the pipeline. Specifically emulates common string operators, as well as frequently used string methods.
New Commands added:
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature testsSee also:
#6697