Change in ovirt-engine-sdk-ruby[sdk_4.0]: Remove 'curb' dependency

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Oct 7 08:12:57 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: Remove 'curb' dependency
......................................................................


Remove 'curb' dependency

Currently the SDK requires the 'curb' gem, but this gem isn't available
in some of the target distributions, in particular it isn't available in
Red Hat Enterprise Linux 7. In addition 'curb' doesn't support some
features that we want to use in the future, like streaming of results.
To address these issues this patch replaces the code that uses 'curb'
with code that calls directly 'libcurl'.

Change-Id: Ia3a894fe3d622c92d94d853c0588222428e0c652
Bug-Url: https://bugzilla.redhat.com/1377682
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 4a7b662cbb3f4b7d449c299800b1a70d3c82f5f5)
---
M automation/build.packages
M generator/src/main/java/org/ovirt/sdk/ruby/ServicesGenerator.java
M packaging/spec.el7.in
M packaging/spec.fc23.in
M packaging/spec.fc24.in
M sdk/ext/ovirtsdk4c/extconf.rb
A sdk/ext/ovirtsdk4c/ov_http_client.c
A sdk/ext/ovirtsdk4c/ov_http_client.h
A sdk/ext/ovirtsdk4c/ov_http_request.c
A sdk/ext/ovirtsdk4c/ov_http_request.h
A sdk/ext/ovirtsdk4c/ov_http_response.c
A sdk/ext/ovirtsdk4c/ov_http_response.h
M sdk/ext/ovirtsdk4c/ovirtsdk4c.c
M sdk/lib/ovirtsdk4/http.rb
M sdk/lib/ovirtsdk4/probe.rb
M sdk/ovirt-engine-sdk.gemspec
M sdk/spec/clusters_service_spec.rb
M sdk/spec/connection_create_spec.rb
M sdk/spec/connection_timeout_spec.rb
M sdk/spec/connection_use_spec.rb
M sdk/spec/data_centers_service_spec.rb
M sdk/spec/probe_spec.rb
M sdk/spec/service_spec.rb
M sdk/spec/spec_helper.rb
M sdk/spec/storage_domain_service_spec.rb
M sdk/spec/storage_domains_service_spec.rb
M sdk/spec/vm_service_spec.rb
M sdk/spec/vms_service_spec.rb
28 files changed, 1,684 insertions(+), 587 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/65214
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia3a894fe3d622c92d94d853c0588222428e0c652
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list