Commit Graph
32 Commits
Author SHA1 Message Date
Piotr Wójcik b5954c80db lib/fetch: reuse http connection
With HTTP 1.1 persistent connection is default and Connection
header is not sent.
Before patch, for every file, including 512b signature, there was
done dns query, tls handshake etc.
2022-07-03 21:41:10 +00:00
Piotr Wójcik d744b4b238 xbps-install: exclude hold packages from total download size 2022-06-21 13:40:45 +00:00
Piotr Wójcik ce4fd6a63c xbps-query: list unavailable repositories in -L mode 2022-01-25 15:32:23 +01:00
Piotr Wójcik 49bd3d62b5 libxbps: better document xbps_rpool_foreach 2022-01-25 15:31:19 +01:00
Piotr Wójcik 59ea6a5388 lib: tighten repolock
when repolocked package has newer version in other repository and other
package depend on that newer version, repolocked package was updated and
swiched to other repo, while repolock status was left enabled
2021-09-10 14:40:02 +02:00
Piotr Wójcik ee2b5fb56f tests: package with repolock as dependency 2021-09-10 14:40:02 +02:00
Piotr Wójcik 18416e2de8 xbps-checkvers: list installed subpackages
Subpackages without main package installed wasn't reported
at all. This can produce duplicates in output, but checkvers'
output isn't good to loop over without passing through
./xbps-src sort-dependencies anyway.

Closes: #404 [via git-merge-pr]
2021-06-26 16:58:45 +02:00
Piotr Wójcik 9f5a029a3f dewey.c: convert to UTF-8
Closes: #396 [via git-merge-pr]
2021-06-26 16:57:04 +02:00
Piotr Wójcik 379cd4da2c xbps-install: in dry run mode, print transaction even when disk is full
Closes: #322 [via git-merge-pr]
2021-06-26 16:51:43 +02:00
Piotr Wójcik 4a5eb8dc87 tests: fix one case not using rootdir 2021-03-12 23:07:11 +01:00
Piotr Wójcik d67b87ab47 ci: migrate to openssl 2021-03-12 23:07:11 +01:00
Piotr Wójcik b26f4068b7 xbps-install: list reinstalled packages
Before, they weren't printed at all.
Additionally, this matches count from compute_transaction_stats.

Closes: #321 [via git-merge-pr]
2021-02-04 23:16:50 +01:00
Piotr Wójcik 1e39f21f51 xbps.d.5: describe ignorepkg more precisely
Closes: #370 [via git-merge-pr]
2021-02-04 22:57:50 +01:00
Piotr Wójcik 7b933a87a8 Testcase for xbps_transaction_check_revdeps regression #245 2020-03-06 06:58:35 +01:00
Piotr Wójcik 5737d9a941 xbps-fetch: TIMEOUT_CONNECTION to customize time waiting for response 2020-03-03 08:15:00 +01:00
Piotr Wójcik 4a06cb41b1 bin/xbps-checkvers: mistake in manpage 2020-01-30 08:01:12 +01:00
Piotr Wójcik 2d3ed8db19 bin/xbps-checkvers: align help text with spaces 2020-01-25 13:21:18 +01:00
Piotr Wójcik cd0f81d68c bin/xbps-checkvers: list removed templates 2020-01-25 13:21:18 +01:00
Piotr Wójcik 6cf1555398 Revert "libxbps: verify repodata signatures even if rootdir is unset."
This reverts commit be05118aa8.
2020-01-06 15:33:25 +01:00
Piotr Wójcik 26d853751e lib/util.c: relax revision check to match existing data 2019-12-14 12:07:12 +01:00
Piotr Wójcik d785e7e483 Tests for signing metadata 2019-11-02 11:53:14 +01:00
Piotr Wójcik a1481cb285 Verify index-meta for in-memory sync 2019-11-02 11:53:14 +01:00
Piotr Wójcik 61ef5c3f8a Read also unsigned index-meta 2019-11-02 11:53:14 +01:00
Piotr Wójcik 09125769bd Verify index-meta 2019-11-02 11:53:14 +01:00
Piotr Wójcik ae26a83ad2 Preserve meta-index data on change of signing key 2019-11-02 11:53:14 +01:00
Piotr Wójcik 4e3d4d2287 Don't assume repodata is signed when has index-meta.plist 2019-11-02 11:53:14 +01:00
Piotr Wójcik 381b7b7600 Sign index-meta 2019-11-02 11:53:14 +01:00
Piotr Wójcik b4e93a95bf Turn off repodata signing 2019-11-02 11:53:14 +01:00
Piotr Wójcik ce4873a1f1 Use predefined constant in place of magic string 2019-11-02 11:53:14 +01:00
Piotr Wójcik a7830cf780 Verify repodata signature 2019-11-02 11:53:14 +01:00
Piotr Wójcik 04194f44c8 Sign repodata 2019-11-02 11:53:14 +01:00
Piotr Wójcik 699b2bdd3b lib/util.c: verify revision in xbps_pkg_{version,revision,name} 2019-10-25 23:37:23 +02:00