-
d357dfed90
Inline some very common functions in the API.
Juan RP
2011-02-23 17:27:51 +01:00
-
8baad7b5da
Simplify setting pkg state in transaction's dictionary.
Juan RP
2011-02-23 17:14:33 +01:00
-
12cdc7c242
xbps-bin: remove the unpack callback with a percentage.
Juan RP
2011-02-22 16:33:54 +01:00
-
a306cebc96
xbps_set_pkg_state_installed: added two new optional arguments: version and pkgver.
Juan RP
2011-02-22 11:09:39 +01:00
-
9abcb92e39
xbps-bin::instal.c: some bugfixes for pkg state and the transaction steps.
Juan RP
2011-02-22 11:07:34 +01:00
-
15d164c70a
xbps_repository_{install,update}_pkg: respect pkg state in regpkgdb.
Juan RP
2011-02-22 10:31:16 +01:00
-
9e22df0725
xbps-bin: skip packages to be configured in the install/update stage, fix configured pkg count.
Juan RP
2011-02-21 23:28:39 +01:00
-
511dbffa9e
Simplify find_pkg_in_array().
Juan RP
2011-02-21 23:21:53 +01:00
-
c4db906a1f
xbps_api.h: fix some comments.
Juan RP
2011-02-21 18:00:44 +01:00
-
bdfa81c29d
package_unpack.c: fix a comment.
Juan RP
2011-02-21 17:57:46 +01:00
-
950853c72f
NEWS: tyopfix.
Juan RP
2011-02-21 17:47:01 +01:00
-
870ad18d58
xbps_init() now sets rootdir, cachedir and flags.
Juan RP
2011-02-21 17:42:47 +01:00
-
8d5a1ad0a3
xbps_api_impl.h: remove function name arguments in prototypes.
Juan RP
2011-02-21 14:04:57 +01:00
-
afe0f3e2f0
Make the xbps_handle struct const internally.
Juan RP
2011-02-21 14:03:08 +01:00
-
3acf91bb15
xbps-bin: unpack_progress_cb_verbose printf to stdout for consistency.
Juan RP
2011-02-21 13:53:08 +01:00
-
7ddd409b90
xbps_api.h: fix a comment.
Juan RP
2011-02-21 13:42:36 +01:00
-
22ae7aa2e8
Introduce struct xbps_handle and use it for xbps_init().
Juan RP
2011-02-21 13:38:44 +01:00
-
0bd533f8a9
TODO: another item for xbps-bin(8).
Juan RP
2011-02-19 19:23:13 +01:00
-
078f9f1cda
Fixed finally another real case when updating and replacing pkgs.
Juan RP
2011-02-18 16:39:42 +01:00
-
8b58b88a5f
xbps_repository_{install,update}_pkg: fixed a stupid logic error.
Juan RP
2011-02-18 16:37:16 +01:00
-
1c4acebc49
Added a TODO file with some items.
Juan RP
2011-02-17 09:51:44 +01:00
-
5d016c53ff
NEWS: mention latest bugfix.
Juan RP
2011-02-17 09:26:43 +01:00
-
032f993a53
xbps_repository_pool_init: do not fail to internalize all repos when the first one fails.
Juan RP
2011-02-17 09:24:57 +01:00
-
b90c815e80
Minor nits to the xbps-{bin,repo}.8 manpages.
Juan RP
2011-02-05 17:32:14 +01:00
-
5af934cd5a
Update the pkgprops graph to match latest code.
Juan RP
2011-02-05 12:39:55 +01:00
-
b70eb0f4c5
Transform PROJECT_NUMBER in the doxyfile.
Juan RP
2011-02-05 12:34:45 +01:00
-
b66b72cc63
Update the graph for the XBPS transaction dictionary.
Juan RP
2011-02-05 12:33:54 +01:00
-
d5c2a3266f
Rename the transaction object key to "transaction" rater than "trans-action".
Juan RP
2011-02-05 12:21:04 +01:00
-
8803bfd7d8
Move plist find/remove functions into its own files.
Juan RP
2011-02-05 12:06:03 +01:00
-
f4cdbaf17d
Move xbps_read_dict_from_archive_entry() and friends into its own file.
Juan RP
2011-02-05 11:57:13 +01:00
-
14d3fe8aa7
xbps-bin: shorter informative messages for transactions.
Juan RP
2011-02-05 11:47:02 +01:00
-
2e140cde7b
xbps-bin.8: fix typo.
Juan RP
2011-02-05 11:29:18 +01:00
-
de296d8192
Added the concept of package properties in the API.
Juan RP
2011-02-05 11:25:04 +01:00
-
d25bc35711
xbps-bin::show_pkg_info() remove useless prop_object_type_t member.
Juan RP
2011-02-04 18:00:47 +01:00
-
40cf7bad32
xbps-repo: call xbps_end() in usage() before exit(3).
Juan RP
2011-02-04 16:24:22 +01:00
-
ec7549fa04
xbps_sort_pkg_deps: change an assertion into a real check.
Juan RP
2011-02-04 16:17:47 +01:00
-
097b50b3c2
Fix all warnings found by clang analyzer as reported by ojab in issue 3.
Juan RP
2011-02-03 17:49:43 +01:00
-
0a26497b50
xbps_repository_update_allpkgs: return ENOENT if regpkgdb dict cannot be internalized.
Juan RP
2011-02-03 09:34:38 +01:00
-
692caea1cd
xbps_get_pkg_state_*: if state object is not available return EINVAL.
Juan RP
2011-02-02 09:53:56 +01:00
-
927d7e0c5d
xbps_repository_find_pkg_deps: improve a debug printf.
Juan RP
2011-02-01 17:32:25 +01:00
-
0e38b649ff
xbps_get_pkg_state_installed: if pkg dictionary is not found return ENOENT.
Juan RP
2011-02-01 17:30:59 +01:00
-
fdc496e8f1
Added xbps_repository_pkg_replaces() to handle pkg "replaces" in the transaction.
Juan RP
2011-02-01 01:21:54 +01:00
-
7b159d6f33
xbps-dgraph: parse the "provides" obj for virtual packages.
Juan RP
2011-01-31 16:40:33 +01:00
-
da607becf9
Make some xbps_warn_printf dependent of XBPS_FLAG_VERBOSE.
Juan RP
2011-01-30 18:38:16 +01:00
-
5c7eaf2f92
xbps_warn_printf: fix previous and remove unused var.
Juan RP
2011-01-30 18:32:15 +01:00
-
42eb834e8d
xbps_warn_printf: always print regardless of XBPS_FLAG_VERBOSE.
Juan RP
2011-01-30 18:31:36 +01:00
-
fca3d6b9bf
Use xbps_{error,warn}_printf() everywhere.
Juan RP
2011-01-30 18:23:33 +01:00
-
e04f167d09
xbps_repository_pool_foreach: use SIMPLEQ_FOREACH_SAFE.
Juan RP
2011-01-30 15:09:18 +01:00
-
ec15af17a0
Update queue.h with latest NetBSD's version.
Juan RP
2011-01-30 15:08:57 +01:00
-
bdd48de67d
xbps_sort_pkg_deps: use TAILQ_FOREACH_SAFE.
Juan RP
2011-01-30 14:42:17 +01:00
-
2492d98d13
xbps_purge_pkg: chdir to rootdir, check that REMOVE file exists and is executable.
Juan RP
2011-01-30 12:49:55 +01:00
-
243685507a
xbps-bin: some cosmetic informative printfs.
Juan RP
2011-01-30 12:40:16 +01:00
-
89faf75db4
xbps-bin/remove.c: fix some comments.
Juan RP
2011-01-30 12:12:49 +01:00
-
b6b3bd799b
xbps_purge_pkg: execute the "purge" action in REMOVE script (if found).
Juan RP
2011-01-30 11:32:46 +01:00
-
f27b7557bc
xbps-bin: there's no need to add objs in inverted order for -R.
Juan RP
2011-01-30 08:22:58 +01:00
-
cb4e2199f3
NEWS: expand latest entry.
Juan RP
2011-01-30 08:16:36 +01:00
-
7da33469cc
xbps-bin(8): added -R option to recursively remove pkgs that were instaled automatically.
Juan RP
2011-01-30 08:08:34 +01:00
-
bb897da7b4
Fix an assertion.
Juan RP
2011-01-30 00:14:29 +01:00
-
de034c28f5
xbps_find_pkg_orphans: simplify even more.
Juan RP
2011-01-29 18:34:50 +01:00
-
5bbbb3c8fd
xbps_find_pkg_in_*: search for virtual pkg before the real one.
Juan RP
2011-01-29 17:57:01 +01:00
-
7c8a89c968
xbps-repo(8): fix wrong sentence.
Juan RP
2011-01-29 17:48:13 +01:00
-
4a20272afa
NEWS: mention another change made for xbps-bin(8).
Juan RP
2011-01-29 17:19:45 +01:00
-
0277d5b103
Bump XBPS_RELVER for today's changes.
Juan RP
2011-01-29 17:16:25 +01:00
-
8d6eab5ac1
xbps_remove_obsoletes: make xbps_printf conditionalized with XBPS_FLAG_VERBOSE.
Juan RP
2011-01-29 16:26:17 +01:00
-
36c7cc3bec
LICENSE: update copyright year.
Juan RP
2011-01-29 12:46:40 +01:00
-
d7bafff252
xbps_requiredby_pkg_{add,remove}: simplify and make them aware of virtual pkgs.
Juan RP
2011-01-29 12:29:30 +01:00
-
241751f1b7
Added three new helper functions to the API.
Juan RP
2011-01-29 12:28:23 +01:00
-
298305c1d5
Make some xbps_printf()s conditioned on XBPS_FLAG_VERBOSE.
Juan RP
2011-01-29 01:55:52 +01:00
-
463d182c49
When sorting packages also look for virtual packages.
Juan RP
2011-01-28 20:56:28 +01:00
-
76a641794b
NEWS: note that dependency sorting is now 60% faster than 0.7.3.
Juan RP
2011-01-28 19:56:43 +01:00
-
6e26332a2e
A really faster dependency sorting algorithm, 60% faster approx!
Juan RP
2011-01-28 19:47:05 +01:00
-
03b1b254cc
xbps-bin::check.c: reset a var to avoid false positives.
Juan RP
2011-01-28 12:18:17 +01:00
-
af5d3a0653
xbps_repository_find_pkg_deps: do not recurse more than MAX_DEPTH times, return ELOOP.
Juan RP
2011-01-28 12:12:47 +01:00
-
f7f3cfcb9c
Performance improvements for xbps_find_pkg_in_dict_by_* and xbps_find_*_in_array().
Juan RP
2011-01-28 12:11:43 +01:00
-
4438fd1183
xbps_repository_find_pkg_deps: simplify even more and remove dead code.
Juan RP
2011-01-27 21:54:55 +01:00
-
bebad82316
repository_finddeps.c: remove useless code.
Juan RP
2011-01-27 21:12:42 +01:00
-
c58107bd27
xbps_repository_find_pkg_deps: fix stupid error by reusing a var.
Juan RP
2011-01-27 21:02:56 +01:00
-
176f5e3e40
xbps_sort_pkg_deps: use xbps_check_is_installed_pkg_by_name().
Juan RP
2011-01-27 20:54:23 +01:00
-
1cc45ee20f
Fix two asserts.
Juan RP
2011-01-27 20:47:34 +01:00
-
8a7bfe6cda
xbps_repository_find_pkg_deps: simplify and handle an error case.
Juan RP
2011-01-27 18:23:32 +01:00
-
faad0a6597
Make xbps_remove_pkg_from_* use shared code, and add another variant.
Juan RP
2011-01-27 18:22:57 +01:00
-
93e1a0a22c
Performance improvements for xbps_find_pkg_in_dict_by_{name,pattern} with virtual pkgs.
Juan RP
2011-01-27 15:50:50 +01:00
-
080334da8b
xbps-bin: make 'list' target without arguments to only show pkgs in "installed" state.
Juan RP
2011-01-27 14:45:40 +01:00
-
255f229a78
xbps-bin.8: fix a typo.
Juan RP
2011-01-27 14:44:39 +01:00
-
c952337fd4
xbps-bin(8): added -D option to only show the URL to download binary packages.
Juan RP
2011-01-27 14:36:33 +01:00
-
1c21a98545
Rename some symbols in repository_plist.c.
Juan RP
2011-01-27 13:53:33 +01:00
-
3ec5e27f8d
Update doxygen's doxyfile for the API, add the XBPS logo.
Juan RP
2011-01-27 13:28:06 +01:00
-
e4259c2889
xbps_api.h: fix xbps_register_pkg() doc.
Juan RP
2011-01-27 13:27:26 +01:00
-
6e8e5b830e
repository_register.c: fix doxygen @file mark.
Juan RP
2011-01-27 12:44:32 +01:00
-
69512d4da7
Rename xbps_find_pkg_from_plist to xbps_find_pkg_dict_from_plist_by_name.
Juan RP
2011-01-27 12:41:49 +01:00
-
26701d3bf3
Rename a few symbols for clarity.
Juan RP
2011-01-27 12:34:13 +01:00
-
628a6cebf7
Rename xbps_find_orphan_packages() to xbps_find_pkg_orphans().
Juan RP
2011-01-27 12:19:05 +01:00
-
41341af135
Shared code for xbps_find_{string,pkgname,pkgpattern}_in_array().
Juan RP
2011-01-27 03:05:22 +01:00
-
22d67bcfb9
Improve comments for dependency sorting.
Juan RP
2011-01-26 18:57:29 +01:00
-
9797030306
xbps_register_pkg: also copy the provides object for virtual packages.
Juan RP
2011-01-26 18:42:28 +01:00
-
4b3b50c6ef
xbps_check_is_installed_pkg: simplify.
Juan RP
2011-01-26 18:41:57 +01:00
-
f06a605854
Implemented support for virtual packages.
Juan RP
2011-01-26 18:05:43 +01:00
-
bc259ae720
xbps-{bin,repo}: use static const tables to parse objs in XBPS_PKGPROPS files.
Juan RP
2011-01-26 16:34:26 +01:00
-
ac6fe51340
xbps_repository_find_pkg_deps: some performance optimizations.
Juan RP
2011-01-25 18:09:27 +01:00
-
563b6446f4
xbps_repository_pool_find_pkg: remove a debug printf that bothers me.
Juan RP
2011-01-25 17:52:59 +01:00