summaryrefslogtreecommitdiff
path: root/archweb.inc.sh
AgeCommit message (Collapse)Author
2019-02-12Revert "archweb: use jq's -e flag to indicate not-found as failure"Dave Reisner
This reverts commit b233aceb92aed4fcdd6a918647c32c915d4fcc71 while preserving bd3f96a5171cf797bf8ba59601a1a767ed036a05. jq, even with -e, does not exit non-zero when given an empty input. This is apparently a known feature: https://github.com/stedolan/jq/issues/1497 https://github.com/stedolan/jq/issues/1142 Thus, revert this oversimplification which leads to problems when curl fails, or otherwise returns an empty response body. Closes #29.
2018-04-04urlencode query param in archweb requestsAndreas Grapentin
Some packages, e.g. libsigc++-docs, needs to be properly hex-escaped.
2017-11-26archweb: use jq's -e flag to indicate not-found as failureDave Reisner
2017-05-23always preserve exit statuses on returnDave Reisner
2017-03-25Handle split packagesDave Reisner
When a basic lookup fails, attempt to resolve the package name through archweb to get the pkgbase, under the assumption that this might be a split package. This adds jq as a new dependency. Closes #8.