Skip to content

Latest commit

 

History

History

data

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Retrieving data

GitHub teams

To generate the github_teams.json file, run the following GraphQL query (for instance in the GitHub GraphQL Explorer):

query {
  organization(login: "coq") {
    teams(first: 100) {
      totalCount
      nodes {
        slug
        name
        description
        members {
          nodes { login name }
        }
      }
    }
  }
}

To generate the github_teams_simplified.json file, run the following jq command (at the root of the repository):

jq '{
  teams: .data.organization.teams.nodes | map({
    id: .slug,
    name: .name,
    description: .description,
    contacts: [],
    members: .members.nodes | map({github: .login, name: (.name // "")})
  })
}' data/github-teams.json > data/github-teams-simplified.json