Howdy,
Interesting times!
I was using PyGithub to create commits/branches on Github. No big
deal. Everything was working on a throw-away repo, so I ran it against
the production repo....
The Github API somehow let me create a corrupt tree object and now the
repo is unclonable:
https://gist.github.com/leto/7346617
I know we have some Github API experts around. Any ideas? I included
the debug info for the request that created the tree in the above
Gist. My current guess is that it is something to do with the path of
the file in my tree. I used a name that starts with a forward slash
(/study/10/10.json). Also, my previous tests did not reference a file
in a subdirectory. It could be that PyGithub did not properly set the
recursive=1 flag that is mentioned here:
http://developer.github.com/v3/git/trees/#get-a-tree-recursively
Duke
--
Jonathan "Duke" Leto <
du...@leto.net>
Leto Labs LLC
http://letolabs.com
209.691.DUKE
http://duke.leto.net
@dukeleto LinkedIn Github