Skip to content
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

Gh teams improvements #139

Merged
merged 8 commits into from
Dec 6, 2024
Merged

Gh teams improvements #139

merged 8 commits into from
Dec 6, 2024

Conversation

ateucher
Copy link
Contributor

Sometimes we need more metadata about a team or a member than than just the name (especially the slug, in the case of list_team_members()), so this allows returning a data frame of team metadata from list_teams() and list_team_members(), rather than the raw gh response or a character vector of names.

This is used in list_team_members() to validate the supplied team against the slug.

* list_teams() returns a dataframe when use_names = FALSE
* list_team_members compares team name agains slug
@ateucher ateucher requested a review from seankross November 22, 2024 21:53
@seankross
Copy link
Contributor

@ateucher is this ready for review?

@ateucher
Copy link
Contributor Author

Yes, thanks @seankross!

Copy link
Contributor

@seankross seankross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #142

teams with parents show up as one row
@ateucher
Copy link
Contributor Author

ateucher commented Dec 6, 2024

Thanks!

@ateucher ateucher merged commit ee5f27d into main Dec 6, 2024
6 checks passed
@ateucher ateucher deleted the gh-teams-improvements branch December 6, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants