Juan RP
cc068b2b39
xbps-query: do not sync repo index-files; use xbps-install -S instead.
2013-01-31 10:44:27 +01:00
Juan RP
130649bad9
xbps-query/list.c: remove obsolete code.
2013-01-24 09:37:58 +01:00
Juan RP
cf1c42a109
xbps-query.8: improve desc for -o and -s.
2012-12-20 07:17:16 +01:00
Juan RP
a12b1b671b
xbps-query.8: explain pkg states for the -l option.
2012-12-20 07:11:05 +01:00
Juan RP
b77a6df950
xbps-{install,query}.8: add PACKAGE EXPRESSION section.
2012-12-20 07:02:28 +01:00
Juan RP
faf0fd6a08
xbps-query: print pkg state in -l, --list-packages mode.
2012-12-20 06:15:56 +01:00
Juan RP
2a7700bc94
xbps-query: also print pkg state in local mode.
2012-12-20 06:15:18 +01:00
Juan RP
23e7f317f8
xbps-query: ownedby: simplify and avoid xbps_pkgpattern_match, fnmatch is enough.
2012-12-15 19:19:42 +01:00
Juan RP
e2176ec4b6
bin: no point in cleaning up resources when it's exiting...
2012-12-14 11:58:30 +01:00
Juan RP
942db86eb5
xbps-query/search.c: add missing assert.h.
2012-12-06 10:58:11 +01:00
Juan RP
924ef35a07
xbps-query: fixed some issues found by pancake and valgrind.
2012-12-05 08:47:53 +01:00
Juan RP
f45352dbf8
Added support for dynamic generation of revdeps for installed packages.
2012-11-30 17:40:52 +01:00
Juan RP
9ac3b60048
xbps-query: repo_revdeps_cb: simplify by using a dictionary iterator.
2012-11-30 10:45:26 +01:00
Juan RP
63c1883201
Major API/ABI cleanup bringing performance improvements and fixes.
...
These are the core interfaces in the new API:
rpool - Interface to interact with the repository pool.
rindex - Interface to interact with repository indexes.
pkgdb - Interface to interact with local packages.
transaction - Interface to interact with a transaction.
This also brings new repository index format, making the index file
per architecture and being incompatible with previous versions.
The transaction frequency flush option has been removed, and due to
the nature of package states it was causing more harm than good.
More changes coming soon, but the API shall remain stable from now on.
2012-11-30 07:11:51 +01:00
Juan RP
25612870f0
xbps-query: when checking revdeps from repos use the same pkgver from repo pkg.
...
This fixes showing revdeps for any pkg that uses dependencies like:
foo>2.0<3.0
blah<15
2012-11-26 10:22:09 +01:00
Juan RP
27622cf3cb
xbps-{install,query}.8: update for 0.18 metadata changes.
2012-11-21 05:30:28 +01:00
Juan RP
79a31bb6bc
xbps-query: implemented -X, --revdeps in repository mode.
2012-11-21 02:52:36 +01:00
Juan RP
37e5d7ebe0
xbps-query: show_pkg_files: return error if files != dictionary.
2012-11-20 22:58:15 +01:00
Juan RP
ca26c20dd5
xbps-query: show usage() when called with no args.
2012-11-19 21:06:37 +01:00
Juan RP
55982c7a3c
xbps-query: process modes and arguments correctly.
2012-11-18 12:57:38 +01:00
Juan RP
b0fab7a3ee
Implemented a cache to get pkg dicts from metadir.
...
This improves xbps-pkgdb -a marginally, but still seems to be a bit slow.
2012-11-16 21:50:52 +01:00
Juan RP
34bd49f85a
New pkg metadata structure for 0.18. See the NEWS file for info.
2012-11-16 16:55:35 +01:00
Juan RP
d6735d5685
xbps_xasprintf: do not return NULL anymore; remove checks for this.
2012-11-11 09:37:27 +01:00
Juan RP
2a1e4fe137
xbps-query: sync XBPS_PKGINDEX_FILES with ownedby in repository mode.
2012-11-07 10:45:10 +01:00
Juan RP
5830f154d5
xbps-query.8: improve -R, --repository description.
2012-11-06 11:41:33 +01:00
Juan RP
e57e6669fb
xbps-query: added a manual page.
2012-11-06 11:05:27 +01:00
Juan RP
310e619ea3
Remove unnecessary variable assignments reported by cppcheck.
2012-11-06 09:28:34 +01:00
Juan RP
c7402a9176
xbps-query/search.c: fix a memleak found by cppcheck.
2012-11-06 09:13:05 +01:00
Juan RP
ef6ed7d8c7
xbps-query: fallback to repos on ENOENT for show modes.
2012-11-05 13:17:15 +01:00
Juan RP
2e649f9315
xbps-query: show usage if no args are set for search or ownedby modes.
2012-11-05 12:12:34 +01:00
Juan RP
b05ce9fe57
New utilities: xbps-{install,pkgdb,query,reconfigure,rindex} (WIP).
2012-11-02 15:04:25 +01:00