Closed elkuku closed 12 years ago
Overall looks very good. However, I think we need to deal with the JHttp/JCurl thing by making JHttp more robust to be able to switch between fopen/streams and curl. I'd then like to refactor JGithub a bit to use JHttp for all of its requests once we get JHttp fixed up.
On second thought, since this is a solution to get things working now, I'll pull this and then fix the upstream library and merge that back in when it's ready.
So let's just change the JError call appropriately and we'll merge it in.
Excellent work!
Would this be OK ?
Beside from using exceptions and being more communicative when reporting errors, cURL is used instead of streams for applying patches. Maybe this fixes #1 ?