Juan RP
e472fc1334
xbps_repository_pool_find_pkg: return ENODEV in bestpkg case if pkg not installed.
2011-10-31 21:29:37 +01:00
Juan RP
5aca09b5f5
xbps_repository_update_pkg: return ENODEV if pkg is not installed.
2011-10-31 21:29:00 +01:00
Juan RP
1031ea0141
xbps-bin: return proper error value if update target fails.
2011-10-31 21:28:21 +01:00
Juan RP
cf1b893995
libxbps: there's no need to look for vpkgs in xbps_repository_update_*().
2011-10-31 21:01:53 +01:00
Juan RP
b8c804e891
Check for obj validity with prop_object_type(), use xbps_pkg_has_rundeps().
2011-10-31 09:48:46 +01:00
Juan RP
f35e1eff42
libxbps: improve debugging messages while looking for pkgs in repos.
2011-10-30 16:41:39 +01:00
Juan RP
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
Juan RP
b09bd9740d
TODO: new entry for xbps-repo(8).
2011-10-30 11:49:10 +01:00
Juan RP
eb7ba3dd18
TODO: sync with reality.
2011-10-30 11:47:35 +01:00
Juan RP
2a8b74484e
libxbps: improve xbps_purge_pkg() in case that metadata dir doesn't exist.
2011-10-30 11:12:03 +01:00
Juan RP
858e616f41
libxbps: preserve config file if they exist for replaced pkgs.
2011-10-30 10:32:56 +01:00
Juan RP
07d47ab09a
libxbps: xbps_dictionary_from_metadata_plist: respect pkgname arg.
2011-10-30 08:01:25 +01:00
Juan RP
39e8ada644
xbps-repo: simplify code in repository.c.
2011-10-29 11:24:02 +02:00
Juan RP
5731b7d070
xbps-bin: XBPS_TRANS_STATE_REPOSYNC printf tweak.
2011-10-29 10:21:31 +02:00
Juan RP
70dd86e2df
libxbps: more dbg printf love.
2011-10-29 09:55:09 +02:00
Juan RP
85c58e77c2
libxbps: rpool printf tweaks.
2011-10-29 09:45:51 +02:00
Juan RP
1c4d486396
xbps-{bin,repo}: new -o flag for the 'show' target, to print specific objs value.
2011-10-29 08:17:54 +02:00
Juan RP
549b5e2e36
xbps-{bin,repo}: dynamically print all objs in the 'show-files' target.
2011-10-28 23:02:07 +02:00
Juan RP
c5fcaa294d
xbps-{bin,repo}: dynamically print all objs in the 'show' target.
2011-10-28 18:17:19 +02:00
Juan RP
238c9d9926
xbps-bin: (check) initialize vars to avoid a gcc warning.
2011-10-28 09:35:34 +02:00
Juan RP
dbd5e05280
Make sure that downloaded pkg-index.plist is really a plist file.
2011-10-28 09:29:37 +02:00
Juan RP
8bc705ea63
xbps-bin(8): (check) new test to fix missing requiredby entries in regpkgdb.
2011-10-28 00:57:16 +02:00
Juan RP
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
Juan RP
f87b40eb76
xbps-bin(8): split individual checks from check.c into its own files.
...
This is in preparation for new upcoming checks.
2011-10-27 17:08:48 +02:00
Juan RP
2ff2d1f68a
xbps-bin(8): 'check' target now works with virtual packages.
2011-10-27 11:02:55 +02:00
Juan RP
43ab2ec083
libxbps: fixed a bug with virtualpkgs as dependencies in a transaction.
2011-10-27 10:54:28 +02:00
Juan RP
5fcb8fbab2
NEWS: time to release 0.10.1.
2011-10-26 16:28:45 +02:00
Juan RP
94591775d5
libxbps: fixed multiple free(3) calls via closedir(3) in virtualpkg init in error paths.
2011-10-26 16:16:09 +02:00
Juan RP
807045d1d5
xbps-bin(8): make 'remove' target also follow common style to list pkgs.
2011-10-25 17:52:05 +02:00
Juan RP
1f0b61742d
NEWS: mention recent change to xbps-bin(8) remove.
2011-10-24 10:27:46 +02:00
Juan RP
746d9894c2
xbps-bin(8): remove specified pkgs first in recursive case.
...
Previously the specified pkg(s) were added at the tail of the
array, which was wrong. Add pkg(s) to the head of the array so that:
$ xbps-bin -Rp remove foo blah
foo and blah will be removed before any of its automatic dependecies.
2011-10-24 10:23:07 +02:00
Juan RP
4f8e6c00af
xbps-bin: install: use a shell wildcard pattern if only pkgname is set.
2011-10-24 10:03:54 +02:00
Juan RP
c6636d1b79
libxbps: xbps_pkgpattern_xxx extend set of chars to be detected.
2011-10-24 10:03:45 +02:00
Juan RP
7716fa15de
libxbps: xbps_repository_find_pkg_xxx added a debug printf.
2011-10-24 10:01:27 +02:00
Juan RP
90d1d7205c
NEWS: mention new changes.
2011-10-24 09:35:03 +02:00
Juan RP
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
Juan RP
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
Juan RP
7a6676f64d
3RDPARTY: sync with reality.
2011-10-24 09:13:05 +02:00
Juan RP
ca8e8accc4
Move external code used by libxbps into lib/external.
2011-10-24 09:05:16 +02:00
Juan RP
ecb2280fc0
NEWS: prepare to release 0.10.0.
2011-10-21 10:15:47 +02:00
Juan RP
8eaec3e4bb
NEWS: mention that issue 11 has been fixed for 0.10.
2011-10-20 16:18:02 +02:00
Juan RP
5ade2f37c7
libxbps: xbps_configure_pkg: ignore pkgs in config-files state.
2011-10-20 16:13:16 +02:00
Juan RP
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
Juan RP
eae6bf8ab4
libxbps: when sorting deps, add removed pkgs to head.
2011-10-20 13:10:39 +02:00
Juan RP
9fb3c38aa2
Extend assertions by checking passed in proplib type.
2011-10-19 16:53:38 +02:00
Juan RP
a80df68b15
libxbps: simplify xbps_transaction_commit().
2011-10-19 16:25:49 +02:00
Juan RP
bda1feb396
xbps-bin: more printf cosmetics for the install target.
2011-10-19 16:25:06 +02:00
Juan RP
40d15fd342
xbps-bin(8): the 'check' target now switches to auto mode if required.
2011-10-19 09:44:18 +02:00
Juan RP
0a041cdd2e
libxbps: new func xbps_array_replace_dict_by_name(array, dict, pkgname)
...
This function replaces a dictionary in an array matched by pkgname,
with the dictionary passed in as 2nd argument.
2011-10-19 00:37:36 +02:00
Juan RP
8fa21753b1
xbps-bin: printf cosmetics for the install target.
2011-10-18 21:40:26 +02:00