[pacman-dev] [PATCH] Allow querying directory ownership
Andrew Gregory
andrew.gregory.8 at gmail.com
Mon May 21 21:20:54 EDT 2012
On Tue, 22 May 2012 08:28:11 +1000
Allan McRae <allan at archlinux.org> wrote:
> The restriction of not checking the ownership of a directory is
> unnecessary given that all the package filelists contain this
> information. Remove this restriction, with the expectation that you
> might get multiple packages returned for a given directory.
> Additionally attempt to minimise the number of files getting through
> to the slow realpath call.
>
> This combines ideas from two patches that have been around for a long
> time.
>
> Original-work-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> Original-work-by: Dan McGee <dan at archlinux.org>
> Signed-off-by: Allan McRae <allan at archlinux.org>
I actually decided to try tackling this again recently too. If
you're interested, you can see the most recent incarnation here:
http://bitbucket.org/andrewgregory/pacman/changesets/tip/directory_owner
It gets rid of a lot of the basename/dirname stuff which I think makes
it a lot easier to follow.
More information about the pacman-dev
mailing list