public
Description: Python interface for talking to the github API
Clone URL: git://github.com/dustin/py-github.git
Added a mechanism for grabbing private repos.

You just have to hard-code them into ~/.github-private in a tab
delimited file.

Example:

shortname  git@github.com:username/repo.git
dustin (author)
Tue May 13 01:07:15 -0700 2008
commit  383cd033d217539d9f28e4ccd7d123a785050d1d
tree    bc75ac320a5df90e70bad0418df9a69accd2f6ca
parent  58512e897889455da41dfdb9027d1c542f17f84e
...
35
36
37
 
 
 
 
 
 
 
38
39
40
...
35
36
37
38
39
40
41
42
43
44
45
46
47
0
@@ -35,6 +35,13 @@ if __name__ == '__main__':
0
         usage()
0
         exit(1)
0
 
0
+ privfile = os.path.join(os.getenv("HOME"), ".github-private")
0
+ if os.path.exists(privfile):
0
+ f=open(privfile)
0
+ for line in f:
0
+ name, url = line.strip().split("\t")
0
+ sync(path, url, name)
0
+
0
     gh=github.GitHub()
0
     u = gh.user(user)
0
 

Comments

    No one has commented yet.