Commit Graph

3575 Commits

Author SHA1 Message Date
fcab44dbd3 lib/transaction_dictionary.c -> transaction_prepare.c. 2019-06-21 10:46:32 +02:00
0c3ed93b0e NEWS: update 2019-06-21 09:31:10 +02:00
q66
a72cbf3c23 lib/package_unpack.c: silence gcc false positive
On some systems, something like this happens:

package_unpack.c:375:11: error: 'buf' may be used uninitialized in this function

This is not actually a bug as logically `buf` is always initialized
in that place, but gcc doesn't like it anyway.
2019-06-21 08:59:46 +02:00
9c300a93d1 bin/xbps-checkvers: fix --format long form 2019-06-21 00:32:30 +02:00
5098d03238 mk/prog.mk: set proper target for bins.
Fixes build failure in aarch64-musl and cross compilation...
weird it didn't fail on native.
2019-06-20 19:26:43 +02:00
70867bd774 lib/transaction_files.c: fix size_t printf 2019-06-20 18:04:47 +02:00
098fea7704 Bump to 0.55. 2019-06-20 17:14:16 +02:00
2c6e0c28d4 xbps-checkvers.1: tweaks 2019-06-20 15:25:14 +02:00
519b979c0b NEWS: mention how many test cases, issues and contributors. 2019-06-20 15:04:39 +02:00
c19f70622e NEWS: prepare 0.54. 2019-06-20 14:54:28 +02:00
dc547d9f50 lib/transaction_files.c: skip preserved files while looking for obsoletes 2019-06-20 14:53:08 +02:00
2cccb31508 tests: add two test cases for obsolete preserved files 2019-06-20 14:53:08 +02:00
093950dba2 lib/fetch: remove port from happy eyeballs verbose logs, wrong cast and redundant 2019-06-20 13:28:14 +02:00
88e72f9f00 README.md: tweaks 2019-06-20 13:23:24 +02:00
071db09d3e xbps-alternatives.1: proper credit. 2019-06-20 12:56:17 +02:00
a3209f4b57 tests: rename some tests to make .gitignore effective. 2019-06-20 12:50:10 +02:00
016a06754c NEWS: mention API/ABI bump. 2019-06-20 12:26:04 +02:00
81a736a5ac lib/fetch: cleanup happy eyeballs and add verbose logging 2019-06-20 12:15:30 +02:00
550bdfdcda AUTHORS: complete list of contributors. 2019-06-20 12:11:56 +02:00
6390817d7e xbps-rindex.1: proper credit. 2019-06-20 11:44:45 +02:00
2df0778fcd xbps-pkgdb.1: proper credit. 2019-06-20 11:42:30 +02:00
b0abcd4997 xbps-checkvers.1: proper credit. 2019-06-20 11:42:09 +02:00
b6a88617d0 NEWS: mention all contributors for 0.54. 2019-06-20 11:34:22 +02:00
ebb61edb16 bin/xbps-fetch: restore old behaviour for output file 2019-06-20 11:32:12 +02:00
a3af0e5559 lib/fetch: remember if ipv6 or ipv4 are unreachable and don't try to connect again 2019-06-20 11:32:12 +02:00
3527a1374a lib/fetch: set connect timeout to 300 seconds 2019-06-20 11:32:12 +02:00
75326df2a0 NEWS: dup entry 2019-06-20 11:20:30 +02:00
9a4b6cf9af NEWS: more items, almost complete now. 2019-06-20 11:17:36 +02:00
3efa7ea2c8 NEWS: tweak 2019-06-20 11:09:36 +02:00
b37dd066c9 tests: fix manpage refs. 2019-06-20 11:02:40 +02:00
e7738555b2 xbps-uhelper: restore compat.
Add 'digest' and 'fetch' actions again for compatibility,
but don't mention them in usage().

This way previous versions of xbps-src (that don't require xbps-0.54)
still work without changes.
2019-06-20 10:53:30 +02:00
490cce2ff8 NEWS: more stuff. 2019-06-19 16:34:54 +02:00
0823278bc9 NEWS: mention more changes. 2019-06-19 16:32:47 +02:00
e083440b70 xbps-checkvers: always initialize repourl. 2019-06-19 14:00:54 +02:00
818e399a8c tests/xbps-checkvers: update tests for new output fmt. 2019-06-19 13:48:22 +02:00
2d1d6245b8 xbps-checkvers.1: update default fmt. 2019-06-19 13:30:57 +02:00
27634afd21 xbps-checkvers: change default output fmt to "%n %r %s %t %R". 2019-06-19 13:27:08 +02:00
0727d9a53a xbps-checkvers: implement --format %R (repository).
Close #128
2019-06-19 13:07:42 +02:00
3a00a9eb9b xbps_rpool_foreach: process all entries in order.
if xbps_repo_open() fails then the repo is removed from array
xbps_repo_remove() but as we've removed the entry from it,
the index won't be valid any more, resulting in skipped entries.

If a entry is removed restart again at the correct index.

Close #127
2019-06-18 23:44:36 +02:00
b12b72e151 xbps-install/state_cb.c: minor tweaks. 2019-06-18 21:17:44 +02:00
6627ffb84f xbps_package_remove: use xbps_set_pkg_state_dictionary().
fixes a use-after-free found by @duncaen via gcc -fsanitize=address.
2019-06-18 20:55:47 +02:00
829c5835f1 alternatives: respect (and love) current provider.
Added a new test case to verify.

Close #126
2019-06-18 20:47:55 +02:00
27b9da6c9a tests: don't rely one files mtime 2019-06-18 19:54:22 +02:00
f4bf826c7f tests: add two more test cases for obsolete files 2019-06-18 19:54:22 +02:00
8837e8c607 lib/transaction_files.c: better handle preserve files 2019-06-18 19:54:22 +02:00
f2b119ef31 lib/transaction_files.c: better error and debug messages and minor cleanup 2019-06-18 19:54:22 +02:00
f6bf9b44ce tests: add tests for package preserve keyword 2019-06-18 19:54:22 +02:00
3915d523d0 tests: add test for conflicting files in transaction 2019-06-18 19:54:22 +02:00
247463e359 tests: add two new tests for transaction_files 2019-06-18 19:54:22 +02:00
6877d28139 lib/package_find_obsoletes.c: remove in favor of transaction file checks 2019-06-18 19:54:22 +02:00