-
Notifications
You must be signed in to change notification settings - Fork 127
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
Allow detecting archived or disabled repos #176
Conversation
Huh, I don't understand those Travis errors... "uninitialized constant Faraday::Error::ClientError" ... ? Is this something caused by my PR, or a wider problem with the Travis tests? |
Please don't worry about the errors. It is caused by a second-order dependency ( |
@fingolfin The unrelated Faraday errors have been removed from this branch. The current failures are related to this PR. When possible, please look into getting those tests to pass again. |
I had to fix |
OK, that causes tons of errors in spec files. Not sure how best to proceed. I could update those spec files of course (arguably, it would make sense to use up-to-date version of that JSON data). Or I could revert that part of the PR, and just hand-edit the webmock files to have the right keys in them. But I wonder if basing the tests on ancient versions of the JSON produced by GitHub is a good idea? |
I would suggest that you revert all changes that affect tests outside the scope of this pull request first and then tackle the failing tests incrementally.. |
That is the second option I listed: I could hand-edit the relevant JSON files to insert the required keys. That's easy enough to do, but seems rather... brittle to me. Is that really what you want? I could also only update those webmock JSON files (by running |
@fingolfin You had two two options and asked for the best way to proceed. IMO, the best way out is still to revert changes outside the scope of this PR and attempt to get the tests passing by manually editing |
I did not want to debate, I just wanted to verify I understood what you were suggesting, to make sure I don't waste time on an approach that then is rejected later on shrug |
All tests passed now except for one one AppVeyor, which I don't understand, as it complains about a mismatch for
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
@jekyllbot: merge +minor |
This allows listing just "active" repositories in an organization. Right now, we have to manually exclude any such repository.