Juan RP
abb0d260b9
xbps-bin: the install target gains suppor for installing best pkg available.
2012-01-25 02:14:04 +01:00
Juan RP
11f94a4f46
xbps-bin: pretty output for 'check all'.
2012-01-25 01:17:18 +01:00
Juan RP
9becfc29d2
xbps-bin: fix pkgpattern to install new pkgs.
2012-01-24 20:48:54 +01:00
Juan RP
9a1f05ee89
xbps-bin: use "mutable" bool object to check for mutable files in pkg file list.
2012-01-24 18:47:43 +01:00
Juan RP
49baad48f4
Fixed module-init-tools->kmod update as reported by davehome.
...
The problem was that required package dependency was installed, but
the version didn't satisfy the requirement and the code unconditionally
assumed an updated existed in repository pool. Now the code checks
package state to set transaction reason.
2012-01-24 18:45:50 +01:00
Juan RP
ec764ffec8
xbps_transaction_package_replace: improved debug output.
2012-01-24 18:43:43 +01:00
Juan RP
fe1e8d14c8
xbps-repo: [genindex] print to stdout when obsolete entry is removed.
2012-01-24 09:47:40 +01:00
Juan RP
e8071802d1
xbps_api.h: fix xbps_handle::flags possible values.
2012-01-22 11:35:26 +01:00
Juan RP
791f1d40b2
xbps_handle: remove debug, install_*, syslog_enabled members.
...
Replaced by definitions that can be set to xbps_handle::flags.
2012-01-22 10:52:35 +01:00
Juan RP
c884634a62
xbps_api.h: fix some defs.
2012-01-22 10:24:37 +01:00
Juan RP
a166d6a2a3
Simplify xbps_transaction_prepare()/commit() and related API changes.
...
- xbps_handle::transd -> new member with transaction dictionary.
- xbps_transaction_prepare: returns an int.
- xbps_transaction_commit: doesn't need any arg now.
- xbps_repository_pool_sync: doesn't need any arg now.
- xbps_pkgdb_update: removed xbps_handle * arg.
- xbps_transaction_missingdeps_get: removed, missing_deps array is in
xbps_handle::transd("missing_deps") array object.
2012-01-22 10:00:46 +01:00
Juan RP
38db570c19
pkgdb: foreach_xxx_pkg_cb -> foreach_xxx_cb.
2012-01-21 10:30:20 +01:00
Juan RP
4758635f15
xbps_find_pkg_orphans: make returned array immutable.
2012-01-21 10:21:01 +01:00
Juan RP
1781231454
xbps_repository_pool_init: make registered index arrays immutable.
2012-01-21 10:20:45 +01:00
Juan RP
6417119aed
NEWS: mention pkgdb changes and 'xbps-uhelper updatepkgdb'.
2012-01-20 18:45:47 +01:00
Juan RP
0561d068d5
xbps-uhelper: new target 'updatepkgdb' to migrate to 0.12 pkgdb format.
2012-01-20 18:42:00 +01:00
Juan RP
8c8273d3ed
pkgdb: update copyright year, shorter conditional.
2012-01-20 18:37:08 +01:00
Juan RP
99f5549a29
xbps_pkgdb_replace_pkgd: fix bool vs int confusion in returned value.
2012-01-20 12:38:24 +01:00
Juan RP
3f9477417b
xbps_set_cb_xxx: simplify by using vars on the stack.
2012-01-20 12:29:14 +01:00
Juan RP
d075411049
Improve API documentation round 1.
2012-01-20 12:17:27 +01:00
Juan RP
6057bd83b3
Update pkgdb dot file with latest changes.
2012-01-20 11:16:07 +01:00
Juan RP
8d23ace0da
Rename lib/regpkgdb_dictionary.c to lib/pkgdb.c.
2012-01-20 11:12:53 +01:00
Juan RP
6940505de9
regpkgdb rototill: renamed to pkgdb, improve the public API.
2012-01-20 11:10:52 +01:00
Juan RP
9a088937b5
Repository index 1.4 -- see NEWS file for info.
2012-01-19 12:26:40 +01:00
Juan RP
9147488b19
configure: add --exec-prefix and fix pkgconfig file paths.
2012-01-18 11:28:55 +01:00
Juan RP
dfc7ff4232
API break: simplify xbps_repository_pool_find_virtualpkg().
2012-01-18 08:25:28 +01:00
Juan RP
454e164116
Makefile: clean up generated files by configure.
2012-01-18 08:23:10 +01:00
Juan RP
9ee50276e4
configure: added --pkgconfigdir option.
2012-01-17 17:34:36 +01:00
Juan RP
834344a1af
Install a pkgconfig file for libxbps.
2012-01-17 17:26:18 +01:00
Juan RP
d0e1477eeb
Simplify xbps_end() and don't continue if xbps_init() did not succeed.
2012-01-17 16:56:17 +01:00
Juan RP
f2b05d6438
Improved pkg best matching in rpool, and support for exact pkgver matches.
...
- xbps_repository_pool_find_pkg in best match case, now returns the
newest package version available in rpool.
- Added xbps_repository_pool_find_pkg_exact that returns a package
by exact matching a pkgver.
- Removed xbps_handle_alloc(), the user is free to use memory
allocated from heap or stack.
- Improved API documentation in preparation for 0.12.
Bumped XBPS_API_VERSION again.
2012-01-17 16:17:03 +01:00
Juan RP
da5e9f841f
xbps-repo: fixed removing multiple entries from index-files.plist.
2012-01-17 12:16:54 +01:00
Juan RP
4fdf675249
xbps-repo: index.c: oldpkgver might be undefined if entry is removed from index.
2012-01-17 11:25:45 +01:00
Juan RP
9906aa7029
xbps-repo: index-files.c: warning due to uninitialized var.
2012-01-17 10:55:28 +01:00
Juan RP
beb7284681
xbps-repo: faster 'genindex' target implementation for index-files.plist.
2012-01-17 10:50:35 +01:00
Juan RP
4164573b35
Added xbps_match_pkgdep_in_array() to match a pkgdep against pkgpatterns.
...
This fixes xbps_match_pkgpattern_in_array() which had the args swapped
in xbps_pkgpattern_match() resulting in inverted results while resolving
virtual packages in a transaction.
2012-01-16 15:50:06 +01:00
Juan RP
ffa48b2cf3
Fix xbps_configure_packages() by avoiding proplib iterators.
2012-01-16 14:41:16 +01:00
Juan RP
865d69e0eb
NEWS: typos.
2012-01-16 08:10:47 +01:00
Juan RP
233d9f4803
Do not treat repositories with trailing '/' chars as invalid.
2012-01-15 17:23:50 +01:00
Juan RP
95804bdb77
xbps-repo: simplify 'index-files.plist', externalized as an array.
2012-01-15 16:33:44 +01:00
Juan RP
2186e16a5e
Fixed issue 21 "xbps-repo find-files
is awfully slow" reported by ojab.
2012-01-15 14:24:44 +01:00
Juan RP
8780e15635
xbps-bin.8: typo, remove refs to purge flag.
2012-01-05 21:19:29 +01:00
Juan RP
0356afba6d
Bump copyright year for latest changes.
2012-01-05 16:17:37 +01:00
Juan RP
c83a77c1b5
Fixed issue 19 "xbps-src cannot fetch source with unknown Content-Length".
2012-01-05 12:26:57 +01:00
Juan RP
7d631c5d11
xbps-bin: fix check_pkg_integrity() pkg dictionary confusion.
2012-01-05 11:53:14 +01:00
Juan RP
ab6d4a19f1
xbps_configure_packages: fix flush arg confusion.
2012-01-04 17:59:49 +01:00
Juan RP
a7ef059673
Bump copyright year for changed files.
2012-01-04 17:56:52 +01:00
Juan RP
a31c20e52a
Make xbps_configure_pkg/packages accept a flush bool arg for frontends.
2012-01-04 17:41:36 +01:00
Juan RP
812005a7d9
libxbps: use vpkg if found in reqby_pkg_add.
2012-01-04 17:41:22 +01:00
Juan RP
e22ba9a972
xbps-bin: simplify and make 'check' target work after regpkgdb flush changes.
2011-12-29 16:43:52 +01:00