pbrisbin / aurget

A simple pacman-like interface to the AUR
GNU General Public License v2.0
69 stars 17 forks source link

Release of AUR v5 lacks backward compatibility, breaks aurget #45

Closed richq closed 8 years ago

richq commented 8 years ago

There has been a change in the RPC call for AUR5. Now it needs a "v=5" flag or it returns nothing at all. Here's what I hacked in to get results to show up again:

aur_search_url() { printf "$AUR/rpc/?v=5&type=search&arg=$(url_encode "$1")\n" }

The docs don't mention that v is now needed explicitly. Seems like they have this version flag and broke backwards compatibility anyway >.<

richq commented 8 years ago

Arrgh. Things seem much worse than I thought. Installation doesn't work either :-( Renamed the issue to reflect the current apocalyptic state.

pbrisbin commented 8 years ago

Oh no, thanks for the report. I'll try to get to this as soon as I can.

Note: #44 seems related.

Seems like they have this version flag and broke backwards compatibility anyway

Ouch.

pbrisbin commented 8 years ago

Note: I've confirmed that installation works with #44 so I'm going to work on getting that PR merged and released.

pbrisbin commented 8 years ago

I just released 4.7.0, which I think works. In fact I just used it to update itself.

Please let me know and I'll close the issue.

richq commented 8 years ago

Yep, this is fixed. Thanks for the quick turn around. There's another problem due to makepkg updates, but I'll open a new issue for that as it is unrelated.

richq commented 8 years ago

I was talking about the --pkg option removal problem, but I see there's already a pull request for that open. So no further action needed.