b0ceeaa58e
New configuration file via confuse: xbps.conf.
2011-12-15 11:19:20 +01:00
3f45f563be
xbps-bin: syslog support, enabled by default.
2011-12-06 13:02:49 +01:00
43d85c76b3
xbps-repo: implement new target 'pkg-list' to list pkgs from target repo.
2011-12-03 10:37:31 +01:00
8be527cbdf
xbps_fetch_file: set bytes downloaded correctly for the fetch client cb.
2011-12-01 12:21:13 +01:00
e7562fa72d
libxbps: make xbps_find_*pkg_dict_installed only accept {INSTALL,UNPACK}ED states as valid ones.
2011-11-30 11:11:15 +01:00
9d731ffe09
Introduce xbps_transaction_remove_pkg() and use it for xbps-bin(8).
2011-11-27 09:05:18 +01:00
dcac4ec153
xbps_remove_pkg: only issue XBPS_STATE_REMOVE in no update case.
2011-11-25 15:08:33 +01:00
0ff0aee226
libxbps: added xbps_transaction_autoremove_pkgs(bool purge).
...
This is to add package orphans into the transaction dictionary.
2011-11-25 11:20:03 +01:00
bbfd2813b2
libxbps: renamed xbps_repository_{install,update}_xxx to xbps_transaction_xxx.
2011-11-25 10:12:03 +01:00
f3099fa2c6
Added success states for state_cb, move some descriptions to the client cb.
2011-11-25 09:44:49 +01:00
196b26035a
Zero out cb structs completely.
2011-11-25 08:22:20 +01:00
ab17573692
Split XBPS_FLAG_FORCE into CONFIGURE and REMOVE_FILES, bump XBPS_API_VERSION.
2011-11-24 11:50:53 +01:00
3ccfec7054
Improved callback/states support to make libxbps std{err,out} printf free.
...
This is a major API/ABI change, documentation has been updated accordingly.
2011-11-24 11:23:08 +01:00
c0ecb93410
libxbps: always force pkgpattern match in virtualpkgs from conf.
2011-11-17 12:59:36 +01:00
19664f624a
libxbps: return success when requiredby entry already exists.
2011-11-17 12:57:43 +01:00
86f1f18571
libxbps: revamped trans states/cb to be more generic, not just for transactions.
2011-11-11 09:41:48 +01:00
a470e6a1af
libxbps: xbps_repository_pool_sync: show proper error on dbg printf.
2011-11-11 00:31:56 +01:00
bcaaf60966
libxbps: xbps_repository_sync_pkg_index: set correct error in err cb.
2011-11-11 00:31:09 +01:00
756234e9c3
libxbps: xbps_fetch_error_string: return NULL on libfetch success.
2011-11-11 00:30:01 +01:00
bbd83767c6
libxbps: missing arg in printf format for xbps_pkg_index_plist.
2011-11-11 00:10:35 +01:00
94b6458415
libxbps: skip unfetched repos in xbps_repository_pool_init and simplify.
2011-11-11 00:07:26 +01:00
45d55698d8
libxbps: strip redundant dir separators returned by xbps_pkg_index_plist().
2011-11-11 00:05:56 +01:00
c2eed68471
libxbps: add xbps_repository_pool_sync, to sync repoidx from all remotes.
2011-11-10 23:14:50 +01:00
de4504c248
Update refs to pkg-index, which aren't true anymore.
2011-11-10 09:21:17 +01:00
e46dd09127
Faster binary package unpacking, see the NEWS file for info.
2011-11-09 21:01:25 +01:00
bffff1a00d
libxbps: xbps_set_pkg_state_installed: create metadir with 0755 perms.
2011-11-09 16:36:11 +01:00
a426bad11d
libxbps: xbps_mkpath: create intermediate dirs with 0755 permissions.
2011-11-09 11:17:42 +01:00
662b5acc08
Implemented "New repository scheme and configuration file" from issue 16.
2011-11-07 20:28:35 +01:00
e472fc1334
xbps_repository_pool_find_pkg: return ENODEV in bestpkg case if pkg not installed.
2011-10-31 21:29:37 +01:00
5aca09b5f5
xbps_repository_update_pkg: return ENODEV if pkg is not installed.
2011-10-31 21:29:00 +01:00
cf1b893995
libxbps: there's no need to look for vpkgs in xbps_repository_update_*().
2011-10-31 21:01:53 +01:00
b8c804e891
Check for obj validity with prop_object_type(), use xbps_pkg_has_rundeps().
2011-10-31 09:48:46 +01:00
f35e1eff42
libxbps: improve debugging messages while looking for pkgs in repos.
2011-10-30 16:41:39 +01:00
c5d6ccde46
libxbps: make check_is_installed_pkg_* use only find_virtualpkg_dict_installed.
...
xbps_find_virtualpkg_dict_installed() also finds real packages, so there's no
need to use both in xbps_check_is_installed_pkg_by_{name,pattern}.
Bump XBPS_API_VERSION.
2011-10-30 16:24:56 +01:00
2a8b74484e
libxbps: improve xbps_purge_pkg() in case that metadata dir doesn't exist.
2011-10-30 11:12:03 +01:00
858e616f41
libxbps: preserve config file if they exist for replaced pkgs.
2011-10-30 10:32:56 +01:00
07d47ab09a
libxbps: xbps_dictionary_from_metadata_plist: respect pkgname arg.
2011-10-30 08:01:25 +01:00
70dd86e2df
libxbps: more dbg printf love.
2011-10-29 09:55:09 +02:00
85c58e77c2
libxbps: rpool printf tweaks.
2011-10-29 09:45:51 +02:00
dbd5e05280
Make sure that downloaded pkg-index.plist is really a plist file.
2011-10-28 09:29:37 +02:00
9034df9bc2
libxbps: added xbps_match_any_virtualpkg_in_rundeps(array rundeps, array provides).
...
Matches any pkgdep from provides array in the rundeps array with
pkgpatterns. True on match, false otherwise.
2011-10-27 18:48:59 +02:00
43ab2ec083
libxbps: fixed a bug with virtualpkgs as dependencies in a transaction.
2011-10-27 10:54:28 +02:00
94591775d5
libxbps: fixed multiple free(3) calls via closedir(3) in virtualpkg init in error paths.
2011-10-26 16:16:09 +02:00
c6636d1b79
libxbps: xbps_pkgpattern_xxx extend set of chars to be detected.
2011-10-24 10:03:45 +02:00
7716fa15de
libxbps: xbps_repository_find_pkg_xxx added a debug printf.
2011-10-24 10:01:27 +02:00
9281e9625f
libxbps: xbps_pkgpattern_{name,version}: match for dewey and glob patterns.
...
The match code used by libxbps now will only match for dewey patterns
and glob patterns (fnmatch).
Bumped XBPS_API_VERSION due to changed behaviour.
2011-10-24 09:28:43 +02:00
4afaac4179
libxbps: remove csh alternate match code.
...
This code won't be used in XBPS and only slowdowns
xbps_pkgpattern_match().
2011-10-24 09:27:15 +02:00
ca8e8accc4
Move external code used by libxbps into lib/external.
2011-10-24 09:05:16 +02:00
5ade2f37c7
libxbps: xbps_configure_pkg: ignore pkgs in config-files state.
2011-10-20 16:13:16 +02:00
51b45a0d08
libxbps: improve code to match replaced package patterns.
...
The replaces code now checks all package dictionaries in the
transaction dictionary, and the sorting algorithm will put packages
to be removed at the head of the tailq.
This should fix issue 11 in googlecode.
2011-10-20 14:39:58 +02:00