google-api-ruby-client icon indicating copy to clipboard operation
google-api-ruby-client copied to clipboard

Hurley author is shutting down his project

Open xeron opened this issue 10 years ago • 18 comments

Just wondering if it will be an issue in the future.

https://github.com/lostisland/hurley/issues/43

xeron avatar Jan 16 '16 19:01 xeron

Thanks for the heads up. It's not the end of the world since Hurley isn't directly exposed in the API. I'll likely just switch to use HTTPClient directly. Faraday doesn't yet support streaming responses yet which is a problem for APIs like Drive, Storage, etc. that can return large media blobs.

sqrrrl avatar Jan 19 '16 19:01 sqrrrl

Hi @sqrrrl, any estimation when this switch is going to happen? I was trying to update to the new version of the gem but my tests are relying on VCR which does not support Hurley and was wondering if it is worth it to look into that or wait.

Thanks.

cedricpim avatar Feb 03 '16 13:02 cedricpim

You should be able to use VCR via webmock today. Hurley & Faraday are just wrappers around other HTTP client libraries. Right now I have Hurley wired to use HTTPClient, and from a VCR perspective just treat the library as if it were using HTTPClient directly.

As for switching off Hurley, I have another branch locally where I'm making some changes to get rid of it. Mostly there (all but 2 tests pass) but not in any rush to get it done.

sqrrrl avatar Feb 03 '16 18:02 sqrrrl

I ended up noticing the problem was not specifically with Hurley but I think might be with the streaming (VCR body of the response is empty). Thanks :+1:

cedricpim avatar Feb 03 '16 21:02 cedricpim

FYI, pushed the first pass of this on branch httpclient. Still need to do a lot more testing (specifically batching) against some live APIs, but it's there if anyone is curious and wants to try it out.

sqrrrl avatar Feb 05 '16 23:02 sqrrrl

:+1: @sqrrrl - Tested the httpclient branch against my code and all seems well, it also fixes the VCR issues described above. Will keep testing it out.

jharbert avatar Feb 12 '16 18:02 jharbert

I'll give this a try on fog-google.

icco avatar Feb 12 '16 19:02 icco

Regarding the VCR issues, a fix was merged into webmock master branch and it is working good from it. This was the fix: https://github.com/bblimke/webmock/pull/582

cedricpim avatar Feb 12 '16 20:02 cedricpim

Thanks!

sqrrrl avatar Feb 12 '16 20:02 sqrrrl

Is moving from Hurley to HTTPClient still going to happen?

blowmage avatar Jun 22 '16 00:06 blowmage

Yes, just waiting for the next release of HTTPClient which contains a fix I need for resumable media downloads to work correctly.

sqrrrl avatar Jun 22 '16 18:06 sqrrrl

Hurley removed in v0.10 branch

sqrrrl avatar Aug 18 '16 18:08 sqrrrl

@sqrrrl Is there a timeline for a v0.10 release?

blowmage avatar Aug 18 '16 18:08 blowmage

Not sure. Maybe 2 or 3 weeks.

sqrrrl avatar Aug 18 '16 18:08 sqrrrl

Any update on this? Hurley is not maintained at all and pretty much dead. Also any google project lib uses this client.

Excon is a pretty good alternative?

JanStevens avatar Nov 24 '16 08:11 JanStevens

We're on 0.11 now and I still see Hurley being used, can you comment on the status?

TheCorp avatar Mar 10 '17 03:03 TheCorp

I'll get this done as soon as I can

saicheems avatar Mar 10 '17 18:03 saicheems

Awesome thanks!

TheCorp avatar Mar 10 '17 18:03 TheCorp