Commit Graph

  • 22adf99e40 Faster generation of dynamic reverse dependencies and do this exactly once. Juan RP 2012-12-15 07:33:49 +01:00
  • e2176ec4b6 bin: no point in cleaning up resources when it's exiting... Juan RP 2012-12-14 11:58:30 +01:00
  • 647aa0727f xbps-pkgdb/Makefile: remove redundant assignment. Juan RP 2012-12-14 09:56:12 +01:00
  • 41f753248f xbps-rindex(8): remove obsoletes mode (-r) is now multithreaded. Juan RP 2012-12-14 09:47:47 +01:00
  • 338c0d549f xbps-pkgdb: fixed some memleaks. Juan RP 2012-12-14 06:04:58 +01:00
  • a0443fc4ce xbps-rindex(8): clean mode (-c) is now multithreaded. Juan RP 2012-12-14 04:59:47 +01:00
  • 33a8150a98 xbps-pkgdb: checking all pkgs with -a/--all is now multithreaded. Juan RP 2012-12-14 03:31:24 +01:00
  • db5da575a4 xbps-create: added support to add hardlinks. Juan RP 2012-12-12 03:48:27 +01:00
  • f2d2b2fde9 xbps-install: fetch_cb.c: if stdout is a tty use stderr. Juan RP 2012-12-10 11:20:59 +01:00
  • ca5aeebdc9 xbps-install: fetch_cb.c: do not print ANSI escape codes if stdout isn't a tty. Juan RP 2012-12-10 11:09:18 +01:00
  • 1d42986b75 libxbps: finish support for rindex 1.6. Juan RP 2012-12-07 17:11:52 +01:00
  • 14d1734a84 README: GNU make and libarchive>=3.0.2 are mandatory to build xbps. Juan RP 2012-12-07 11:05:54 +01:00
  • 849191a5de xbps-rindex: [clean] if pkg cannot be read don't check for hash mismatch. Juan RP 2012-12-07 09:57:41 +01:00
  • 305659644f xbps_rindex_sync: check that downloaded repo index is a dictionary. Juan RP 2012-12-07 08:34:45 +01:00
  • 3e3073e44c xbps_rpool_init: relax an assertion and skip invalid repos gracefully. Juan RP 2012-12-07 08:31:47 +01:00
  • 2c1e4e502d XBPS can now be built on NetBSD (and probably any other BSD variant). Juan RP 2012-12-06 12:58:17 +01:00
  • d6a65a5a55 etc/xbps.conf: fix old comment. Juan RP 2012-12-06 11:04:55 +01:00
  • 942db86eb5 xbps-query/search.c: add missing assert.h. Juan RP 2012-12-06 10:58:11 +01:00
  • e277823268 xbps_api.h.in: don't redefine __{BEGIN,END}_DECLS; which is true on BSD. Juan RP 2012-12-06 10:54:01 +01:00
  • 924ef35a07 xbps-query: fixed some issues found by pancake and valgrind. Juan RP 2012-12-05 08:47:53 +01:00
  • 298072ced3 xbps-rindex(8): in clean mode (-c) also remove entries with unmatched hash. Juan RP 2012-12-03 11:05:37 +01:00
  • 2e2da80cfc find_repo_deps: find pkgd from pkgdb by name as it checks for version later. Juan RP 2012-12-02 16:34:01 +01:00
  • 0e40a2dbba xbps_pkgdb_get_pkg_revdeps: make sure to not have dup entries. Juan RP 2012-12-01 08:10:47 +01:00
  • 8c84e22b94 xbps_transaction_sort: do not sort removed pkgs; just add them to head. Juan RP 2012-12-01 08:10:15 +01:00
  • f45352dbf8 Added support for dynamic generation of revdeps for installed packages. Juan RP 2012-11-30 17:40:52 +01:00
  • 9ac3b60048 xbps-query: repo_revdeps_cb: simplify by using a dictionary iterator. Juan RP 2012-11-30 10:45:26 +01:00
  • 731c903026 libxbps: do not insert/delete while traversing a (double) locked iterator. Juan RP 2012-11-30 10:04:36 +01:00
  • b9136c61c9 Use prop iterators when needed to retain the obj. Juan RP 2012-11-30 09:49:09 +01:00
  • 9715d8a6a1 rindex_pkgdeps.c: simplify and reduce (a bit). Juan RP 2012-11-30 08:21:20 +01:00
  • 15b148fb51 tests: remove obsolete tests for 0.19 API. Juan RP 2012-11-30 07:47:22 +01:00
  • 8345070884 Bump libxbps soname major version. Juan RP 2012-11-30 07:18:46 +01:00
  • 2a2d2c0ed3 configure: bump version to 0.19. Juan RP 2012-11-30 07:18:24 +01:00
  • 63c1883201 Major API/ABI cleanup bringing performance improvements and fixes. Juan RP 2012-11-30 07:11:51 +01:00
  • 16e18313da xbps_transaction: return proper errors if pkg is missing from repos. Juan RP 2012-11-28 17:35:03 +01:00
  • b743ee2634 configure: set version to 0.18.1. Juan RP 2012-11-26 23:37:50 +01:00
  • 7584c4b3ef NEWS: set date to 0.18.1. Juan RP 2012-11-26 23:34:41 +01:00
  • 63dc8a8693 NEWS: update for 0.18.1. Juan RP 2012-11-26 23:32:58 +01:00
  • 85c0641cc8 xbps_{configure,remove}_pkg: do not use meta cache when executing scripts. Juan RP 2012-11-26 23:25:41 +01:00
  • 25612870f0 xbps-query: when checking revdeps from repos use the same pkgver from repo pkg. Juan RP 2012-11-26 10:22:09 +01:00
  • b7b6f7f1b4 xbps-create: use the right var in chdir(2) doh. Juan RP 2012-11-25 11:03:03 +01:00
  • 743eabb88e xbps-rindex: dont panic if old binpkg doesn't exist. Juan RP 2012-11-24 08:50:52 +01:00
  • 25641ec9de configure: post-release version bump. Juan RP 2012-11-24 08:44:12 +01:00
  • 7f577e005c metadir: replace uthash simply with a dictionary. Juan RP 2012-11-21 23:07:38 +01:00
  • 9f7357ecf5 xbps-{install,remove}.8: remove unimplemented option. Juan RP 2012-11-21 06:57:13 +01:00
  • 0c79a016a4 xbps-rindex: typo fix to make -r work. Juan RP 2012-11-21 06:03:41 +01:00
  • b39881e47a xbps-remove: renamed -i, --ignore-revdeps to -F --force-revdeps. Juan RP 2012-11-21 06:00:55 +01:00
  • 7669fcf34d xbps-install: remove -p --print-format arg for now (unimplemented). Juan RP 2012-11-21 05:57:53 +01:00
  • 27622cf3cb xbps-{install,query}.8: update for 0.18 metadata changes. Juan RP 2012-11-21 05:30:28 +01:00
  • 79a31bb6bc xbps-query: implemented -X, --revdeps in repository mode. Juan RP 2012-11-21 02:52:36 +01:00
  • 37e5d7ebe0 xbps-query: show_pkg_files: return error if files != dictionary. Juan RP 2012-11-20 22:58:15 +01:00
  • d063e63bbb xbps-create: new option -G, --source-revisions; mainly for xbps-src use. Juan RP 2012-11-20 04:21:26 +01:00
  • ddca33b4a9 XBPS_RELVER: embed the latest git rev hash. Juan RP 2012-11-20 00:38:23 +01:00
  • bdd93b7aa7 Introduce xbps_pkgdb_get_virtualpkgd() and use in xbps_metadir_get_pkgd(). Juan RP 2012-11-19 21:46:54 +01:00
  • 78cd625c28 xbps-pkgdb: fixed symlinks check; this now detects modified symlinks correctly. Juan RP 2012-11-19 21:12:04 +01:00
  • ca26c20dd5 xbps-query: show usage() when called with no args. Juan RP 2012-11-19 21:06:37 +01:00
  • 5de4fb1f0a xbps-install: -f will also overwrite pkg files. Juan RP 2012-11-19 20:50:58 +01:00
  • d92c87dbf3 xbps_fetch_file: don't error out if restart and tempfile doesn't exist. Juan RP 2012-11-19 16:40:27 +01:00
  • a311294f0a libxbps: added support to "inject" vpkg config files at initialization time. Juan RP 2012-11-19 15:42:24 +01:00
  • 4f9ff2746e xbps_pkg_exec_buffer: chdir to rootdir before creating fd. Juan RP 2012-11-19 14:59:42 +01:00
  • 0edba07106 xbps_remove_pkg: fix dbg printf args. Juan RP 2012-11-19 14:45:09 +01:00
  • 34ae90f1c3 xbps_remove_pkg: force pkgdb flush after unregister. Juan RP 2012-11-19 14:40:41 +01:00
  • e861cb5331 xbps_transaction_commit: add a dbg printf. Juan RP 2012-11-19 14:38:06 +01:00
  • 5397dd4937 xbps_remove_pkg: handle all cases where pkg meta plist is unavail. Juan RP 2012-11-19 14:08:01 +01:00
  • 1147e7ce3c xbps_find_pkg_orphans: there's no need to check pkg state, any state is ok. Juan RP 2012-11-19 14:07:05 +01:00
  • 556bbd495e xbps_remove_pkg: recover from an assertion if pkg meta plist doesn't exist. Juan RP 2012-11-19 13:29:09 +01:00
  • 01e67d1394 xbps-install: do not print anything for XBPS_STATE_INSTALL. Juan RP 2012-11-19 12:29:47 +01:00
  • bf2d97a067 xbps_init: simplify previous and use xbps_xasprintf(). Juan RP 2012-11-19 12:15:32 +01:00
  • b894a5eca3 Accept relative rootdir via xbps_handle::rootdir (found by pancake). Juan RP 2012-11-19 12:12:38 +01:00
  • 37b7cccc83 pkg_metadir: this must use HASH_ADD_STR instead! Juan RP 2012-11-18 17:08:45 +01:00
  • edc9853904 xbps-reconfigure: printf typo fix. Juan RP 2012-11-18 13:23:24 +01:00
  • 55982c7a3c xbps-query: process modes and arguments correctly. Juan RP 2012-11-18 12:57:38 +01:00
  • 6094bbc6ea pkg_metadir: fix some issues I've found while finding obsolete files. Juan RP 2012-11-18 12:07:43 +01:00
  • e08c258967 xbps_remove_pkg: no need to release pkgd from metadir. Juan RP 2012-11-18 12:06:46 +01:00
  • ace91b17e0 xbps-pkgdb: add changes in reqby back to our pkgdb pkg dictionary. Juan RP 2012-11-18 12:04:57 +01:00
  • 235416b48f pkg_metadir: redo previous without memleaks. Juan RP 2012-11-18 04:06:13 +01:00
  • 8d9f5b65e3 pkg_metadir: make sure to return a valid pkgd from the hash table. Juan RP 2012-11-18 03:49:29 +01:00
  • 46f7a808b4 xbps_metadir: use an hash table (via uthash): 15s vs 1m10s. Juan RP 2012-11-18 02:38:24 +01:00
  • 66bb87d053 xbps-rindex: fixes to remove old binpkg when arch not matched and entry from index-files. Juan RP 2012-11-17 19:22:58 +01:00
  • c899572bd4 xbps-pkgdb: don't forget to update pkgdb; some printf fixes. Juan RP 2012-11-17 18:25:18 +01:00
  • e763f154a0 xbps-pkgdb: simplify the check code; make the reqby check work again. Juan RP 2012-11-17 17:43:54 +01:00
  • fcdb6b0930 unpack: use pkg dictionary from metadir to find obsoletes! Juan RP 2012-11-17 15:14:11 +01:00
  • cc99e887a2 xbps_pkg_exec_buffer: if rootdir != / create tmp files on rootdir. Juan RP 2012-11-17 12:08:25 +01:00
  • 0a082a82c3 xbps_file_exec: don't fail if chroot(2) fails (due to EPERM). Juan RP 2012-11-17 11:44:14 +01:00
  • bc894aae1d xbps_metadir_release: don't release obj already released. Juan RP 2012-11-17 10:53:06 +01:00
  • b0fab7a3ee Implemented a cache to get pkg dicts from metadir. Juan RP 2012-11-16 21:50:52 +01:00
  • 34bd49f85a New pkg metadata structure for 0.18. See the NEWS file for info. Juan RP 2012-11-16 16:55:35 +01:00
  • db4b542d40 unpack: typo in previous. Juan RP 2012-11-15 09:27:41 +01:00
  • 1b217d1906 transaction_ops: shortest static function name. Juan RP 2012-11-15 09:25:59 +01:00
  • ce2f45a3df unpack: don't extract pkg props.plist, we use pkg data from repo index. Juan RP 2012-11-15 09:25:31 +01:00
  • 5c0abc9754 libxbps: remove old code and return early if pkg has no rundeps. Juan RP 2012-11-15 01:37:09 +01:00
  • ce3d4f1764 unpack: externalize pkg props dictionary from index. Juan RP 2012-11-13 14:41:04 +01:00
  • 4945755d53 unpack: don't assert if target file of a symlink doesn't exist, it may happen. Juan RP 2012-11-12 17:10:02 +01:00
  • a6c979295f NEWS: typo fix. Juan RP 2012-11-12 17:09:29 +01:00
  • 2703b55f99 xbps_dictionary_from_archive_entry: faster when plist is already uncompressed. Juan RP 2012-11-11 16:57:23 +01:00
  • 58333419a0 Shell wildcard patterns can now be used in the PackagesOnHold option. Juan RP 2012-11-11 16:11:40 +01:00
  • a77727887d Improvements for xbps_fetch_file and xbps_repository_sync_index. Juan RP 2012-11-11 11:29:49 +01:00
  • f81d8ac1f0 xbps_pkgdb_update: if pkgdb cannot be internalized, create it to simplify code. Juan RP 2012-11-11 10:03:14 +01:00
  • df0d5d7330 Get rid of pkg state half-unpacked; not-installed state is good enough. Juan RP 2012-11-11 09:42:30 +01:00
  • d6735d5685 xbps_xasprintf: do not return NULL anymore; remove checks for this. Juan RP 2012-11-11 09:37:27 +01:00
  • 0ab60b24c5 xbps_fetch_file: enable fetchRestartCalls. Juan RP 2012-11-08 09:49:03 +01:00