#23 Change protocol used to get data from fedorahosted from XML-RPC to JSON-RPC
Merged by cverna. Opened by cverna.
cverna/pagure-importer json-rpc  into  master

Download 23.patch

Method to authenticate to fedorahosted using XML-RPC does not support user password with special characters like '@/ :' etc .... as the credentials are send in a url.
JSON-RPC is using an HTTP POST request to authenticate to fedorahosted.

It's working but, we will have to add requests in requirements.

2 new commits added

  • Add requests library to requirements.txt
  • Remove install from git as this is not working

Thanks for the review, I have updated the requirements.

1 new commit added

  • Protect call to fas api is user is None

Pull-Request has been merged by cverna

Metadata