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 0ee1beca12f6070d406bbf09c3036124018e57bf (commit) via c99ebca83e5c7ac59d9489ea98d310ee41c91de5 (commit) via 002acb467425755ea6203cce8c77733140489c18 (commit) via cbb7e180c755d1e84983b583518626125781da8a (commit) via a5759cb0d7a65d3637e0065258b7478530b75b7a (commit) via b76409609c051e236a849746db79bd438e353b60 (commit) via 4ceb1c5bf91dea2453d9b888138c40e4f97d408d (commit) via 60ebee7a6e1984f14ea3f88159c28fa9b99d7f5c (commit) via 7000bf919812f3ed56969a86b4aebf90e98ec6a3 (commit) via e8e872c8f93ba13f67b882d64c16606973f0ff67 (commit) via 16718a216ee5607c56d220a198fdb48a923aaafc (commit) via 568a89d58018e89e3a5bb3c28cb0ca3b845aae1b (commit) via c261210ccf0a7d08c7b3f24aee40b7c8d900e6ac (commit) via 46a1ac642907039a64f2ec93d352508b2ba3ba79 (commit) via e8deba3b87784ca14c9afc908046f36a3ad7578c (commit) via 0adb74b29395a727672e4af828a9e5426c738913 (commit) via dd3fe853b30069df19b8d18474c1e94a4038c369 (commit) via 19e61a9e0726d7524b13596da1a07e50ad72d21f (commit) via be503c6eacca4c24878f4aaa928751bc051ebb1f (commit) via 6946d7d1b77a550c3f4de48e4cc6ad1094ac6b10 (commit) via af747ef34a9a152614fcde18abcfc6e1e3ec5d0e (commit) via edbe6c2bdc6a3011e5aea208c44be5eee02f120b (commit) via 75fe6ef104b1071bf763354177f3c4339c1c7854 (commit) via 486643083c853a1d541d6f8e93c68b7a542f5a2d (commit) via 1586b23080f77abf2ffd8c42027dbf8180126cdd (commit) via ec50ec8a1587613a1f602c2e67c4cab33ac3115d (commit) from 578035075108a90d20f084f077badf05d1c8527c (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 0ee1beca12f6070d406bbf09c3036124018e57bf Author: Allan McRae <allan@archlinux.org> Date: Sun Oct 18 11:27:56 2015 +1000 contrib/checkupdates: separate fakeroot call and command Separating the fakeroot command and the pacman call with "--" prevents weird interactions with some locales. See FS#46405. Signed-off-by: Allan McRae <allan@archlinux.org> commit c99ebca83e5c7ac59d9489ea98d310ee41c91de5 Author: Pierre Neidhardt <ambrevar@gmail.com> Date: Sat Oct 17 19:02:56 2015 +0200 package.c: Comment style Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 002acb467425755ea6203cce8c77733140489c18 Author: Allan McRae <allan@archlinux.org> Date: Sat Oct 17 19:50:05 2015 +1000 Do not print any root prefix in files database operations Combining with the --root flag and outputing a consistent root prefix leads to many situations that make no sense. Instead, do not print any prefix for any --files operations. Signed-off-by: Allan McRae <allan@archlinux.org> commit cbb7e180c755d1e84983b583518626125781da8a Author: Pierre Neidhardt <ambrevar@gmail.com> Date: Sat Oct 17 19:02:55 2015 +0200 package.c: Remove obsolete param from doc Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit a5759cb0d7a65d3637e0065258b7478530b75b7a Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:31 2015 -0400 add hook tests Signed-off-by: Allan McRae <allan@archlinux.org> commit b76409609c051e236a849746db79bd438e353b60 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:30 2015 -0400 pactest: add hook/script support Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 4ceb1c5bf91dea2453d9b888138c40e4f97d408d Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:29 2015 -0400 util.py: return the created path Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 60ebee7a6e1984f14ea3f88159c28fa9b99d7f5c Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:28 2015 -0400 pactest: use pacman --hookdir option Signed-off-by: Allan McRae <allan@archlinux.org> commit 7000bf919812f3ed56969a86b4aebf90e98ec6a3 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:27 2015 -0400 pacman: add user hook directories Signed-off-by: Allan McRae <allan@archlinux.org> commit e8e872c8f93ba13f67b882d64c16606973f0ff67 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:26 2015 -0400 validate hooks after parsing Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 16718a216ee5607c56d220a198fdb48a923aaafc Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:25 2015 -0400 run hooks during trans_commit Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 568a89d58018e89e3a5bb3c28cb0ca3b845aae1b Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:24 2015 -0400 add hook data types and parser Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit c261210ccf0a7d08c7b3f24aee40b7c8d900e6ac Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Fri Oct 16 20:28:23 2015 -0400 handle: add hookdirs option Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 46a1ac642907039a64f2ec93d352508b2ba3ba79 Author: Pierre Neidhardt <ambrevar@gmail.com> Date: Sat Oct 17 11:36:13 2015 +0200 PKGBUILD.5: post_*() are functions, not scripts Signed-off-by: Allan McRae <allan@archlinux.org> commit e8deba3b87784ca14c9afc908046f36a3ad7578c Author: Allan McRae <allan@archlinux.org> Date: Wed Sep 23 00:02:12 2015 +1000 makepkg: remove ability to build individual packages Signed-off-by: Allan McRae <allan@archlinux.org> commit 0adb74b29395a727672e4af828a9e5426c738913 Author: Allan McRae <allan@archlinux.org> Date: Tue Sep 22 16:11:32 2015 +1000 libmakepkg: remove declaration of unused local variables Signed-off-by: Allan McRae <allan@archlinux.org> commit dd3fe853b30069df19b8d18474c1e94a4038c369 Author: Allan McRae <allan@archlinux.org> Date: Tue Sep 22 16:06:29 2015 +1000 libmakepkg: return 1 on error in arch array The return value was being assigned when an error was found in a PKGBUILD's arch array but it never was returned. Also remove error message explaining about adding the arch array to a PKGBUILD. That was added a long time ago when the arch array first became compulsory. Signed-off-by: Allan McRae <allan@archlinux.org> commit 19e61a9e0726d7524b13596da1a07e50ad72d21f Author: Allan McRae <allan@archlinux.org> Date: Tue Sep 22 15:11:52 2015 +1000 libmakepkg: update .gitignore Signed-off-by: Allan McRae <allan@archlinux.org> commit be503c6eacca4c24878f4aaa928751bc051ebb1f Author: Allan McRae <allan@archlinux.org> Date: Tue Sep 22 14:54:03 2015 +1000 makepkg: remove FORCE_VER variable This variable is no longer in VCS building. Signed-off-by: Allan McRae <allan@archlinux.org> commit 6946d7d1b77a550c3f4de48e4cc6ad1094ac6b10 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Mon Sep 14 18:37:40 2015 -0400 check fileconflicts and diskspace outside commit This is necessary in order to be able to run PreTransaction hooks as close to the actual commit as possible so that we don't prematurely run hooks for a transaction that ultimately never happens. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit af747ef34a9a152614fcde18abcfc6e1e3ec5d0e Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Mon Sep 14 18:37:39 2015 -0400 move ini parser into common Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit edbe6c2bdc6a3011e5aea208c44be5eee02f120b Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Mon Sep 14 18:37:38 2015 -0400 move strtrim to util-common Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 75fe6ef104b1071bf763354177f3c4339c1c7854 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Tue Sep 15 01:08:16 2015 -0400 sortbydeps: skip local packages being updated Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 486643083c853a1d541d6f8e93c68b7a542f5a2d Author: Allan McRae <allan@archlinux.org> Date: Mon Jul 20 15:46:22 2015 +1000 libmakepkg: check if PKGBUILD variables are arrays or not as appropriate When extracting variables from PKGBUILD (e.g. for .SRCINFO creation) we make assumptions about whether variables are arrays or not. This adds a check to the PKGBUILD linter to ensure variables are arrays or not as appropriate. Signed-off-by: Allan McRae <allan@archlinux.org> commit 1586b23080f77abf2ffd8c42027dbf8180126cdd Author: Allan McRae <allan@archlinux.org> Date: Sat Aug 8 13:42:07 2015 +1000 libmakepkg: util/pkgbuild.sh needs processing on build pkgbuild.sh contained @DEBUGSUFFIX@ and so needs to be run through the sed command on build. Signed-off-by: Allan McRae <allan@archlinux.org> commit ec50ec8a1587613a1f602c2e67c4cab33ac3115d Author: Allan McRae <allan@archlinux.org> Date: Sat Aug 8 10:47:13 2015 +1000 pacman.8: Consistently refer to the package database We use "package database" everywhere apart from in the description of "-y". Signed-off-by: Allan McRae <allan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: contrib/checkupdates.sh.in | 2 +- doc/PKGBUILD.5.txt | 2 +- doc/makepkg.8.txt | 4 - doc/pacman.8.txt | 6 +- doc/pacman.conf.5.txt | 8 + lib/libalpm/Makefile.am | 3 + lib/libalpm/alpm.c | 5 + lib/libalpm/alpm.h | 10 + lib/libalpm/deps.c | 11 +- lib/libalpm/error.c | 2 + lib/libalpm/handle.c | 59 +++ lib/libalpm/handle.h | 1 + lib/libalpm/hook.c | 498 +++++++++++++++++++++ lib/libalpm/{group.h => hook.h} | 20 +- lib/libalpm/ini.c | 1 + lib/libalpm/ini.h | 1 + lib/libalpm/sync.c | 18 +- lib/libalpm/sync.h | 3 +- lib/libalpm/trans.c | 12 +- scripts/Makefile.am | 3 +- scripts/libmakepkg/.gitignore | 5 +- scripts/libmakepkg/lint_pkgbuild/arch.sh.in | 4 +- scripts/libmakepkg/lint_pkgbuild/changelog.sh.in | 2 +- scripts/libmakepkg/lint_pkgbuild/variable.sh.in | 65 +++ .../util/{pkgbuild.sh => pkgbuild.sh.in} | 0 scripts/makepkg.sh.in | 12 - scripts/po/POTFILES.in | 1 + src/{pacman => common}/ini.c | 0 src/{pacman => common}/ini.h | 0 src/common/util-common.c | 39 ++ src/common/util-common.h | 2 + src/pacman/Makefile.am | 2 + src/pacman/conf.c | 22 + src/pacman/conf.h | 2 + src/pacman/files.c | 28 +- src/pacman/ini.c | 117 +---- src/pacman/ini.h | 31 +- src/pacman/package.c | 3 +- src/pacman/pacman.c | 10 + src/pacman/util.c | 39 -- src/pacman/util.h | 1 - src/util/pactree.c | 36 -- test/pacman/pmfile.py | 27 +- test/pacman/pmpkg.py | 3 +- test/pacman/pmtest.py | 30 +- test/pacman/tests/TESTS | 10 + .../tests/dependency-cycle-fixed-by-upgrade.py | 32 ++ test/pacman/tests/hook-abortonfail.py | 25 ++ test/pacman/tests/hook-file-change-packages.py | 32 ++ .../pacman/tests/hook-file-remove-trigger-match.py | 24 + test/pacman/tests/hook-file-upgrade-nomatch.py | 27 ++ test/pacman/tests/hook-invalid-trigger.py | 25 ++ .../pacman/tests/hook-pkg-install-trigger-match.py | 23 + test/pacman/tests/hook-pkg-remove-trigger-match.py | 23 + .../pacman/tests/hook-pkg-upgrade-trigger-match.py | 26 ++ test/pacman/tests/hook-upgrade-trigger-no-match.py | 23 + test/pacman/util.py | 5 +- 57 files changed, 1144 insertions(+), 281 deletions(-) create mode 100644 lib/libalpm/hook.c copy lib/libalpm/{group.h => hook.h} (69%) create mode 120000 lib/libalpm/ini.c create mode 120000 lib/libalpm/ini.h create mode 100644 scripts/libmakepkg/lint_pkgbuild/variable.sh.in rename scripts/libmakepkg/util/{pkgbuild.sh => pkgbuild.sh.in} (100%) copy src/{pacman => common}/ini.c (100%) copy src/{pacman => common}/ini.h (100%) mode change 100644 => 120000 src/pacman/ini.c mode change 100644 => 120000 src/pacman/ini.h create mode 100644 test/pacman/tests/dependency-cycle-fixed-by-upgrade.py create mode 100644 test/pacman/tests/hook-abortonfail.py create mode 100644 test/pacman/tests/hook-file-change-packages.py create mode 100644 test/pacman/tests/hook-file-remove-trigger-match.py create mode 100644 test/pacman/tests/hook-file-upgrade-nomatch.py create mode 100644 test/pacman/tests/hook-invalid-trigger.py create mode 100644 test/pacman/tests/hook-pkg-install-trigger-match.py create mode 100644 test/pacman/tests/hook-pkg-remove-trigger-match.py create mode 100644 test/pacman/tests/hook-pkg-upgrade-trigger-match.py create mode 100644 test/pacman/tests/hook-upgrade-trigger-no-match.py hooks/post-receive -- The official pacman repository