Commit Graph

  • a85073f6e8 xbps-repo: also print binpkg compression type in the show target. Juan RP 2009-11-28 06:11:34 +01:00
  • 8b3b5c9d1a xbps-bin, xbps-repo: use xbps_pkgdep_match() for the search target. Juan RP 2009-11-28 05:52:00 +01:00
  • 88ba635780 Split unpack.c config files and remove obsoletes code into its own files. Juan RP 2009-11-28 05:43:21 +01:00
  • 6208cc8e30 xbps-bin: update manpage. Juan RP 2009-11-28 03:56:36 +01:00
  • 3855ee582a xbps-repo: add -c flag to set cachedir, update manpage. Juan RP 2009-11-28 03:56:16 +01:00
  • f3d2481c31 xbps-repo: if fetching info from remote repo for the 'show' and 'show-files' targets and the binary package exists in cachedir, use it. Juan RP 2009-11-28 03:21:29 +01:00
  • 21bea723f4 xbps_sync_repository_pkg_index: update comments. Juan RP 2009-11-28 02:53:52 +01:00
  • e652de8d5a libxbps: remove unused xbps_check_pkg_file_hash(). Juan RP 2009-11-28 02:51:21 +01:00
  • bf7ca100f6 xbps_unpack_binary_pkg: cosmetic changes. Juan RP 2009-11-28 02:49:36 +01:00
  • 494504dbec Added support for a cachedir to store downloaded binpkgs. Juan RP 2009-11-28 02:38:41 +01:00
  • 0d0e6d06b1 xbps_repository_pool_init: if unexistent repos are registered, ignore them but do not report any error. Juan RP 2009-11-27 01:51:30 +01:00
  • 0173a28aa2 xbps_repository_pool_init: ignore invalid repositories if always there is one that is working, otherwise report an error. Juan RP 2009-11-26 21:41:46 +01:00
  • 30fc7b050a xbps_find_pkg_installed_from_plist: if pkg is in 'config-files' state, treat this as not installed and set errno to ENOENT. Juan RP 2009-11-26 05:01:07 +01:00
  • 572068d3df xbps_get_path_from_pkg_dict_repo: adding rootdir wasn't correct for a local repository, remove it. Juan RP 2009-11-26 04:40:26 +01:00
  • 391f02ce10 Added some missing changes for previous. Juan RP 2009-11-26 03:32:56 +01:00
  • 5223b6d652 xbps-bin(8), xbps-repo(8): improve descr for some targets. Juan RP 2009-11-26 03:29:01 +01:00
  • 87a216fd11 Major changes in libxbps to implement caching in some cases. Juan RP 2009-11-26 02:22:50 +00:00
  • fa7e3a3a7e xbps-repo: genindex: also remove the "conf_files" object. Juan RP 2009-11-25 07:42:21 +00:00
  • b56b7e9f09 Bump XBPS_PKGINDEX_VERSION to 1.1 because some pkg objects were removed. Juan RP 2009-11-25 04:38:09 +00:00
  • 4c1ae5d3d6 xbps-repo: improve genindex target, reorganize main.c file. Juan RP 2009-11-25 04:32:04 +00:00
  • 04d9ab2322 xbps_get_path_from_pkg_dict_repo: new function that returns a malloc'ed string with the full path to a binary package file. Juan RP 2009-11-25 04:29:53 +00:00
  • 787416a0cd xbps_get_pkg_plist_dict_from_repo: split reading the pkg plist dict from an url into a new function, xbps_get_pkg_plist_dict_from_url. Juan RP 2009-11-25 02:52:58 +00:00
  • 3117c8b4ee xbps-repo(8): added 'show-files' target. Juan RP 2009-11-25 02:15:56 +00:00
  • c11094d5dd Added xbps_get_pkg_plist_dict_from_repo(). Juan RP 2009-11-25 02:09:36 +00:00
  • 2693e54ef6 xbps-repo: genindex: optimization change. Juan RP 2009-11-25 00:17:33 +00:00
  • 00c458fca1 Update .bzrignore after last changes. Juan RP 2009-11-25 00:17:16 +00:00
  • 4e7bb3b451 xbps-repo: genindex: print error msg if required dirs to store binpkgs are not there. Juan RP 2009-11-24 23:45:31 +00:00
  • 7ca13ee7df xbps-uhelper: new bin that combines xbps-cmpver, xbps-digest, xbps-fetch and xbps-pkgdb in one utility. Juan RP 2009-11-24 11:59:47 +00:00
  • ea882fca0b xbps-repo: make xbps_repo_addpkg_index() static. Juan RP 2009-11-24 11:11:23 +00:00
  • 3a65c45de3 Refactored shared code between xbps-bin(8) and xbps-repo(8). Juan RP 2009-11-24 11:05:39 +00:00
  • 164c661bcf xbps-repo: added 'show-deps' target to mimic xbps-bin(8). Juan RP 2009-11-24 10:47:04 +00:00
  • c676622869 Some changes to know if a file was downloaded successfully or not. Juan RP 2009-11-24 05:03:26 +00:00
  • 83f71f3d2b xbps_fetch_file: in refetch case, do nothing if local/remote size match. Juan RP 2009-11-24 03:54:40 +00:00
  • 4502155554 xbps-repo: explain in the manpage that outdated package files will be removed automatically for the 'genindex' target. Juan RP 2009-11-24 03:16:05 +00:00
  • dc68e31ad9 Bump XBPS_RELVER to 20091124 for xbps-repo genindex fix. Juan RP 2009-11-24 03:07:49 +00:00
  • d7987e8e32 xbps-repo genindex: fix use after free, remove outdated binpkg files by default. Juan RP 2009-11-24 03:06:06 +00:00
  • 1c2fc20964 xbps_find_pkg_in_dict: return NULL if pkgname obj is not there. Juan RP 2009-11-24 03:01:32 +00:00
  • fe468b2e90 xbps-bin: fix one more for previous commit. Juan RP 2009-11-24 00:30:52 +00:00
  • 01cbe9a63b xbps-bin: fix download local dir when fetching binpkgs from remote repos. Juan RP 2009-11-23 23:56:32 +00:00
  • bf82b6512d Extensively verified that all functions have its return value checked for any spurious error, this should make the core more safer :-) Juan RP 2009-11-23 09:46:51 +00:00
  • ea468f850f xbps_get_pkg_index_plist: use xbps_check_is_repo_string_remote(). Juan RP 2009-11-23 07:02:14 +00:00
  • 13706cf0a5 xbps-repo: changed the 'sync' target to update from all registered remote repositories, so remove its argument. Juan RP 2009-11-23 04:23:16 +00:00
  • a95aecaf70 Bump XBPS_RELVER to 20091123. Juan RP 2009-11-23 00:29:28 +00:00
  • 12cec6e707 xbps-pkgdb: don't forget to add the pkgver object in register target. Juan RP 2009-11-23 00:28:57 +00:00
  • 3de4aca129 xbps_register_pkg: check that required objs are there! Juan RP 2009-11-23 00:28:23 +00:00
  • 3bb3858cfb xbps_find_pkg_repo_deps: don't propagate rv to next calls using it, add some more debugging for future problems. Juan RP 2009-11-23 00:43:48 +01:00
  • 3fcba399af xbps_find_pkg_repo_deps: if finding a dep failed for whatever reason, stop immediately and return the appropiate error. Juan RP 2009-11-22 21:52:57 +01:00
  • 4e89a28dda xbps_find_new_pkg: do not report incorrect debug printf. Juan RP 2009-11-22 21:52:15 +01:00
  • 7af7ef40c9 xbps_get_pkgver_from_dict: return NULL if the object is not there. Juan RP 2009-11-22 21:51:19 +01:00
  • a3dca717ae Bump XBPS_RELVER to 20091122 for previous change. Juan RP 2009-11-22 08:24:08 +01:00
  • 4f80bddbb2 xbps-repo: print error if pkg-index file cannot be fetched. Juan RP 2009-11-22 07:04:46 +01:00
  • 625b3df820 Removed outdated doc files. Juan RP 2009-11-22 06:47:48 +01:00
  • 3d24672e58 Improve dependency matching via repos and use the "pkgver" object in pkg dictionary to improve performance in some cases. Juan RP 2009-11-22 05:15:47 +01:00
  • 71ea9d2d1f xbps_find_pkg_deps: simplify, fix multi-repo bug, add debugging. Juan RP 2009-11-21 07:12:42 +01:00
  • cf575b88c2 .bzrignore: add xbps-fetch bin. Juan RP 2009-11-20 22:08:42 +01:00
  • 56c5c38724 Fixed prog.mk rules that skipped the manpage. Juan RP 2009-11-20 22:02:32 +01:00
  • 308a25f302 xbps_unpack_binary_pkg: initialize a local var. Juan RP 2009-11-19 06:10:42 +01:00
  • db9ae90dd4 Improve make output similar to what recent GNU configure scripts do. Juan RP 2009-11-19 06:03:37 +01:00
  • 9e062cec4f xbps-repo: do the right thing in some error paths. Juan RP 2009-11-19 00:11:06 +01:00
  • e8d947e15b Reorganize the Makefiles so that parallel build is possible. Juan RP 2009-11-18 10:05:45 +01:00
  • f847401c4f xbps_api.h: use __BEGIN/END_DECLS. Juan RP 2009-11-18 10:02:12 +01:00
  • a8562d6eb1 Ignore two generated headers in .bzrignore. Juan RP 2009-11-18 08:49:08 +01:00
  • bc14a026a5 Improve download code, as well as fixing refetching when syncing to a remote package index. Bump XBPS_RELVER to 20091118. Juan RP 2009-11-18 07:28:14 +01:00
  • d5f9366bfc xbps-repo: fix previous, writing a dangling string and a leak in exit path. Juan RP 2009-11-18 07:17:45 +01:00
  • f859663a4b xbps-repo: made 'genindex' code run ~60% faster than before! Juan RP 2009-11-18 06:34:39 +01:00
  • cc6417b9bf Fix a typo in xbps-bin/repo manpages. Juan RP 2009-11-17 17:43:09 +01:00
  • 2b790a4c2f xbps-bin: rename 'show-manual' target to 'list-manual', it's a better name IMHO :-) Juan RP 2009-11-09 02:59:19 +01:00
  • 736fcbfdd0 xbps_api.h: bump XBPS_RELVER to 20091109. Juan RP 2009-11-09 02:45:03 +01:00
  • d379d1d44c Implemented blueprint "essential-upgrades". Juan RP 2009-11-09 02:30:04 +01:00
  • 795c2a58f5 Fix some issues while matching for required pkgdeps. Juan RP 2009-11-07 16:41:59 +01:00
  • 79d3f446fe xbps_fetch_file: return proper error if connection failed, fix SSP problem with fetchflags! Juan RP 2009-11-07 06:21:01 +01:00
  • adbd3d727c Added support for shell (and csh as well) patterns for required dependencies, as specified in blueprint "improved-version-matching". Juan RP 2009-11-07 04:56:20 +01:00
  • 95b51ae72b Fix launchpad bug #473249 "-lxbps not found because of wrong LDFLAGS" Juan RP 2009-11-05 22:55:27 +01:00
  • 644d48a6f8 doc/TODO: remote repos are working. Juan RP 2009-11-01 07:34:52 +01:00
  • dce1283e88 xbps-bin: improve 'check all' target output. Juan RP 2009-11-01 07:32:06 +01:00
  • 748cc9c6b1 Improve xbps_fetch_file() and friends, one more time by Daft Punk. Juan RP 2009-10-31 15:09:25 +01:00
  • 4c4f5eebef xbps-repo: add a sync target, to sync the pkg index file from a remote repository. Juan RP 2009-10-31 11:57:40 +01:00
  • 10e76c6420 xbps_fetch_file: erm fix previous, FETH_UNCHANGED is the correct one. Juan RP 2009-10-31 11:55:41 +01:00
  • a9b7ffa94a xbps_fetch_file(): check for local/remote mtime, add some more checks for errors, add some printfs. Juan RP 2009-10-31 11:40:55 +01:00
  • 10f2bef7cb Bah, fix these stupid make targets. Juan RP 2009-10-30 17:32:09 +01:00
  • 5b6724b550 Fix up some issues for building shared/static bins. Juan RP 2009-10-30 17:23:45 +01:00
  • 4e83deb0cc libxbps: avoid fetchStat() and use only fetchXGet(). Juan RP 2009-10-30 17:20:44 +01:00
  • 4aeea194e3 lib/Makefile: don't forget to install the static lib. Juan RP 2009-10-30 12:22:31 +01:00
  • 3905c2106c Properly build shared/static libxbps and utils. Juan RP 2009-10-30 12:17:26 +01:00
  • 79f9f34775 libxbps: added xbps_fetch_error_string(), that returns libfetch fetchLastErrString. Juan RP 2009-10-30 03:13:03 +01:00
  • e479879e9f xbps-bin: use exit(2) rather than _exit(2). Juan RP 2009-10-30 01:42:57 +01:00
  • db58e48822 Added xbps-bin(8) and xbps-repo(8) manpages in asciidoc format. Juan RP 2009-10-28 16:32:22 +01:00
  • 3a2f421109 xbps-bin: added "show-manual" target. Juan RP 2009-10-28 03:39:13 +01:00
  • 0024221279 lib/depends.c: minor performance change. Juan RP 2009-10-28 03:16:52 +01:00
  • 4b99264063 xbps-repo: sanitize uri provided to the add target also for remote repositories. Juan RP 2009-10-27 15:25:04 +01:00
  • dc258f4e20 Use xbps_get_root() directly where appropiate. Juan RP 2009-10-27 12:15:47 +01:00
  • ac897c8383 libxbps: move remote repo pkg-index sync code into its own file. Juan RP 2009-10-27 04:40:00 +01:00
  • 4acda249d9 README: mention that openssl is required for https support. Juan RP 2009-10-27 01:56:34 +01:00
  • 7aebea684b Implemented support for working with remote repositories. Juan RP 2009-10-27 01:46:00 +01:00
  • 6a855c0272 xbps_find_orphan_packages: report return value as errno in an error path. Juan RP 2009-10-23 14:03:16 +02:00
  • b689725270 xbps-bin: use a single point to cleanup resources. Juan RP 2009-10-23 14:01:54 +02:00
  • ca39d1667e xbps-bin: use a signal handler for SIGINT, SIGTERM and SIGQUIT to free resources used by libxbps. Juan RP 2009-10-23 11:20:25 +02:00
  • 236b86ae50 xbps_check_is_installed_pkg: fix a leak in error paths reported by valgrind. Juan RP 2009-10-23 11:11:57 +02:00
  • 1e792e62f8 xbps-bin: use HN_B and HN_DECIMAL when using humanize_number for a more detailed output. Juan RP 2009-10-23 08:45:59 +02:00
  • b2197be315 Do not use private sha256.h header file in the public exported API header file (xbps_api.h). Juan RP 2009-10-22 14:49:21 +02:00