davehome
272d4ffaf6
xbps-bin.8: misc grammar fixes.
2012-10-02 02:56:34 -06:00
davehome
7fb829177c
xbps-bin.8: fix previous.
2012-10-02 02:49:10 -06:00
davehome
51b9b7f3bf
xbps-bin.8: fix check target grammar.
2012-10-02 02:48:15 -06:00
davehome
2456a0e502
xbps-bin.8: fix grammar for -A.
2012-10-02 02:44:15 -06:00
Juan RP
3222fce866
Revert "xbps-bin.8: update FILES section."
...
This reverts commit 8e4e9e7bf5
.
This doesn't apply to this branch, only for single-pkgdb.
2012-09-29 19:37:22 +02:00
Juan RP
8e4e9e7bf5
xbps-bin.8: update FILES section.
...
(cherry picked from commit ae5079b05c499a2194a445799b1d52604f69d279)
2012-09-29 19:11:02 +02:00
Juan RP
54b6cc7ec1
xbps-{bin,repo}: add -B flag to set default repo if xbps.conf not found.
...
(cherry picked from commit 75eac1a1426040a833e0b10e208f2e55fa359532)
2012-09-29 19:10:48 +02:00
Juan RP
7714f0f6c5
bin: print usage() in stdout.
...
(cherry picked from commit b090e1a0bd32cabd8fe81bd756d419ee4b170ef7)
2012-09-29 19:08:03 +02:00
Juan RP
f0ab396036
xbps-{bin,repo}: ignore ENOENT when checking write perms in {root,meta,cache}dir.
2012-08-03 10:58:16 +02:00
Juan RP
3a247bd5cb
xbps-{bin,repo}: make sure that user has write permission on {root,meta,cache}dir.
...
Fixes issue #27
2012-08-02 12:20:18 +02:00
Juan RP
cae219c4de
xbps-repo: indent pkgs from all repos with longest pkgver found.
2012-08-01 08:25:15 +02:00
Juan RP
01c2dcaca7
xbps-bin: get_maxcols(): use stdin to make it work in all cases (from xdave).
2012-08-01 07:47:40 +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
d319816fa2
xbps-bin: fixed regression in show target for vpkgs.
2012-07-23 10:21:32 +02:00
Juan RP
9a69c5e349
xbps-bin: fix a warning found by -Wshadow on Ubuntu.
2012-07-19 18:00:19 +02:00
Juan RP
2f1e975607
Added "install-date" object to pkg's pkgdb dictionary, make xbps-bin(8) print it.
2012-07-11 12:19:39 +02:00
Juan RP
3e93d235ff
xbps-{bin,repo}: strlcpy -> memcpy.
2012-06-18 10:42:24 +02:00
Juan RP
a2e42f1d57
xbps-bin: fixed a memleak in show_pkg_info().
2012-06-18 10:01:27 +02:00
Juan RP
974b2fe8ad
libxbps: simplify pkgdb_get_pkgd and find_pkg_dict_installed internals.
...
There's no need to prop_dictionary_copy the returned dictionary to
later have to free it again, just return directly the dictionary and
avoid the free(3)s.
2012-06-16 09:02:07 +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
29871b2120
xbps-bin: re-add libxbps cleanup to the sighandler, also handle SIGHUP.
2012-06-14 10:11:50 +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
c61ba8dfcc
Added support for package conflicts.
2012-06-11 16:14:03 +02:00
Juan RP
c37026d4c6
libxbps: require an underscore in strings to detect correctly pkgname/version.
2012-06-05 10:58:39 +02:00
Juan RP
61e8daea88
xbps-bin.8: document the 3 ways to install pkgs, with grammar help by xdave.
2012-06-03 08:08:29 +02:00
Juan RP
981b13bd5a
xbps-repo: 'sync' and 'pkg-list' target now accept a repository URI argument.
...
If set, only the matching repository will be used for the task.
2012-06-01 15:02:06 +02:00
Juan RP
da75866a63
xbps-bin: -n now also prints pkg arch.
2012-06-01 11:28:30 +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
a58df97c75
xbps-bin: new flag -S to sync rpool indexes before the target.
2012-05-31 08:08:32 +02:00
Juan RP
6228204a14
xbps-bin: change yesno() in targets that use a transaction.
2012-05-31 08:03:54 +02:00
Juan RP
3244ec935d
bin/xbps-bin/check.c: remove a dead assignment found by clang-analyzer.
2012-05-30 14:21:34 +02:00
Juan RP
a14886ab48
xbps-bin: fix swapped args in check_pkg_symlinks.
2012-05-25 14:28:12 +02:00
Juan RP
5fabb34a1f
xbps-bin(8): keep auto{remove,update} targets for compatibility.
2012-05-08 10:09:01 +02:00
Juan RP
e0fc55c389
xbps-bin(8): renamed autoremove target to remove-orphans.
2012-05-08 09:58:56 +02:00
Juan RP
758cd4fd11
xbps-bin(8): renamed autoupdate target to dist-upgrade.
2012-05-08 09:54:06 +02:00
Juan RP
b7961ae611
xbps-bin: print current/total pkgs counter in 'check all' target.
2012-05-07 12:33:50 +02:00
Juan RP
5e0b06dc00
xbps-bin: improve def unpack cb to print more meaningful messages.
2012-05-06 16:48:47 +02:00
Juan RP
b4f202f89f
xbps-bin/util.c: find out terminal columns and use it to print transaction.
2012-05-06 16:47:30 +02:00
Juan RP
b53795e095
fetch_cb: clear until EOL when displaying final stats.
2012-05-06 10:09:23 +02:00
Juan RP
391bb3daf2
fetch_cb: simplify and improve output.
2012-05-06 10:05:35 +02:00
Juan RP
53c7f9effe
xbps-bin: fixed regression in 'show-deps' target.
2012-04-16 16:42:03 +02:00
Juan RP
93c5536e36
xbps-{bin,repo}: remove dead code.
2012-04-12 13:05:13 +02:00
Juan RP
bfe7ab1c5a
xbps_configure_pkg: simplify and remove "version" arg (API change).
...
The "version" argument (being optional) clearly is not needed and it
can be fully removed. This simplifies the internal implementation as well
as the API.
2012-04-10 10:02:27 +02:00
Juan RP
00148c40b0
xbps-bin(8): extended 'requiredby' check to find and remove stale entries.
2012-04-05 10:58:52 +02:00
Juan RP
9bada162a1
New "metadir" member in xbps_handle to override default metadata dir.
2012-03-13 10:22:35 +01:00
Juan RP
d4f623e7e7
Commit Kyua/ATF test suite for libxbps.
2012-03-12 15:23:04 +01:00
Juan RP
8c6b335ca8
xbps-{bin,repo}: redirect error messages to stderr.
2012-02-25 10:30:15 +01:00
Juan RP
7fc8ee8231
xbps-bin: check for EEXIST when installing a pkg.
2012-02-18 16:15:54 +01:00
Juan RP
052a266b76
xbps-bin: added -h to print usage(), print detailed info for usage().
2012-02-14 10:35:33 +01:00
Juan RP
36ae5709e4
xbps-bin: dry-run: add binary pkg filename prop to the output.
2012-02-05 14:56:18 +01:00