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
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
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
c0f81bd482
xbps-uhelper: use xbps_(un)register_pkg() again.
2011-12-28 05:58:03 +01:00
Juan RP
11ca929985
xbps-uhelper: fix 'fetch' target exiting with error value.
2011-12-24 16:56:45 +01:00
Juan RP
9fa2804763
xbps-uhelper: really fix this time after regpkgdb rototill.
2011-12-24 16:37:42 +01:00
Juan RP
5a1ab26972
Introduce xbps_regpkgdb_remove_pkgd, and use regpkgdb funcs to make xbps-uhelper work.
2011-12-24 16:09:30 +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
939e2c2417
xbps-bin(8): fix 'find-files' syntax in manpage.
2011-12-22 11:07:54 +01:00
Juan RP
47237846ae
xbps-repo(8): the 'find-files' target now accepts multiple patterns.
2011-12-22 11:01:28 +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
a1f39a0a82
xbps-repo(8): rewriten manpage to mdoc(7) macro format.
2011-12-17 18:30:13 +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
afde2a6653
xbps-repo: move list/search code into its own file: list.c.
2011-12-03 10:46:57 +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