-
Notifications
You must be signed in to change notification settings - Fork 765
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
Add new resource github_team_members to allow authoritative team management #975
Add new resource github_team_members to allow authoritative team management #975
Conversation
I like the idea, I am not sure if the name should be so similar that someone might accidentally typo the wrong one. Maybe something more explicit would be better as this deviates from the 1:1 relationship we have with the api to resource now. Some suggestions, feel free to mix/match as I could not say I found a name I loved:
|
Do you really think it's necessary to such a long name? I would prefer I also added a detailed description in the resource documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this resource would make the overall use case much easier to configure, but dilutes the project slightly with yet another way to accomplish the task.
As for naming, I wish github_team_membership
was already available or github_team
could have taken the members
block. I'm open to not block on the naming if we can get clearer documentation around when to use this resource versus the others.
Finally, the tests need to be reworked slightly to match the existing pattern. See resource_github_team_test
for a relevant example, particularly the anonymous / individual / organization casing.
Co-authored-by: Jeremy Udit <jcudit@github.com>
@jcudit Thanks for the comments. I updates the documentation and reworked the test case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gave this a spin locally but found it difficult to test given the whole invite-another-collaborator flow. Looks good on another read through though and feel we can ship and iterate if needed.
🙇🏾 for the docs updates, hoping they reduce confusion over time.
Co-authored-by: Jeremy Udit <jcudit@github.com>
@jcudit Do you already have a timeline for the merge? Thanks for the reviews and approval ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcudit and I have read through this together and we'll get it released shortly!
…gement (integrations#975) * Add new resource github_team_memberships to allow authorative team management * Fix typo in test * Add docs and rename resource to github_team_members * Apply suggestions from code review Co-authored-by: Jeremy Udit <jcudit@github.com> * Rework tests * Update documentation * Apply suggestions from code review Co-authored-by: Jeremy Udit <jcudit@github.com> Co-authored-by: Jeremy Udit <jcudit@github.com>
…gement (integrations#975) * Add new resource github_team_memberships to allow authorative team management * Fix typo in test * Add docs and rename resource to github_team_members * Apply suggestions from code review Co-authored-by: Jeremy Udit <jcudit@github.com> * Rework tests * Update documentation * Apply suggestions from code review Co-authored-by: Jeremy Udit <jcudit@github.com> Co-authored-by: Jeremy Udit <jcudit@github.com>
Relates to #395
Add new resource to allow authoritative team memberships.
Usage: