Commit Graph

973 Commits

Author SHA1 Message Date
Juan RP
dc4f7af890 xbps-bin: remove useless printf in autoupdate target. 2011-11-11 00:39:47 +01:00
Juan RP
a470e6a1af libxbps: xbps_repository_pool_sync: show proper error on dbg printf. 2011-11-11 00:31:56 +01:00
Juan RP
bcaaf60966 libxbps: xbps_repository_sync_pkg_index: set correct error in err cb. 2011-11-11 00:31:09 +01:00
Juan RP
756234e9c3 libxbps: xbps_fetch_error_string: return NULL on libfetch success. 2011-11-11 00:30:01 +01:00
Juan RP
bbd83767c6 libxbps: missing arg in printf format for xbps_pkg_index_plist. 2011-11-11 00:10:35 +01:00
Juan RP
94b6458415 libxbps: skip unfetched repos in xbps_repository_pool_init and simplify. 2011-11-11 00:07:26 +01:00
Juan RP
45d55698d8 libxbps: strip redundant dir separators returned by xbps_pkg_index_plist(). 2011-11-11 00:05:56 +01:00
Juan RP
ced906ff3f xbps-repo: renamed repository.c to show.c. 2011-11-10 23:31:46 +01:00
Juan RP
c2eed68471 libxbps: add xbps_repository_pool_sync, to sync repoidx from all remotes. 2011-11-10 23:14:50 +01:00
Juan RP
de4504c248 Update refs to pkg-index, which aren't true anymore. 2011-11-10 09:21:17 +01:00
Juan RP
e46dd09127 Faster binary package unpacking, see the NEWS file for info. 2011-11-09 21:01:25 +01:00
Juan RP
bffff1a00d libxbps: xbps_set_pkg_state_installed: create metadir with 0755 perms. 2011-11-09 16:36:11 +01:00
Juan RP
a426bad11d libxbps: xbps_mkpath: create intermediate dirs with 0755 permissions. 2011-11-09 11:17:42 +01:00
Juan RP
59dc65b907 Move prog.mk to the bin directory. 2011-11-08 17:45:14 +01:00
Juan RP
327527e304 NEWS: typo fix. 2011-11-07 20:32:05 +01:00
Juan RP
662b5acc08 Implemented "New repository scheme and configuration file" from issue 16. 2011-11-07 20:28:35 +01:00
Juan RP
27c5138324 xbps-bin: use xbps_fetch_error_string in reposync err cb. 2011-11-07 19:56:30 +01:00
Juan RP
1bca0f7a65 configure: remove -Wunused-macros and -fpic tests, clang does not like them. 2011-11-06 09:59:25 +01:00
Juan RP
fe3353a2b2 xbps-uhelper: optimize some targets where xbps_init() is not necessary. 2011-11-05 08:41:29 +01:00
Juan RP
7b251477e5 Bump XBPS_API_VERSION for recent changes. 2011-10-31 21:30:08 +01:00
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