Juan RP
cae219c4de
xbps-repo: indent pkgs from all repos with longest pkgver found.
2012-08-01 08:25:15 +02:00
Juan RP
1be90e57d7
xbps-{bin,repo}: wrap long lines for list, pkg-list and search targets.
...
Fixes issue #26
2012-07-31 17:50:50 +02:00
Juan RP
3e93d235ff
xbps-{bin,repo}: strlcpy -> memcpy.
2012-06-18 10:42:24 +02:00
Juan RP
068cab8d20
libxbps: performance improvements by caching the most accessed paths.
...
1- We can cache the result of the first xbps_pkgdb_init() when it fails
and avoid the malloc/free/access from it.
2- We cache the uname(2) result into a private var in xbps_handle and
use it in xbps_pkg_arch_match().
This improves performance by ~5% approx and it's close as it was before
introducing the repository index format 1.5.
2012-06-15 15:33:11 +02:00
Juan RP
3e9e87fc2a
libxbps: require a pointer to xbps_handle in functions that need it.
...
This removes 2 global vars from lib/initend.c and easier to know
what functions require access to xbps_handle.
2012-06-14 08:22:11 +02:00
Juan RP
7289547432
Welcome "repository index format 1.5". See NEWS for information.
2012-05-31 16:29:56 +02: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
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