a85073f6e8
xbps-repo: also print binpkg compression type in the show target.
Juan RP2009-11-28 06:11:34 +01:00
8b3b5c9d1a
xbps-bin, xbps-repo: use xbps_pkgdep_match() for the search target.
Juan RP2009-11-28 05:52:00 +01:00
88ba635780
Split unpack.c config files and remove obsoletes code into its own files.
Juan RP2009-11-28 05:43:21 +01:00
6208cc8e30
xbps-bin: update manpage.
Juan RP2009-11-28 03:56:36 +01:00
3855ee582a
xbps-repo: add -c flag to set cachedir, update manpage.
Juan RP2009-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 RP2009-11-28 03:21:29 +01:00
21bea723f4
xbps_sync_repository_pkg_index: update comments.
Juan RP2009-11-28 02:53:52 +01:00
e652de8d5a
libxbps: remove unused xbps_check_pkg_file_hash().
Juan RP2009-11-28 02:51:21 +01:00
bf7ca100f6
xbps_unpack_binary_pkg: cosmetic changes.
Juan RP2009-11-28 02:49:36 +01:00
494504dbec
Added support for a cachedir to store downloaded binpkgs.
Juan RP2009-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 RP2009-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 RP2009-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 RP2009-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 RP2009-11-26 04:40:26 +01:00
391f02ce10
Added some missing changes for previous.
Juan RP2009-11-26 03:32:56 +01:00
5223b6d652
xbps-bin(8), xbps-repo(8): improve descr for some targets.
Juan RP2009-11-26 03:29:01 +01:00
87a216fd11
Major changes in libxbps to implement caching in some cases.
Juan RP2009-11-26 02:22:50 +00:00
fa7e3a3a7e
xbps-repo: genindex: also remove the "conf_files" object.
Juan RP2009-11-25 07:42:21 +00:00
b56b7e9f09
Bump XBPS_PKGINDEX_VERSION to 1.1 because some pkg objects were removed.
Juan RP2009-11-25 04:38:09 +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 RP2009-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 RP2009-11-25 02:52:58 +00:00
3117c8b4ee
xbps-repo(8): added 'show-files' target.
Juan RP2009-11-25 02:15:56 +00:00
c11094d5dd
Added xbps_get_pkg_plist_dict_from_repo().
Juan RP2009-11-25 02:09:36 +00:00
2693e54ef6
xbps-repo: genindex: optimization change.
Juan RP2009-11-25 00:17:33 +00:00
00c458fca1
Update .bzrignore after last changes.
Juan RP2009-11-25 00:17:16 +00:00
4e7bb3b451
xbps-repo: genindex: print error msg if required dirs to store binpkgs are not there.
Juan RP2009-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 RP2009-11-24 11:59:47 +00:00
ea882fca0b
xbps-repo: make xbps_repo_addpkg_index() static.
Juan RP2009-11-24 11:11:23 +00:00
3a65c45de3
Refactored shared code between xbps-bin(8) and xbps-repo(8).
Juan RP2009-11-24 11:05:39 +00:00
164c661bcf
xbps-repo: added 'show-deps' target to mimic xbps-bin(8).
Juan RP2009-11-24 10:47:04 +00:00
c676622869
Some changes to know if a file was downloaded successfully or not.
Juan RP2009-11-24 05:03:26 +00:00
83f71f3d2b
xbps_fetch_file: in refetch case, do nothing if local/remote size match.
Juan RP2009-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 RP2009-11-24 03:16:05 +00:00
dc68e31ad9
Bump XBPS_RELVER to 20091124 for xbps-repo genindex fix.
Juan RP2009-11-24 03:07:49 +00:00
d7987e8e32
xbps-repo genindex: fix use after free, remove outdated binpkg files by default.
Juan RP2009-11-24 03:06:06 +00:00
1c2fc20964
xbps_find_pkg_in_dict: return NULL if pkgname obj is not there.
Juan RP2009-11-24 03:01:32 +00:00
fe468b2e90
xbps-bin: fix one more for previous commit.
Juan RP2009-11-24 00:30:52 +00:00
01cbe9a63b
xbps-bin: fix download local dir when fetching binpkgs from remote repos.
Juan RP2009-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 RP2009-11-23 09:46:51 +00:00
ea468f850f
xbps_get_pkg_index_plist: use xbps_check_is_repo_string_remote().
Juan RP2009-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 RP2009-11-23 04:23:16 +00:00
a95aecaf70
Bump XBPS_RELVER to 20091123.
Juan RP2009-11-23 00:29:28 +00:00
12cec6e707
xbps-pkgdb: don't forget to add the pkgver object in register target.
Juan RP2009-11-23 00:28:57 +00:00
3de4aca129
xbps_register_pkg: check that required objs are there!
Juan RP2009-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 RP2009-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 RP2009-11-22 21:52:57 +01:00
4e89a28dda
xbps_find_new_pkg: do not report incorrect debug printf.
Juan RP2009-11-22 21:52:15 +01:00
7af7ef40c9
xbps_get_pkgver_from_dict: return NULL if the object is not there.
Juan RP2009-11-22 21:51:19 +01:00
a3dca717ae
Bump XBPS_RELVER to 20091122 for previous change.
Juan RP2009-11-22 08:24:08 +01:00
4f80bddbb2
xbps-repo: print error if pkg-index file cannot be fetched.
Juan RP2009-11-22 07:04:46 +01:00
625b3df820
Removed outdated doc files.
Juan RP2009-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 RP2009-11-22 05:15:47 +01:00
cf575b88c2
.bzrignore: add xbps-fetch bin.
Juan RP2009-11-20 22:08:42 +01:00
56c5c38724
Fixed prog.mk rules that skipped the manpage.
Juan RP2009-11-20 22:02:32 +01:00
308a25f302
xbps_unpack_binary_pkg: initialize a local var.
Juan RP2009-11-19 06:10:42 +01:00
db9ae90dd4
Improve make output similar to what recent GNU configure scripts do.
Juan RP2009-11-19 06:03:37 +01:00
9e062cec4f
xbps-repo: do the right thing in some error paths.
Juan RP2009-11-19 00:11:06 +01:00
e8d947e15b
Reorganize the Makefiles so that parallel build is possible.
Juan RP2009-11-18 10:05:45 +01:00
f847401c4f
xbps_api.h: use __BEGIN/END_DECLS.
Juan RP2009-11-18 10:02:12 +01:00
a8562d6eb1
Ignore two generated headers in .bzrignore.
Juan RP2009-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 RP2009-11-18 07:28:14 +01:00
d5f9366bfc
xbps-repo: fix previous, writing a dangling string and a leak in exit path.
Juan RP2009-11-18 07:17:45 +01:00
f859663a4b
xbps-repo: made 'genindex' code run ~60% faster than before!
Juan RP2009-11-18 06:34:39 +01:00
cc6417b9bf
Fix a typo in xbps-bin/repo manpages.
Juan RP2009-11-17 17:43:09 +01:00
2b790a4c2f
xbps-bin: rename 'show-manual' target to 'list-manual', it's a better name IMHO :-)
Juan RP2009-11-09 02:59:19 +01:00
736fcbfdd0
xbps_api.h: bump XBPS_RELVER to 20091109.
Juan RP2009-11-09 02:45:03 +01:00
d379d1d44c
Implemented blueprint "essential-upgrades".
Juan RP2009-11-09 02:30:04 +01:00
795c2a58f5
Fix some issues while matching for required pkgdeps.
Juan RP2009-11-07 16:41:59 +01:00
79d3f446fe
xbps_fetch_file: return proper error if connection failed, fix SSP problem with fetchflags!
Juan RP2009-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 RP2009-11-07 04:56:20 +01:00
95b51ae72b
Fix launchpad bug #473249 "-lxbps not found because of wrong LDFLAGS"
Juan RP2009-11-05 22:55:27 +01:00
644d48a6f8
doc/TODO: remote repos are working.
Juan RP2009-11-01 07:34:52 +01:00