This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The branch, master has been updated via 9ff29545e5185105438c9383f66bbd02af13affc (commit) via 8d9890d3f4c18189eb13ebc8612e3df56a4c9589 (commit) via ab50864a758a7c3d26d5423521743c5753a6cffe (commit) via 9813107c3368684784706cf2b77bd056bea58e3c (commit) via 00c03295315cb2d359733858d2945bb6a7070c70 (commit) via 88f348f2b15fed8a7b92085d01ffeced117f3599 (commit) via 875c017e4d74bd29bc7424c2c7ff2050f90b7767 (commit) via 2a0d188d6b289025bee18c9d9b615e0a9e19fc50 (commit) from fa72c2cdc2682eb55edd0d8b19fb1eba4e061670 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9ff29545e5185105438c9383f66bbd02af13affc Author: Johannes Löthberg <johannes@kyriasis.com> Date: Mon Jan 4 09:40:10 2016 +0100 doc: alpm-hooks.5: Remove extra space in alpm-hooks man page Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 8d9890d3f4c18189eb13ebc8612e3df56a4c9589 Author: Allan McRae <allan@archlinux.org> Date: Fri Jan 15 14:52:05 2016 +1000 Cast events to void* before passing to callback Silence warnings from clang about typecasting alignment. Reported-by: Rikard Falkeborn Original-patch-by: Olivier Brunel Signed-off-by: Allan McRae <allan@archlinux.org> commit ab50864a758a7c3d26d5423521743c5753a6cffe Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Mon Jan 11 09:29:22 2016 -0500 add alpm_list_append alpm_list_add always returns the provided list making it impossible for callers to check whether or not the operation actually succeeded without manually comparing the list length before and after. alpm_list_append instead returns a pointer to the newly created list item so that success can be checked. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 9813107c3368684784706cf2b77bd056bea58e3c Author: Dominik Fischer <d.f.fischer@web.de> Date: Mon Dec 7 21:37:09 2015 +0100 test version range restrictions corner case The test introduced herein illustrates a behavior that may be unexpected to package writers. It creates a package "pkg3" that is configured to depend on a "dependency" which version is between 3 and 4, inclusive. Two other packages are already present, providing "dependency" in version 2 and 5, respectively. So, the situation looks roughly like this: pkg1 pkg3 pkg2 provides depends on provides | <------------> | version __________2____________3____________4____________5___________... This seems to be enough to satisfy pacman when installing "pkg3". From an iterative standpoint, this is completely logical: First, the requirement "dependency>=3" is checked. There is a package that satisfies this restriction, it is called "pkg2". Afterwards, "dependency<=4" is covered in the same way by "pkg1". Nonetheless, what a package writer intends when specifying depends=('dependency>=3' 'dependency<=4') is most probably that pacman should only allow this package to be installed when there indeed is a package present that provides a version of "dependency" that lies _between_ 3 and 5. Signed-off-by: Dominik Fischer <d dot f dot fischer at web dot de> Signed-off-by: Allan McRae <allan@archlinux.org> commit 00c03295315cb2d359733858d2945bb6a7070c70 Author: Rikard Falkeborn <rikard.falkeborn@gmail.com> Date: Thu Dec 31 14:19:31 2015 +0100 Add pacsort tests with invalid input Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 88f348f2b15fed8a7b92085d01ffeced117f3599 Author: Rikard Falkeborn <rikard.falkeborn@gmail.com> Date: Thu Dec 31 14:19:30 2015 +0100 pacsort, introduce define for escape_char error code The signedness of char is implementation defined. On systems where char is unsigned, comparing a variable of type char with -1 is never true, due to integer promotion rules. To avoid this, introduce a define for invalid field separators where -1 is cast to char. This will ensure that the return value check works for both unsigned and signed char. Fixes one warning [-Wtype-limits] for comparissons with -1 when compiling with -funsigned-char. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 875c017e4d74bd29bc7424c2c7ff2050f90b7767 Author: Rikard Falkeborn <rikard.falkeborn@gmail.com> Date: Thu Dec 31 14:19:29 2015 +0100 Make alpm_graph state signedness explicit The signedness of char is implementation defined. Since the alpm_graph state is clearly meant to be signed, make the signedness explicit. This fixes bugs on systems where char is unsigned, in comparissons of the following type: if(v.state == -1) which, if state is unsigned, will never be true due to integer promotion rules. Fixes failing test/pacman/tests/sync012.py when compiling with -funsigned-char. Fixes two warnings [-Wtype-limits] for comparissons with -1 when compiling with -funsigned-char. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 2a0d188d6b289025bee18c9d9b615e0a9e19fc50 Author: Allan McRae <allan@archlinux.org> Date: Thu Dec 31 20:18:22 2015 +1000 Update NEWS for pacman-5.0 Signed-off-by: Allan McRae <allan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: NEWS | 64 ++++++++++++++++++++++++++++++++++++++-- doc/alpm-hooks.5.txt | 2 +- lib/libalpm/alpm_list.c | 34 ++++++++++++++------- lib/libalpm/alpm_list.h | 1 + lib/libalpm/graph.h | 2 +- lib/libalpm/hook.c | 4 +-- lib/libalpm/trans.c | 4 +-- src/util/pacsort.c | 11 +++---- test/pacman/tests/TESTS | 1 + test/pacman/tests/deprange001.py | 19 ++++++++++++ test/util/pacsorttest.sh | 18 ++++++++++- 11 files changed, 136 insertions(+), 24 deletions(-) create mode 100644 test/pacman/tests/deprange001.py hooks/post-receive -- The official pacman repository