Commit Graph

2178 Commits

Author SHA1 Message Date
202ab0d375 NEWS: mention recent changes. 2014-09-23 09:42:20 +02:00
7b773032c4 README, configure: --with-tests is not supported. Use --enable-tests instead. 2014-09-22 21:03:02 +02:00
cfc0e3b9d9 xbps-create: do not compress with xz -9
xz -9 is very expensive in terms of CPU and memory usage, and also
memory usage for decompression.  Thus we stick to default of -6 for
xz.  For gzip and bzip2, -9 is ok.
2014-09-19 16:38:31 +02:00
1d8777b6f4 README: remove redundant word from previous. 2014-09-18 22:13:30 +02:00
0a0a41e4e9 README: update. 2014-09-18 22:10:14 +02:00
25832da045 Merge pull request #59 from uggedal/bash-completion-fixes
Bash completion fixes
2014-09-18 21:49:41 +02:00
487b7296c6 data/xbps.bash: use installed packages in non-repo query completion. 2014-09-18 19:45:58 +00:00
0f73158ed8 data/xbps.bash: shorten argument comparisons 2014-09-18 19:44:31 +00:00
5bbcdf2c62 lib/util_hash.c: enlarge read buffer for xbps_file_hash to increase performance. 2014-09-18 18:34:15 +02:00
c51d0fcbd8 Post release bump. 2014-09-18 17:29:10 +02:00
15e416dc59 NEWS: prepare 0.40. 2014-09-18 17:25:56 +02:00
f52eea34d4 xbps-install: abort transaction if there's insufficient disk space on rootdir.
The free disk space wasn't computed correctly and xbps-install(8) wasn't
handling ENOSPC rval in xbps_transaction_prepare().
2014-09-18 12:11:02 +02:00
20326738ed bin/xbps-install/fetch_cb.c: optimize: only call isatty() once. 2014-09-18 10:21:24 +02:00
2550d3d006 xbps-query: do not print ANSI escape codes if stdout is not a tty. 2014-09-18 10:14:42 +02:00
3b88cbb025 NEWS: mention zsh changes by @chneukirchen. 2014-09-17 18:57:01 +02:00
21a4473f7a _xbps: drop use of sed 2014-09-17 18:56:17 +02:00
5cbfdd5c5c _xbps: complete properties 2014-09-17 18:56:17 +02:00
741f8fbe04 lib/util_hash.c: update copyright year. 2014-09-17 07:24:00 +02:00
72c64c7626 xbps_file_hash: reduce memory footprint and process file in small chunks.
With xbps-rindex(8) -c/-r being multithreaded, the memory usage was
insanely high in the build server, with peaks of almost 4GB (this depends
on the file size being processed and number of threads).

Process the file in small chunks instead to compute the SHA256 hash.
2014-09-17 06:50:46 +02:00
94b9455175 NEWS: another change. 2014-09-16 09:58:27 +02:00
fe6d79fa46 NEWS: mention recent changes. 2014-09-16 09:58:27 +02:00
f80df0fa22 xbps-{install,remove}: print guards in post-install/pre-remove messages.
This avoids the need to manually add them to the {INSTALL,REMOVE}.msg
files in binary packages, and saves some bytes in the repository archive
and binary packages.

Idea by @dominikh.
2014-09-16 09:58:27 +02:00
e3b76ac30a Merge pull request #58 from uggedal/bash-completion-extra-properties
data/xbps.bash: add more xbps-query properties.
2014-09-16 09:43:49 +02:00
6894980983 lib/package_msg.c: fix a heap overflow (noticed by @Gottox). 2014-09-16 09:13:32 +02:00
4ab8bbc5a8 data/xbps.bash: add more xbps-query properties. 2014-09-15 16:28:33 +00:00
3efd345e84 Post release bump. 2014-09-15 12:47:01 +02:00
d1a1f00ca0 NEWS: prepare 0.39. 2014-09-15 12:45:56 +02:00
e4484133a6 NEWS: mention musl build fix. 2014-09-15 12:26:17 +02:00
6d4b326b13 NEWS: mention recent changes. 2014-09-15 12:25:39 +02:00
73935efeb7 _xbps: update zsh completion for 0.38 2014-09-15 12:24:02 +02:00
dee7852af8 xbps-rindex: fix -a/--add mode repodata archive permissions.
The repodata archive wasn't group writable, resulting in a new archive
created from scratch if the fd wasn't writable.

repodata archives are now created with 0664 mode, this way its main group
also can write to it.
2014-09-15 12:15:42 +02:00
3f7e98235c Merge pull request #57 from uggedal/bash-completion-props
data/xbps.bash: add property completion.
2014-09-15 09:48:04 +02:00
b54b0324a1 Merge pull request #56 from uggedal/bash-completion-0.38
data/xbps.bash: fix listing of all packages with 0.38.
2014-09-15 09:47:42 +02:00
ea88940b84 data/xbps.bash: add property completion. 2014-09-15 07:24:01 +00:00
7074a3d23c data/xbps.bash: fix listing of all packages with 0.38. 2014-09-15 06:47:36 +00:00
567382c3a2 xbps-rindex: fix musl build: needs -lcrypto explicitly. 2014-09-14 20:01:05 +02:00
0e6f2870cc Post release bump. 2014-09-14 19:00:19 +02:00
71dfbd23a1 NEWS: prepare 0.38. 2014-09-14 18:58:12 +02:00
f6b653a11f etc/xbps.conf: sync with reality. 2014-09-14 18:39:57 +02:00
e902619220 Remove empty self replaced pkg arrays from pkgdb. 2014-09-14 18:16:43 +02:00
ac2c517bd7 Fixed install/update tests on pkgs with no files. 2014-09-14 18:04:10 +02:00
68bb09bc58 tests: two new tests to verify pkg install/update with no files. 2014-09-14 18:03:29 +02:00
c9514ad617 libxbps: fixed replaces/replace_vpkg test case. 2014-09-14 12:50:17 +02:00
c36c641350 tests/libxbps/replace: another test case for replaces and vpkgs. 2014-09-14 12:49:38 +02:00
2b7c4d568a Remove pkg self replacement from pkgdb; this must not be propagated. 2014-09-13 18:14:04 +02:00
dea31f0a15 Add xbps_remove_{pkgname,string}_from_array() to the API. 2014-09-13 18:13:25 +02:00
b42c3d8498 lib/pkgdb_conversion.c: avoid copying dangling pointer if "repository-origin" is unexistent. 2014-09-13 16:59:19 +02:00
d67f8bdc8c xbps_register_pkg: do not modify the transaction pkg dictionary, use a copy instead.
Due to not using a copy the replace tests were failing at the configure phase,
because the "transaction" object was removed.
2014-09-13 13:31:56 +02:00
598022a60b xbps_transaction_commit: add more debugging to know the unconfigured pkg reason. 2014-09-13 12:21:49 +02:00
842a91149d tests/libxbps/replace: add more debugging to see what's going on. 2014-09-13 12:21:24 +02:00