jmhobbs@pyhacker /posts/gitoriouspy-command-line-interface-gitorious

date
"2012-08-30T13:47:38.000Z"

whoami
jmhobbs

ls
comments content tags

wc content
123

cat content

gitorious.py - A command line interface to Gitorious

We started using Gitorious at work for our git repositories. Since I couldn't find a way to create projects and repositories on the command line, I decided to write one using mechanize. The script allows for project creation and deletion as well as repository creation and deletion. I may add more features to the script in the future if need arises.

To use the script, make sure you have mechanize installed. If not:

easy_install mechanize

The script will ask you for your email address and password in order to log into the Gitorious server so to avoid having to enter that every time, you can add an entry to ~/.netrc with your login credentials.

Download the latest version of the script here:

gitorious.py

wc tags
git   gitorious   mechanize   python  

cat comments