[pacman-dev] [PATCH] Adds a "retry?" prompt for when transaction creation fails for user-friendlier fail support.
arch at eckner.net
Wed Apr 29 07:32:16 UTC 2020
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, 29 Apr 2020, Allan McRae wrote:
> On 28/4/20 9:43 am, Pedro wrote:
>> EDIT: Rewrote the prompt message and added a check for the --noconfirm flag
>>> From what I could see, the function trans_init that comes right before the prompt has already specific messages
>> for each operation, so I consider that this new implementation fits the purpose.
>> My motivation to submit this patch is that it's pretty common for AUR-helpers to automatically invoke pacman after a build,
>> but correct transaction error handling is quite rare. So I thought that to implement a handling mechanism in the user side
>> would solve the problem not only in that case, but also for other scripts that invoke pacman.
>> Signed-off-by: Pedro <pedrocga1 at gmail.com>
> I don't see how retrying the same operation with the same input is going
> to help anyone. If pacman fails in these ways, it is not going to
> succeed the next attempt.
I repeatedly get download errors due to slow initial speed or whatnot
(updating 20+ clients simultanously seems to overload my local mirrors
somehow) - a "retry" option would indeed make a difference there.
However, I think, such a functionality should be provided by whoever calls
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
More information about the pacman-dev