group_name_for_github_team

gafaelfawr.util.group_name_for_github_team(organization, team)

Convert a GitHub organization and team to a group name.

Paramters

organization

Name of organization.

team

Slug of the team.

returns:

Group name suitable for use as a Gafaelfawr group.

rtype:

str

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.

param organization:

type organization:

str

param team:

type team:

str