Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Scripts to help manage the GPC github account
Groovy
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data
lib
.gitignore
README.md
create.groovy
delete.groovy
fork.groovy
grant.groovy
svn2git-authors

README.md

A collection of groovy scripts that automate/ease the management of the GPC GitHub account.

Instructions

You need to create a file named 'password' in the 'data' directory that contains only the password for the 'gpc' user. The script will read the password from this file. Obviously, do not commit this file (there is an ignore on it).

All of the utils are runnable via the groovy interpreter or as executable scripts.

groovy «util».groovy

Or

./«util».groovy

Utils

- create

Description

Creates a new GPC repo (but does not configure commit access).

Args

[«name»] [«description»]

If the name and/or description are omitted, they will be prompted for.

- delete

Description

Deletes a GPC repo.

Args

[«name»]

If the name is omitted, it will be prompted for.

- grant

Description

Grants commit access to repos to all members listed in the members file.

Args

[«repo»] [«repo»] …

Run without args, all repositories will used. Otherwise, each of the arguments given will be used.

- fork

Description

Makes a GPC fork of an existing GitHub repo (does not grant permissions)

Args

[«repo»] [«user»]

If the repo and/or user are omitted, they will be prompted for.

Something went wrong with that request. Please try again.