Commit Graph

  • cc19818680 Improve stats in the transaction dictionary. Juan RP 2013-12-16 07:24:17 +01:00
  • ec6f7a3013 lib/transaction_dictionary.c: modify how transaction stats are computed. Juan RP 2013-12-14 04:54:52 +01:00
  • cdb04ff446 NEWS: update with recent changes. Juan RP 2013-12-12 18:27:21 +01:00
  • 2ab90bdc09 Fixed issue #26 (Replacing an installed pkg multiple times). Juan RP 2013-12-12 18:24:24 +01:00
  • 87dbf3d25b tests/replace: fix path to the private repo. Juan RP 2013-12-12 17:33:04 +01:00
  • da848cb0ea Fix shebang in last test-case committed. Juan RP 2013-12-12 17:24:43 +01:00
  • 90351bef08 Added a new test case to reproduce an issue while replacing a pkg multiple times. Juan RP 2013-12-12 17:21:57 +01:00
  • e8c454f3d2 xbps-query: do not print pkg dirs in local ownedby mode, it's unnecessary. Juan RP 2013-12-12 15:34:37 +01:00
  • 865dffde58 xbps_repo_open: switch to archive_read_data_block() and misc tweaks. Juan RP 2013-12-12 00:18:08 +01:00
  • 711f2ea7f5 bin/xbps-rindex/sign.c: fix a double free in error path found by clang-analyzer. Juan RP 2013-12-11 12:39:15 +01:00
  • 4f6fb2ff67 lib/rpool_get.c: move asserts to the parent function. Juan RP 2013-12-08 08:08:26 +01:00
  • d95d5ba113 xbps_array_foreach_cb_multi: remove useless mutex. Juan RP 2013-12-08 08:07:45 +01:00
  • 2c9ab6a1f2 xbps_pkgdb_get_pkg_metadata: avoid an extra function call. Juan RP 2013-12-08 08:07:10 +01:00
  • 2d5a8dee19 xbps_find_pkg_orphans: minor optimizations. Juan RP 2013-12-08 08:06:28 +01:00
  • eba8ca0319 tests/xbps/xbps-rindex: fix tests after 4403caa (only use test repo). Juan RP 2013-12-08 08:04:39 +01:00
  • 1f16a22791 Add NDEBUG to CPPFLAGS if --enable-debug is unset. Juan RP 2013-12-06 11:55:08 +01:00
  • e23c64bc84 lib/portableproplib: fixes to allow building with NDEBUG (assert()s disabled). Juan RP 2013-12-06 11:54:34 +01:00
  • ae9363b620 lib/plist_fetch.c: fix a memleak in error path. Juan RP 2013-12-05 16:55:26 +01:00
  • 4403caa434 Add repos set in xbps_handle::repositories to the top of the list. Juan RP 2013-12-04 16:59:15 +01:00
  • d98468515a Fix #25 correctly: compare against repo->signature. Juan RP 2013-11-30 08:30:25 +01:00
  • e86f9def03 xbps-rindex: fix #25 (--sign unnecessarily regenerates <arch>-repodata). Juan RP 2013-11-30 08:04:37 +01:00
  • 7c57918950 xbps-rindex(8): fix #24 and added an ATF test case. Juan RP 2013-11-29 17:30:45 +01:00
  • 6861e1d623 Post release version bump. Juan RP 2013-11-29 10:25:25 +01:00
  • de5bd83765 NEWS: prepare for 0.27 release. Juan RP 2013-11-29 10:24:33 +01:00
  • 30a500b5b3 xbps-rindex: clean: fix a regression introduced yesterday (use-after-free). Juan RP 2013-11-28 11:29:48 +01:00
  • dce26db1de libxbps: pkg remove: never remove base symlinks in the root directory. Juan RP 2013-11-28 10:27:36 +01:00
  • 5d63f6f442 xbps-rindex: clean: avoid printing obj key after removal (dangling pointer) v2. Juan RP 2013-11-27 15:00:37 +01:00
  • a8dc0dbdec xbps-rindex: clean: avoid printing obj key after removal (dangling pointer). Juan RP 2013-11-27 14:54:21 +01:00
  • 2f1e108af5 NEWS: mention testsuite improvements. Juan RP 2013-11-27 09:08:10 +01:00
  • f82af7b142 README.md: add c99 compiler to requirements. Juan RP 2013-11-27 09:06:46 +01:00
  • 4e427ded92 xbps_file_hash: simplify and use read(2). Juan RP 2013-11-26 13:08:44 +01:00
  • a30623c65c Revert "lib/util_hash.c: xbps_file_hash: remove unnecessary memset() call." Juan RP 2013-11-26 10:40:53 +01:00
  • 5a7eb2255d Revert "lib/download.c: xbps_fetch_file: remove unnecesary memset() calls." Juan RP 2013-11-26 10:31:16 +01:00
  • 5c6fdf41dd Install the default Void Linux RSA key to $DBDIR. Juan RP 2013-11-25 12:34:14 +01:00
  • 65bfd54d36 configure: added --localstatedir (defaults to /var). Juan RP 2013-11-25 12:34:03 +01:00
  • ef67b56054 xbps-rindex: clean: ignore invalid entries from index-files. Juan RP 2013-11-25 11:27:11 +01:00
  • 20213deb10 xbps-rindex: clean: use the correct key from index-files. Juan RP 2013-11-25 11:05:06 +01:00
  • ae8925d907 xbps-rindex: in add mode also remove old entry from index-files. Juan RP 2013-11-25 11:03:51 +01:00
  • d2f2796c85 xbps-rindex: redo the clean mode in two passes as it was intended in previous commit. Juan RP 2013-11-25 10:45:05 +01:00
  • 172c84040c xbps-rindex: fix clean mode while removing obsolete entries on index-files with updates. Juan RP 2013-11-25 10:16:38 +01:00
  • 3cbd3deafe doc/xbps_pkgdb_dictionary.dot: replace reqby obj with rundeps. Juan RP 2013-11-24 09:02:09 +01:00
  • 79bf795e1a lib/package_unpack.c: make clang stfu due to -Wmissing-field-initializers. Juan RP 2013-11-19 10:39:46 +01:00
  • e1a3e44e2a configure: append {C{,XX,PP},LD}FLAGS after checking compilter features. Juan RP 2013-11-18 19:54:38 +01:00
  • 8d7c899d48 lib/package_unpack.c: initiliaze struct rather than memset. Juan RP 2013-11-18 18:23:31 +01:00
  • 74970f2e92 lib/download.c: xbps_fetch_file: remove unnecesary memset() calls. Juan RP 2013-11-18 18:20:41 +01:00
  • febc673f1e lib/util_hash.c: xbps_file_hash: remove unnecessary memset() call. Juan RP 2013-11-18 18:12:58 +01:00
  • ef67a79419 lib/repo_keys.c: remove unnecessary OpenSSL_add_all_xxx() calls. Juan RP 2013-11-18 17:35:09 +01:00
  • 17228eb12b xbps-query(8): do not print useless stuff with -vL. Juan RP 2013-11-18 16:52:12 +01:00
  • 8882b0215f Redo how the repository keys are stored. Juan RP 2013-11-18 16:05:46 +01:00
  • c9825feb29 util.c: add stricter checks for pkgver conformance (v2). Juan RP 2013-11-17 12:25:02 +01:00
  • c44d7070a4 util.c: add stricter checks for pkgver conformance. Juan RP 2013-11-17 11:34:14 +01:00
  • d0380d5cd2 lib/package_remove.c: add a bit of debugging if pkg wasn't found in pkgdb. Juan RP 2013-11-17 11:33:16 +01:00
  • 44533f9f57 lib/package_unpack.c: compute unpack cb stats only once. Juan RP 2013-11-15 10:36:31 +01:00
  • e03d49f6bf xbps-install: size required on disk == dlsize+instsize. Juan RP 2013-11-15 10:29:07 +01:00
  • f991574228 README.md: update. Juan RP 2013-11-14 16:24:25 +01:00
  • 6d9bb47fba unpack: make sure to remove only on-disk files if file type does not match. Juan RP 2013-11-09 08:59:02 +01:00
  • efdb0eb5a4 lib/pubkey2fp.c: style tweak. Juan RP 2013-11-08 12:28:01 +01:00
  • 53ecaf9819 Remove xbps_print_hexfp() from API and move it xbps-rindex, where it belongs. Juan RP 2013-11-08 09:12:29 +01:00
  • 2952c69c7a Define NDEBUG for assert() if --enable-debug is not specified. Juan RP 2013-11-08 09:11:47 +01:00
  • 0909c81cdb xbps_pubkey2fp: simplify and eliminate the extra copy of returned data type. Juan RP 2013-11-08 09:10:40 +01:00
  • 89ab9a4b0c xbps_repo_key_import: check that returned hex fingerprint is not NULL. Juan RP 2013-11-08 09:09:35 +01:00
  • b7d91b490c Move libxbps shell tests to libxbps/shell and remove unused test-shell.mk. Juan RP 2013-11-06 11:52:02 +01:00
  • 6952144d60 Simplify tests/xbps/xbps-rindex structure. Juan RP 2013-11-06 11:11:00 +01:00
  • 8f36f8e638 Make sure that configuration files are properly kept or unpacked. Juan RP 2013-11-06 10:45:33 +01:00
  • 41baf01cd1 NEWS: mention that issue #6 has been fixed. Juan RP 2013-11-06 09:51:15 +01:00
  • 987d374ea9 Added an ATF test-case for #6 (close #6; this has been fixed previously). Juan RP 2013-11-06 09:37:38 +01:00
  • c1fafcd339 Fix #20 and added an ATF test-case. Juan RP 2013-11-05 09:56:36 +01:00
  • 10438e58f8 Merge branch '0.26.x' Juan RP 2013-11-04 09:33:02 +01:00
  • 89c62c626c xbps-rindex: [clean] the filesclean test now passes successfully. Juan RP 2013-11-03 11:15:56 +01:00
  • c06115af9a issue18_test: pass optional 2nd arg "cleanup" to atf_test_case(). Juan RP 2013-11-03 10:53:26 +01:00
  • a8bfc4e9f8 xbps-rindex: add more test-cases and merge issue19 into the generic clean_test. Juan RP 2013-11-03 10:52:32 +01:00
  • 3602774bc3 xbps-rindex: [clean] make sure to pass a valid repository url. Juan RP 2013-11-03 10:16:58 +01:00
  • 88100fa1e7 .gitignore: fix path to generated test files. Juan RP 2013-11-03 10:15:02 +01:00
  • 4d3a412d9e Reorganize tests and move all them under /usr/tests/xbps. Juan RP 2013-11-03 09:30:57 +01:00
  • 4e4e4a49d0 Added an ATF test-case for issue #19. Juan RP 2013-11-02 11:44:54 +01:00
  • 616d4420d2 xbps-rindex(8): fix #19. An ATF test-case will be imported later. Juan RP 2013-11-02 11:34:55 +01:00
  • 2b40d8ad54 issue18_test: use atf_check_equal() instead and cleanup stuff at the end. Juan RP 2013-11-01 18:47:23 +01:00
  • c4a0568c08 Added an ATF test-case for issue #18 (in shell). Juan RP 2013-11-01 18:35:25 +01:00
  • 1fd164b88b NEWS: mention #18 has been fixed. Juan RP 2013-11-01 18:09:41 +01:00
  • f09eab62cd Fix #18. An ATF test-case will be imported in a while. Juan RP 2013-11-01 18:05:11 +01:00
  • 59f4248218 Bump to 0.26.2. Juan RP 2013-10-30 12:04:49 +01:00
  • b2e1075efa unpack: apply correctly file permissions to existent files. Juan RP 2013-10-30 12:02:16 +01:00
  • 747f250202 unpack: apply correctly file permissions to existent files. Juan RP 2013-10-30 12:02:16 +01:00
  • 0247b49f86 xbps_repo_key_import: ignore local repos. Juan RP 2013-10-28 12:51:03 +01:00
  • f39f7ff2fa xbps-rkeys: print the error if pubkey cannot be imported. Juan RP 2013-10-28 12:46:23 +01:00
  • 3bb7168935 Merge branch '0.26.x' Juan RP 2013-10-25 09:48:12 +02:00
  • 43ba262976 NEWS: prepare for 0.26.1. Juan RP 2013-10-25 09:46:26 +02:00
  • 6d9f06ddbb configure: bump to 0.26.1. Juan RP 2013-10-25 09:46:07 +02:00
  • 1c56e2342c xbps-uhelper: added 'real-version' action. Juan RP 2013-10-22 09:56:55 +02:00
  • fc9fda7195 configure: also respect CPPFLAGS from environment (if set). Juan RP 2013-10-23 15:59:10 +02:00
  • 7b0e9967b1 xbps-uhelper: added 'real-version' action. Juan RP 2013-10-22 09:56:55 +02:00
  • ab5b356b5b xbps-rindex: initialize idxfiles in repo to access to it. Juan RP 2013-10-18 09:36:25 +02:00
  • aad0502b95 xbps_repo_key_import: also print repourl in state cb. Juan RP 2013-10-15 09:58:51 +02:00
  • 70047586ee Xref xbps-rkeys(8) Juan RP 2013-10-12 10:13:32 +02:00
  • 43b9be6046 xbps-rindex(8): added support for XBPS_PASSPHRASE env var. Juan RP 2013-10-12 09:55:03 +02:00
  • c91050fc35 xbps-rindex(8): added -v --verbose option (mainly for -r mode). Juan RP 2013-10-10 10:43:01 +02:00
  • a5ecaa493f New utility: xbps-rkeys(8) to manage RSA public keys. Juan RP 2013-10-09 10:13:07 +02:00
  • 250916fa6a xbps-query: use the _multi version to find out largest pkgver string. Juan RP 2013-10-08 10:39:20 +02:00
  • 3267fa05ad README.md: misc tweaks. Juan RP 2013-10-08 10:28:31 +02:00
  • 144f668471 README.md: mention RSA signed repos. Juan RP 2013-10-07 11:11:19 +02:00