Commit Graph

2414 Commits

Author SHA1 Message Date
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
Juan RP
e0f2e75657 xbps.h: update comments. 2014-09-13 08:35:25 +02:00
Juan RP
f26a9c1e2b xbps-{install,query}.8: sync with reality. 2014-09-12 12:15:03 +02:00
Juan RP
8c25d56fcd NEWS: improve wording. 2014-09-12 12:02:41 +02:00
Juan RP
39aca1bbc9 Implement shlib checks for all pkg revdeps in the transaction.
Added three new test cases to verify its correctness.
2014-09-12 11:49:34 +02:00
Juan RP
b306adf52b bin/xbps-query/ownedby.c: take into account pkgs with no files. 2014-09-11 18:10:04 +02:00
Juan RP
4978fe9844 lib/transaction_package_replace.c: misc optimizations. 2014-09-11 17:55:05 +02:00
Juan RP
4ab831888a xbps_repo_sync: fix swapped args (Hi Tox!) 2014-09-11 13:38:26 +02:00
Juan RP
6ba20bb5ca data/Makefile: fix reinstallation. 2014-09-11 12:40:58 +02:00
Juan RP
d959502311 NEWS: do not mention repodeltas, it's not ready yet. 2014-09-11 12:23:48 +02:00
Juan RP
dea7ea888e bin/*/*.8: sync with reality. 2014-09-11 12:21:33 +02:00
Juan RP
2207517e13 Disable best pkg matching code; see NEWS for more information. 2014-09-11 12:19:52 +02:00