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
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
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
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
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
e22ba9a972
xbps-bin: simplify and make 'check' target work after regpkgdb flush changes.
2011-12-29 16:43:52 +01:00
Juan RP
3b7491d29b
Merged purge code in remove, configurable transaction regpkgdb flushing.
...
See the NEWS file for info.
2011-12-24 01:05:26 +01:00
Juan RP
32597d85c1
Use xbps_regpkgdb_foreach_pkg_cb() where needed.
2011-12-22 14:41:40 +01:00
Juan RP
7bfcdee791
Introduce xbps_regpkgdb_foreach_pkg_cb() and use it in xbps-bin check.
2011-12-22 14:25:27 +01:00
Juan RP
d4278be914
xbps-bin(8): the 'find-files' target now accepts multiple patterns.
2011-12-22 10:45:13 +01:00
Juan RP
13331f801c
xbps-repo: the 'search' target now accepts multiple patterns as arguments.
2011-12-22 09:33:54 +01:00
Juan RP
a5d9eb9853
xbps-bin: it's possible to reinstall any pkg with '-f' option.
2011-12-20 16:08:23 +01:00
Juan RP
6ad7289d68
Detect clock_gettime(2) and use (if available) for the fetch cb.
2011-12-19 16:41:57 +01:00
Juan RP
79fd316f8e
xbps-bin: formatting fixes for transaction printfs.
2011-12-18 01:10:24 +01:00
Juan RP
99f0b02e03
xbps-bin(8): fix typo.
2011-12-17 18:29:48 +01:00
Juan RP
fa80e01404
xbps-bin(8): rewritten manpage to mdoc(7) macro format.
2011-12-17 17:40:23 +01:00
Juan RP
b0ceeaa58e
New configuration file via confuse: xbps.conf.
2011-12-15 11:19:20 +01:00
Juan RP
3f45f563be
xbps-bin: syslog support, enabled by default.
2011-12-06 13:02:49 +01:00
Juan RP
43d85c76b3
xbps-repo: implement new target 'pkg-list' to list pkgs from target repo.
2011-12-03 10:37:31 +01:00
Juan RP
cb2e941b48
xbps-{bin,repo}: sync manpages.
2011-12-03 09:00:08 +01:00
Juan RP
8be527cbdf
xbps_fetch_file: set bytes downloaded correctly for the fetch client cb.
2011-12-01 12:21:13 +01:00
Juan RP
8f119a4076
xbps-bin: make symlinks check to report an error msg on failure.
2011-11-27 10:05:23 +01:00
Juan RP
3ffb44f6fe
xbps-bin: move remove code into transaction.c::remove_pkg().
2011-11-27 09:59:39 +01:00
Juan RP
6229e06a67
xbps-bin: fix a broken condition.
2011-11-27 09:29:13 +01:00
Juan RP
9d731ffe09
Introduce xbps_transaction_remove_pkg() and use it for xbps-bin(8).
2011-11-27 09:05:18 +01:00
Juan RP
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
Juan RP
bbfd2813b2
libxbps: renamed xbps_repository_{install,update}_xxx to xbps_transaction_xxx.
2011-11-25 10:12:03 +01:00
Juan RP
f3099fa2c6
Added success states for state_cb, move some descriptions to the client cb.
2011-11-25 09:44:49 +01:00
Juan RP
ab17573692
Split XBPS_FLAG_FORCE into CONFIGURE and REMOVE_FILES, bump XBPS_API_VERSION.
2011-11-24 11:50:53 +01:00
Juan RP
ab36420439
xbps-bin: process XBPS_STATE_TRANS cases too.
2011-11-24 11:33:04 +01:00
Juan RP
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
Juan RP
435aa84fb0
xbps-{bin,repo}: unbreak the 'show' target, sigh.
2011-11-15 10:21:12 +01:00
Juan RP
9157f7d148
xbps-bin: split main.c into new files: list.c show-orphans.c and unpack_cb.c.
2011-11-11 10:18:52 +01:00
Juan RP
029fd96690
xbps-bin: state_cb.c: initialize var to silence a warning.
2011-11-11 09:45:03 +01:00
Juan RP
86f1f18571
libxbps: revamped trans states/cb to be more generic, not just for transactions.
2011-11-11 09:41:48 +01:00
Juan RP
dc4f7af890
xbps-bin: remove useless printf in autoupdate target.
2011-11-11 00:39:47 +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
59dc65b907
Move prog.mk to the bin directory.
2011-11-08 17:45:14 +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
1031ea0141
xbps-bin: return proper error value if update target fails.
2011-10-31 21:28:21 +01:00
Juan RP
5731b7d070
xbps-bin: XBPS_TRANS_STATE_REPOSYNC printf tweak.
2011-10-29 10:21:31 +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