Commit Graph

2625 Commits

Author SHA1 Message Date
Juan RP
1d8777b6f4 README: remove redundant word from previous. 2014-09-18 22:13:30 +02:00
Juan RP
0a0a41e4e9 README: update. 2014-09-18 22:10:14 +02:00
Juan RP
25832da045 Merge pull request #59 from uggedal/bash-completion-fixes
Bash completion fixes
2014-09-18 21:49:41 +02:00
Eivind Uggedal
487b7296c6 data/xbps.bash: use installed packages in non-repo query completion. 2014-09-18 19:45:58 +00:00
Eivind Uggedal
0f73158ed8 data/xbps.bash: shorten argument comparisons 2014-09-18 19:44:31 +00:00
Enno Boland
5bbcdf2c62 lib/util_hash.c: enlarge read buffer for xbps_file_hash to increase performance. 2014-09-18 18:34:15 +02:00
Juan RP
c51d0fcbd8 Post release bump. 2014-09-18 17:29:10 +02:00
Juan RP
15e416dc59 NEWS: prepare 0.40. 2014-09-18 17:25:56 +02:00
Juan RP
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
Juan RP
20326738ed bin/xbps-install/fetch_cb.c: optimize: only call isatty() once. 2014-09-18 10:21:24 +02:00
Juan RP
2550d3d006 xbps-query: do not print ANSI escape codes if stdout is not a tty. 2014-09-18 10:14:42 +02:00
Juan RP
3b88cbb025 NEWS: mention zsh changes by @chneukirchen. 2014-09-17 18:57:01 +02:00
Christian Neukirchen
21a4473f7a _xbps: drop use of sed 2014-09-17 18:56:17 +02:00
Christian Neukirchen
5cbfdd5c5c _xbps: complete properties 2014-09-17 18:56:17 +02:00
Juan RP
741f8fbe04 lib/util_hash.c: update copyright year. 2014-09-17 07:24:00 +02:00
Juan RP
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
Juan RP
94b9455175 NEWS: another change. 2014-09-16 09:58:27 +02:00
Juan RP
fe6d79fa46 NEWS: mention recent changes. 2014-09-16 09:58:27 +02:00
Juan RP
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
Juan RP
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
Juan RP
6894980983 lib/package_msg.c: fix a heap overflow (noticed by @Gottox). 2014-09-16 09:13:32 +02:00
Eivind Uggedal
4ab8bbc5a8 data/xbps.bash: add more xbps-query properties. 2014-09-15 16:28:33 +00:00
Juan RP
3efd345e84 Post release bump. 2014-09-15 12:47:01 +02:00
Juan RP
d1a1f00ca0 NEWS: prepare 0.39. 2014-09-15 12:45:56 +02:00
Juan RP
e4484133a6 NEWS: mention musl build fix. 2014-09-15 12:26:17 +02:00
Juan RP
6d4b326b13 NEWS: mention recent changes. 2014-09-15 12:25:39 +02:00
Christian Neukirchen
73935efeb7 _xbps: update zsh completion for 0.38 2014-09-15 12:24:02 +02:00
Juan RP
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
Juan RP
3f7e98235c Merge pull request #57 from uggedal/bash-completion-props
data/xbps.bash: add property completion.
2014-09-15 09:48:04 +02:00
Juan RP
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
Eivind Uggedal
ea88940b84 data/xbps.bash: add property completion. 2014-09-15 07:24:01 +00:00
Eivind Uggedal
7074a3d23c data/xbps.bash: fix listing of all packages with 0.38. 2014-09-15 06:47:36 +00:00
Juan RP
567382c3a2 xbps-rindex: fix musl build: needs -lcrypto explicitly. 2014-09-14 20:01:05 +02:00
Juan RP
0e6f2870cc Post release bump. 2014-09-14 19:00:19 +02:00
Juan RP
71dfbd23a1 NEWS: prepare 0.38. 2014-09-14 18:58:12 +02:00
Juan RP
f6b653a11f etc/xbps.conf: sync with reality. 2014-09-14 18:39:57 +02:00
Juan RP
e902619220 Remove empty self replaced pkg arrays from pkgdb. 2014-09-14 18:16:43 +02:00
Juan RP
ac2c517bd7 Fixed install/update tests on pkgs with no files. 2014-09-14 18:04:10 +02:00
Juan RP
68bb09bc58 tests: two new tests to verify pkg install/update with no files. 2014-09-14 18:03:29 +02:00
Juan RP
c9514ad617 libxbps: fixed replaces/replace_vpkg test case. 2014-09-14 12:50:17 +02:00
Juan RP
c36c641350 tests/libxbps/replace: another test case for replaces and vpkgs. 2014-09-14 12:49:38 +02:00
Juan RP
2b7c4d568a Remove pkg self replacement from pkgdb; this must not be propagated. 2014-09-13 18:14:04 +02:00
Juan RP
dea31f0a15 Add xbps_remove_{pkgname,string}_from_array() to the API. 2014-09-13 18:13:25 +02:00
Juan RP
b42c3d8498 lib/pkgdb_conversion.c: avoid copying dangling pointer if "repository-origin" is unexistent. 2014-09-13 16:59:19 +02:00
Juan RP
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
Juan RP
598022a60b xbps_transaction_commit: add more debugging to know the unconfigured pkg reason. 2014-09-13 12:21:49 +02:00
Juan RP
842a91149d tests/libxbps/replace: add more debugging to see what's going on. 2014-09-13 12:21:24 +02:00
Juan RP
60e9bbac3d tests/libxbps/replace: check that pkgs were configured too.
These two tests currently fail.
2014-09-13 12:11:24 +02:00
Juan RP
411480e43d pkgdb: repository-origin -> repository to match the repo pkg obj. 2014-09-13 10:49:13 +02:00
Juan RP
287665009b Drop unused headers. 2014-09-13 08:54:12 +02:00