Commit Graph

1041 Commits

Author SHA1 Message Date
Juan RP
fa7bee1164 xbps-repo: [pkg-list] do not print repo url if index is specified. 2012-05-29 16:17:48 +02:00
Juan RP
f7f4e0bec0 Extend 'soft replace' and also remove obsolete files. 2012-05-25 22:44:58 +02:00
Juan RP
da9b6774c3 Fix previous: propagate "softreplace" obj to pkg being replaced. 2012-05-25 17:58:36 +02:00
Juan RP
6a4de0127d libxbps: introduce the concept of "soft replace"; see the NEWS file. 2012-05-25 17:24:36 +02:00
Juan RP
d075f7182a When removing pkg files, remove only dangling symlinks after regular files.
This is required for the upcoming eglibc package.
2012-05-25 14:31:42 +02:00
Juan RP
a14886ab48 xbps-bin: fix swapped args in check_pkg_symlinks. 2012-05-25 14:28:12 +02:00
Juan RP
b54eb6920a README: fix confuse url. 2012-05-22 13:06:04 +02:00
Juan RP
9acec7883b xbps_remove_pkg: do not error out if files.plist not found, just continue. 2012-05-21 23:03:29 +02:00
Juan RP
30932b3c55 xbps-uhelper: fixed 'register' target (regression added in recent commits). 2012-05-15 08:56:30 +02:00
Juan RP
52cdec886c NEWS: grammar fixes. 2012-05-08 11:56:37 +02:00
Juan RP
bedb8b568b NEWS: mention recent changes to xbps-bin(8). 2012-05-08 11:49:50 +02:00
Juan RP
5fabb34a1f xbps-bin(8): keep auto{remove,update} targets for compatibility. 2012-05-08 10:09:01 +02:00
Juan RP
c3f0bec3bd NEWS: typo. 2012-05-08 10:00:45 +02:00
Juan RP
e0fc55c389 xbps-bin(8): renamed autoremove target to remove-orphans. 2012-05-08 09:58:56 +02:00
Juan RP
758cd4fd11 xbps-bin(8): renamed autoupdate target to dist-upgrade. 2012-05-08 09:54:06 +02:00
Juan RP
28767f2ea8 Added support to put packages "on hold". 2012-05-08 09:19:43 +02:00
Juan RP
b7961ae611 xbps-bin: print current/total pkgs counter in 'check all' target. 2012-05-07 12:33:50 +02:00
Juan RP
5e0b06dc00 xbps-bin: improve def unpack cb to print more meaningful messages. 2012-05-06 16:48:47 +02:00
Juan RP
b4f202f89f xbps-bin/util.c: find out terminal columns and use it to print transaction. 2012-05-06 16:47:30 +02:00
Juan RP
b53795e095 fetch_cb: clear until EOL when displaying final stats. 2012-05-06 10:09:23 +02:00
Juan RP
391bb3daf2 fetch_cb: simplify and improve output. 2012-05-06 10:05:35 +02:00
Juan RP
bbd0d893d0 xbps_repository_sync_index: print the plist file being downloaded in cb. 2012-05-06 09:10:25 +02:00
Juan RP
8a4b143bf3 Show a proper error message if download of a binpkg fails in a transaction. 2012-05-06 09:09:09 +02:00
Juan RP
8c8f6d32f1 TODO: 'xbps-repo clean' has been implemented. 2012-05-06 08:38:09 +02:00
Juan RP
f7c49a706c xbps-repo(8): new target 'clean': removes obsolete binpkgs from cachedir. 2012-05-05 10:07:47 +02:00
Juan RP
0dd5d970fe TODO: two items in libxbps expected in 0.16. 2012-04-19 10:30:26 +02:00
Juan RP
53c7f9effe xbps-bin: fixed regression in 'show-deps' target. 2012-04-16 16:42:03 +02:00
Juan RP
934bc4869e rpool: make xbps_handle::repo_pool array immutable after initialization. 2012-04-13 10:06:08 +02:00
Juan RP
8b2c4ed47e xbps_dictionary_from_metadata_plist: if vpkg not found, look for a real pkg. 2012-04-13 09:23:35 +02:00
Juan RP
93c5536e36 xbps-{bin,repo}: remove dead code. 2012-04-12 13:05:13 +02:00
Juan RP
83bda174ab libxbps: make xbps_find_virtualpkg_* only look for virtual pkgs.
Before this commit they also looked for non virtual packages, which
is not what it was meant when those functions were added.
2012-04-12 11:57:21 +02:00
Juan RP
53d28fcb35 rpool: miscellaneous improvements to _init() and _release().
xbps_repository_pool_init:
 - Avoid unnecessary extra access(2) syscall when internalizing
   repository index plist files.
xbps_repository_pool_release:
 - Make sure to release internalized repository index arrays.
2012-04-12 11:54:11 +02:00
Juan RP
bfe7ab1c5a xbps_configure_pkg: simplify and remove "version" arg (API change).
The "version" argument (being optional) clearly is not needed and it
can be fully removed. This simplifies the internal implementation as well
as the API.
2012-04-10 10:02:27 +02:00
Juan RP
ef6d1adf91 xbps_set_pkg_state_installed: simplify (API change).
The third optional argument "pkgver" clearly is useless because we can
create it internally with "pkgname" and "version" arguments instead.

Also make the "version" argument mandatory.
2012-04-10 09:43:59 +02:00
Juan RP
341ab01219 NEWS: prepare for 0.15. 2012-04-06 09:43:14 +02:00
Juan RP
00148c40b0 xbps-bin(8): extended 'requiredby' check to find and remove stale entries. 2012-04-05 10:58:52 +02:00
Juan RP
732ce45b86 libxbps: new function xbps_pkgdb_get_pkgd_by_pkgver().
Finds a pkg dictionary in pkgdb by matching its pkgver object.
2012-04-05 10:57:15 +02:00
Juan RP
feacc506de When reinstalling existing pkgs, remove previous entry in pkgdb's requiredby. 2012-04-04 10:20:29 +02:00
Juan RP
4511e581b2 xbps_configure_pkg: improve error messages. 2012-03-31 10:08:52 +02:00
Juan RP
8e0612bb46 A bugfix while sorting dependencies in a transaction (thanks dave). 2012-03-30 01:39:13 +02:00
Juan RP
a5f4848d0b Use best pkg available when resolving required dependencies. 2012-03-28 12:01:59 +02:00
Juan RP
af593500c3 Fix a couple of issues resolving deps with virtual packages. 2012-03-24 09:21:28 +01:00
Juan RP
e698acf440 Make xbps_find_virtualpkg_conf_xxx private again, unused in test suite now. 2012-03-13 11:37:50 +01:00
Juan RP
eea183bef4 Remove plist_find_virtualpkg_conf tests, supersed by find_pkg. 2012-03-13 11:34:45 +01:00
Juan RP
9bada162a1 New "metadir" member in xbps_handle to override default metadata dir. 2012-03-13 10:22:35 +01:00
Juan RP
749e03aa29 Make xbps_find_virtualpkg_conf_in_xxx_by_xxx part of the API and add kyua tests. 2012-03-12 17:51:50 +01:00
Juan RP
715990a1e5 Make xbps_find_virtualpkg_in_dict_by_xxx part of the API and add kyua tests. 2012-03-12 16:36:46 +01:00
Juan RP
d4c01be9f9 README: improve. 2012-03-12 15:39:53 +01:00
Juan RP
35db47eafd tests: drop trailing whitespaces. 2012-03-12 15:35:53 +01:00
Juan RP
934daf8ac7 NEWS: mention Kyua test suite. 2012-03-12 15:32:13 +01:00