[pacman-dev] [PATCH RFC] DWIM if user attempts to sync on a file

Allan McRae allan at archlinux.org
Fri Jun 17 04:19:45 UTC 2016


On 16/06/16 10:01, Andrew Eikum wrote:
> I get bit by this fairly often when I build AUR packages. From my
> perspective as a user, the distinction between -U and -S seems
> irrelevant: I just want to install this package. So let's just have
> pacman offer to Do What I Mean and install the files if I use -S when I
> should have used -U.
> 
> Signed-off-by: Andrew Eikum <coldpie at fastmail.com>
> 
> ---
> 
> RFC because this lacks tests and maybe UI polish, but I thought I'd see
> if there's interest in this change before I put more effort into it.

I am interested...  I have a more general comment.  Why do we
distinguish between -S and -U at all?

@Andrew: you are looking at unified transactions.  Do you think merging
-S and -U makes sense.

Allan


More information about the pacman-dev mailing list