are you planning to modifying this ? i am trying but i have not worked much on ruby, so modifying it makes bit difficult for me... do you have any suggestions ?
basically there are some changes in API that makes it non workable .
Starting repo sync
RestClient.post "https://pulp-server.exapmle.com/pulp/api/v2/repositories/pulp-rhel6-x86_64-GPSCKXKB/sync/", "{}", "Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"2", "Content-Type"=>"application/json"
=> 404 NotFound | text/html 9 bytes
/home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/abstract_response.rb:48:in return!': 404 Resource Not Found (RestClient::ResourceNotFound) from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:495:inprocess_result'
from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:421:in block in transmit' from /home/dhajoshi/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/net/http.rb:745:instart'
from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:413:in transmit' from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:176:inexecute'
from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:41:in execute' from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/resource.rb:67:inpost'
from /home/dhajoshi/ruby/ruby-pulp/lib/pulp/connection/base.rb:67:in block in base_post' from /home/dhajoshi/ruby/ruby-pulp/lib/pulp/connection/handler.rb:42:inparsed'
from /home/dhajoshi/ruby/ruby-pulp/lib/pulp/connection/base.rb:67:in base_post' from (eval):3:insync'
from examples/repositories.rb:82:in `
'
are you planning to modifying this ? i am trying but i have not worked much on ruby, so modifying it makes bit difficult for me... do you have any suggestions ?
basically there are some changes in API that makes it non workable .
Starting repo sync
RestClient.post "https://pulp-server.exapmle.com/pulp/api/v2/repositories/pulp-rhel6-x86_64-GPSCKXKB/sync/", "{}", "Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"2", "Content-Type"=>"application/json"
=> 404 NotFound | text/html 9 bytes
/home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/abstract_response.rb:48:in
'return!': 404 Resource Not Found (RestClient::ResourceNotFound) from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:495:inprocess_result'from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:421:in
block in transmit' from /home/dhajoshi/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/net/http.rb:745:instart'from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:413:in
transmit' from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:176:inexecute'from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/request.rb:41:in
execute' from /home/dhajoshi/.rvm/gems/ruby-1.9.3-p374@pulp/gems/rest-client-1.7.2/lib/restclient/resource.rb:67:inpost'from /home/dhajoshi/ruby/ruby-pulp/lib/pulp/connection/base.rb:67:in
block in base_post' from /home/dhajoshi/ruby/ruby-pulp/lib/pulp/connection/handler.rb:42:inparsed'from /home/dhajoshi/ruby/ruby-pulp/lib/pulp/connection/base.rb:67:in
base_post' from (eval):3:insync'from examples/repositories.rb:82:in `