New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion Failure ?? #80
Comments
ive gotten this trying the same operation against an enterprise version of github as well. +1 |
Definitely not a lack of knowledge on your part. I'll investigate (and hopefully fix it) today. |
Ok, this has to be related to the Enterprise thing, and I don't have access to a Github Enterprise server. Can you please check that |
I did the following:
and I got:
The base_url I had used was
So it has been changed to use https which we do not use internally. |
This behavior of Github Enterprise looks like a bug to me. Anyway, I will work around it in PyGithub. I will publish the fix in version 1.7 tonight. Note to myself:
|
For your assert, shouldn't that be:
The way you've stated it, it sounds like that you're going to replace http with https. |
Don't worry, my plan is to keep all informations from |
Well now I'm not worried :) I'm planning to fork the project and work on the documentation of it. I think there might be a better way to generate the class reference and also provide some code samples, a sort of tutorial. |
That would be great! I open issue #82 to discuss this subject. When you want to take time to think about that, feel free to discuss in this issue. |
This should be fixed by previous commit, so I close the issue to be able to close the milestone tonight. Do not hesitate to re-open it if you still have related problems with version 1.7 |
How quickly will this show up in whatever repository is used by easy_install ? I'm on a MacOS X system. |
It's already on PyPi, so |
duh ! that was quick :) thanks. |
>>> gh = Github( login, password, github_url)
>>> for org in gh.get_organization( org_name ).get_repos():
... print org.name
...
a-very-nice-repo
my-linux-kernel-repo
my-pygithub
repo1
repo2
sandbox1
sandbox3
>>> It works !!! :) |
\o/ |
Is this because of my lack of knowledge about python, or is there something else going on here ?
What I would like to do is be able to get a list of the hooks in all the repos in an organization and also go through that list of repos in an organization and be able to create hooks.
The text was updated successfully, but these errors were encountered: