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

Earnestly zibeon at googlemail.com
Fri Jun 17 15:51:09 UTC 2016


On Fri, Jun 17, 2016 at 11:21:08AM -0400, Andrew Gregory wrote:
> The problem with allowing -S to handle paths/urls is that package
> package names are also valid paths.  Having pacman attempt to pick the
> one that makes the most sense by default would be okay, but users need
> to have some way to unambiguously distinguish between the two.

Perhaps consider requiring an absolute path for distinguishing local
files.  It might also be possible to re-use the -f flag (such as tar(1))
for being extra explicit.


More information about the pacman-dev mailing list