Juan RP
efcb373f96
README: relax libarchive version requirement.
2013-08-19 16:00:45 +02:00
Juan RP
add4484ad8
bin/xbps-query/xbps-query.8: document -H --list-hold-pkgs.
2013-08-18 11:06:45 +02:00
Juan RP
789165339a
Drop useless/unused xbps_add_obj_to_{array,dict} functions.
2013-08-18 10:25:17 +02:00
Juan RP
22ae6295f5
manpages: use github url for bugreports.
2013-08-18 10:17:45 +02:00
Juan RP
11fbffa241
Fix #14 from github (Removing recursively does not respect manual installation mode for dependencies).
2013-08-17 09:50:19 +02:00
Juan RP
1999fbd771
Relax libarchive version requirement to 2.8.0.
2013-08-16 10:26:36 +02:00
Juan RP
84d14286a8
More libarchive-2.x compat.
2013-08-15 11:55:20 +02:00
Juan RP
776b94e6bc
Remove PackagesOnHold from xbps.conf; use xbps-pkgdb -m hold|unhold instead.
...
To put a package on hold mode:
$ xbps-pkgdb -m hold foo
To unhold the package:
$ xbps-pkgdb -m unhold foo
To list packages on hold mode:
$ xbps-query -H
This also close #12 from github.
2013-08-12 14:46:54 +02:00
Juan RP
9c9d5b58dd
Assume 80 columns if TIOCGWINSZ ws.col is bogus (0).
2013-08-10 12:59:59 +02:00
Juan RP
2f9bd4f9a2
bin/xbps-rindex/remove-obsoletes.c: fix use-after-free.
2013-08-07 16:01:59 +02:00
Juan RP
8fa5f15cbb
NEWS: update with recent changes.
2013-07-28 09:46:54 +02:00
Juan RP
4428cac154
xbps-query: ignore non working repos; misc fixes.
2013-07-27 20:02:07 +02:00
Juan RP
49fa951836
xbps_array_foreach_cb: replace an assertion with a real test, for non working repos.
2013-07-27 20:01:23 +02:00
Juan RP
0c7701f2bc
Introduce xbps_array_foreach_cb() and use it in random code.
...
This routine will spawn a thread per core to process N items stored
in the specified array, the last thread gets the remainder of items left.
Results have shown that xbps benefits if there is a considerable amount
of items and number of threads being spawned.
Use it in xbps_pkgdb_foreach_cb(), xbps-pkgdb(8), xbps-query(8)
and xbps-rindex(8).
On UP systems there's no overhead because pthread(3) is not used at all.
WIP! investigate if it can be used in libxbps (xbps_rpool_foreach()),
and finish conversion of xbps-rindex(8) -c.
2013-07-27 09:47:16 +02:00
Juan RP
432067de48
Remove three unused API functions.
2013-07-27 06:12:59 +02:00
Juan RP
84d0e429ab
bin/xbps-query/list.c: simplify list_orphans().
2013-07-27 06:11:48 +02:00
Juan RP
20f2d10527
xbps-query(8): -L now prints all repos, including non working repos ( close #11 ).
2013-07-26 11:42:52 +02:00
Juan RP
e0643acbb0
xbps-query(8): fixed some memleaks in local/remote ownedby mode.
2013-07-21 10:49:30 +02:00
Juan RP
db7dd3fd9b
lib/repo_pkgdeps.c: print correctly missing dependencies.
2013-07-16 08:00:42 +02:00
Juan RP
bb0c3250b1
NEWS: mention regression in xbps-query(8).
2013-07-07 10:00:28 +02:00
Juan RP
6358cf43fc
xbps-query: fix regression in -R, also print repository string object.
2013-07-07 09:59:25 +02:00
Juan RP
7941b225fb
rpool: no need to add repository object; it's already set by the repo code.
2013-07-07 09:58:30 +02:00
Juan RP
ecd15b7d57
Check if an update for conflicting pkg is in the transaction for revdeps in vpkgs.
2013-07-05 10:09:32 +02:00
Juan RP
6e37c02032
Post release version bump to 0.26.
2013-07-05 08:08:52 +02:00
Juan RP
ab34c89fdb
README.md: update for 0.25.
2013-07-05 08:08:34 +02:00
Juan RP
02e1958fac
NEWS: prepare 0.25.
2013-07-05 08:01:37 +02:00
Juan RP
6d87bf04d0
Revert "xbps-rindex: [add] add index-files.plist the first in the repo archive."
...
This reverts commit e76874f513
.
This slows down some ops that were much faster before; will use another approach.
2013-07-04 11:05:42 +02:00
Juan RP
e76874f513
xbps-rindex: [add] add index-files.plist the first in the repo archive.
...
By having index.plist the 2nd entry in archive there are more chances
to skip identical bytes in the archive via rsync.
2013-07-04 03:33:42 +02:00
Juan RP
42ba861e21
lib/fetch: ignore -Wformat-nonliteral with clang.
2013-07-02 08:54:02 +02:00
Juan RP
789c756854
xbps_transaction_revdeps: properly print the broken revdeps on real deps.
2013-07-02 00:47:16 +02:00
Juan RP
1d0a5faff0
include/xbps.h.in: xbps_api.h -> xbps.h
2013-06-29 06:46:46 +02:00
Juan RP
9cfbd10604
configure: --etcdir -> --syconfdir.
2013-06-28 08:55:50 +02:00
Juan RP
47eed214a6
xbps_repo_get_pkg_revdeps: don't continue if arg is a virtual pkg.
2013-06-27 18:14:38 +02:00
Juan RP
f96f1dab19
.gitignore: ignore generated xbps.h
2013-06-27 17:17:47 +02:00
Juan RP
505a933097
Added support to verify reverse dependencies in a transaction.
...
See https://plus.google.com/106812073015308749022/posts/ZXMHimd8iKd
2013-06-27 16:52:31 +02:00
Juan RP
4494e0554d
lib/plist_find.c: typo in comment.
2013-06-27 16:26:19 +02:00
Juan RP
99f37f618a
README.md: more tweaks.
2013-06-21 10:45:22 +02:00
Juan RP
2aa09397b9
README -> README.md
2013-06-21 10:36:55 +02:00
Juan RP
b4bd60cc61
README: update for conversion to markdown.
2013-06-21 10:36:35 +02:00
Juan RP
acbdefbad2
data/libxbps.pc.in: no need to link to proplib anymore.
2013-06-20 12:33:23 +02:00
Juan RP
09e116b7f0
xbps_api.h -> xbps.h
2013-06-20 12:31:02 +02:00
Juan RP
cccc9de7de
NEWS: mention latest changes.
2013-06-20 12:19:48 +02:00
Juan RP
2b7d936118
mk/test.mk: no need to link to proplib anymore.
2013-06-20 11:34:49 +02:00
Juan RP
5642ca6cfc
Update tests to the new API.
2013-06-20 11:33:50 +02:00
Juan RP
52fc384e4e
Fixed some issues/warnings found by clang-analyzer.
2013-06-20 11:25:43 +02:00
Juan RP
42c0766c00
Get rid of libfetch and proplib external dependencies.
...
The list of required external deps is now confuse, libarchive and openssl.
libxbps now includes a wrapper for proplib prefixed with xbps_ rather than prop_.
2013-06-20 10:26:12 +02:00
Juan RP
31efece727
Hide libfetch symbols if using the internal copy.
2013-06-19 11:57:25 +02:00
Juan RP
8f6d400cdd
configure: test if fdatasync(2) is available for internal proplib.
2013-06-19 11:41:49 +02:00
Juan RP
4ef66d99bb
Drop requirement of confuse header for the public API; it's only used by libxbps.
2013-06-19 11:29:04 +02:00
Juan RP
55af300e65
xbps-create: needs stdarg.h.
2013-06-19 11:28:51 +02:00