Uh oh!
There was an error while loading. Please reload this page.
GitHubTeams: Add New/Update/Remove Functions - #222
GitHubTeams: Add New/Update/Remove Functions#222Simon Heather (X-Guardian) wants to merge 19 commits into
Conversation
Simon Heather (X-Guardian)
commented
Jun 6, 2020
Can we trigger the CI for this PR? |
Howard Wolosky (HowardWolosky)
commented
Jun 6, 2020
/azp run PowerShellForGitHub-CI |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Simon Heather (X-Guardian)
commented
Jun 7, 2020
Can we trigger the CI for this PR? |
Simon Heather (X-Guardian)
commented
Jun 7, 2020
I've added the |
Howard Wolosky (HowardWolosky)
commented
Jun 8, 2020
/azp run PowerShellForGitHub-CI |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Simon Heather (X-Guardian)
commented
Jun 8, 2020
Howard Wolosky (@HowardWolosky) , this PR is ready for review. |
Howard Wolosky (HowardWolosky)
commented
Jun 9, 2020
Thanks Simon Heather (@X-Guardian) ... holding off on this one for another few days until the big pipelining change is in so as not to accumulate further debt. I'll start a review on this soon, but there will be just a little bit of additional work needed to align the new functions to the way pipelining will be working with the rest of the module before it gets merged in. As an aside, I'm in agreement on removing implicit positional parameters on these and future functions per our discussion around #219. |
Howard Wolosky (HowardWolosky)
left a comment
There was a problem hiding this comment.
Awesome. Thanks for adding in this functionality! Much appreciated.
I have some feedback for you to consider before getting this merged in though. Primarily, it's a matter of adding-in pipeline support to these methods, but there's other feedback as well.
Thanks again.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Howard Wolosky (HowardWolosky)
left a comment
There was a problem hiding this comment.
Great update.
I think that there's still room for improvement in the parameter design to enable better pipeline support and reduce the need for the additional Get-GitHubTeam calls in the normal cases.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Howard Wolosky (HowardWolosky)
left a comment
There was a problem hiding this comment.
Some additional feedback after looking through this again.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Simon Heather (X-Guardian)
commented
Jun 29, 2020
Howard Wolosky (@HowardWolosky), do you want me to close this PR and open another one? |
Howard Wolosky (HowardWolosky)
commented
Jun 29, 2020
Yes, please do. |
Simon Heather (X-Guardian)
commented
Jun 29, 2020
This PR has been superseded by PR #257 |
Description
This PR adds the following functions to the
GitHubTeamsmodule:Add-GitHubTeamUpdate-GitHubTeamRemove-GitHubTeamIt also adds the
TeamNameparameter to theGet-GitHubTeamfunction to allow getting team details by team name, which is used by the new functions.100% coverage Pester tests have also been added for the following functions:
Get-GitHubTeamAdd-GitHubTeamUpdate-GitHubTeamRemove-GitHubTeamPositional Binding has been set as
falsefor the three functions, andPositionattributes added to the function's mandatory parameters.Issues Fixed
None
References
GitHub Teams API
Checklist
is reporting back clean.