[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.2.1-298-ga671fa4
Allan McRae
allan at archlinux.org
Mon Dec 21 04:53:12 UTC 2015
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 a671fa497c7317e240e014e93bddfdbf1d270b2b (commit)
via eadf38960776e36df75d6c3caf3a35b976acc56c (commit)
via 8454daa7feef14b660561f2434448d0b4ac0576d (commit)
via 686fae6d74c79310b5a8da04414a07ed9da299e1 (commit)
via d721bae443fe020bf755d0440684a17b75de970f (commit)
via 760bea543211673884c254b7e0c44e0f70fe2257 (commit)
via 8d3bd4ec13940da70f946e6e63d59a05c89cbb50 (commit)
via 132ec4c3b9f761fb76ff9cf567f3723db62d72df (commit)
via 3802cab56374b50d4775d9deaf229cdef5cdbe53 (commit)
from f98541400b7ede2d4a99de5f2f6a25257b545a98 (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 a671fa497c7317e240e014e93bddfdbf1d270b2b
Author: Florian Pritz <bluewind at xinu.at>
Date: Mon Dec 14 16:52:35 2015 +0100
makepkg: Output full URL in case of download failure
Most entries in $sources contain variables so finding out why a URL
fails to download is hard because one has to manually replace the
variables when looking at the PKGBUILD. Simply output the full URL here
so that it can be easily seen what is wrong.
Old:
==> ERROR: Failure while downloading example-1.2.4.tar.gz
New:
==> ERROR: Failure while downloading http://example.org/releases/1.1/example-1.2.4.tar.gz
With the new format it is much more obvious that the directory name is
the culprint (1.1 vs 1.2) while the old one would not display that
information.
Signed-off-by: Florian Pritz <bluewind at xinu.at>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit eadf38960776e36df75d6c3caf3a35b976acc56c
Author: Olivier Brunel <jjk at jjacky.com>
Date: Tue Dec 15 09:14:37 2015 +0100
alpm: Abort ASAP on failure in pre-transaction hooks
There is no need to run any/remaining pre-transaction hooks as soon as a failure
has occured, which will lead to aborting the transaction.
So if an error occured during the first phase (reading directories/parsing
files), or as soon as a hook flagged abort_on_fail does fail, we stop processing
them and return.
(For post-transaction hooks, all hooks are run regardless since there's no
aborting.)
Signed-off-by: Olivier Brunel <jjk at jjacky.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 8454daa7feef14b660561f2434448d0b4ac0576d
Author: Allan McRae <allan at archlinux.org>
Date: Mon Dec 14 23:53:53 2015 +1000
makepkg: run pkgver() and prepare() with --noextract
Modifications made to the source before running with --noextract may alter
the version string returned by pkgver(). Always run this function if present
and check build status before proceeding. Fixes FS#46800.
Also run prepare() when --noextract is used (unless --noprepare is specified).
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 686fae6d74c79310b5a8da04414a07ed9da299e1
Author: Allan McRae <allan at archlinux.org>
Date: Mon Dec 14 23:17:26 2015 +1000
Give error message when --files will do nothing
Point people towards the help when using "pacman -F" or "pacman -F foo".
Signed-off-by: Allan McRae <allan at archlinux.org>
commit d721bae443fe020bf755d0440684a17b75de970f
Author: Allan McRae <allan at archlinux.org>
Date: Mon Dec 14 20:23:26 2015 +1000
alpm-hooks: add Description field
The "Description" field allows a hook to provide a some text for frontends
to use in describing what the hook is doing. For example:
Description = updating info page directory
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 760bea543211673884c254b7e0c44e0f70fe2257
Author: Allan McRae <allan at archlinux.org>
Date: Mon Dec 14 15:48:44 2015 +1000
Show progress processing hooks
Introduces the ALPM_EVENT_HOOK_RUN_{START,DONE} events that are triggered
at the start and end of running an individual hook.
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 8d3bd4ec13940da70f946e6e63d59a05c89cbb50
Author: Allan McRae <allan at archlinux.org>
Date: Mon Dec 14 13:39:58 2015 +1000
Add ALPM_EVENT_TRANSACTION_{START,DONE} events
This provides a way to detect when the processing of package changes starts,
allowing pacman to delineate hook output and package installation/removal
output.
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 132ec4c3b9f761fb76ff9cf567f3723db62d72df
Author: Olivier Brunel <jjk at jjacky.com>
Date: Sun Dec 6 18:35:37 2015 +0100
Add events ALPM_EVENT_HOOK_{START,DONE}
Add events to let frontends know when hooks are being processed (and when it's
done), as that might be useful to update the UI.
Signed-off-by: Olivier Brunel <jjk at jjacky.com>
commit 3802cab56374b50d4775d9deaf229cdef5cdbe53
Author: Allan McRae <allan at archlinux.org>
Date: Mon Dec 14 12:40:26 2015 +1000
Collect all triggered hooks before running them
Having a first pass that checks which hooks are triggered followed by a
second pass of the triggered hooks allows us to only provide output when
a hook is actually triggered.
Signed-off-by: Allan McRae <allan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
doc/alpm-hooks.5.txt | 5 ++++
doc/makepkg.8.txt | 10 ++++----
lib/libalpm/alpm.h | 46 ++++++++++++++++++++++++++++++++-
lib/libalpm/hook.c | 50 +++++++++++++++++++++++++++++++++---
lib/libalpm/hook.h | 7 +----
lib/libalpm/trans.c | 5 ++++
scripts/libmakepkg/source/file.sh.in | 2 +-
scripts/makepkg.sh.in | 17 ++++++------
src/pacman/callback.c | 40 ++++++++++++++++++++++++-----
src/pacman/files.c | 7 ++++-
10 files changed, 157 insertions(+), 32 deletions(-)
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list