group_name_for_github_team#
- gafaelfawr.util.group_name_for_github_team(organization, team)#
Convert a GitHub organization and team to a group name.
- Parameters:
- Returns:
Group name suitable for use as a Gafaelfawr group.
- Return type:
Notes
The default construction is the organization name (from the login field), a dash, and the team slug. If this is over 32 characters, it will be truncated to 25 characters and the first six characters of a hash of the full name will be appended for uniqueness.