Closed YutaSakata closed 8 years ago
Due to changes of RPC, we get unexpected return like
{"version":1,"type":"info","resultcount":0,"results":[]}
via https://aur.archlinux.org/rpc.php without v=foo param.
https://aur.archlinux.org/rpc.php
v=foo
To avoid it, I changed /rpc.php, the rpc endpoint to /rpc/ and added v param by modifying RPCURL.
/rpc.php
/rpc/
v
With v=2 query, We can get JSON from RPC same as before, so there are nothing to do any more for apacman to work correctly.
v=2
apacman
PS. It is hard for me to make myself understood in English, so please ask me if you cannot understand what I say.
I found the issue about it.
@oshazard PTAL
Merged pull request from @bts368 referenced in issue #58
I think #58 contains redundant changes, but I respect your decision.
Due to changes of RPC, we get unexpected return like
via
https://aur.archlinux.org/rpc.php
withoutv=foo
param.To avoid it, I changed
/rpc.php
, the rpc endpoint to/rpc/
and addedv
param by modifying RPCURL.With
v=2
query, We can get JSON from RPC same as before, so there are nothing to do any more forapacman
to work correctly.PS. It is hard for me to make myself understood in English, so please ask me if you cannot understand what I say.