[pacman-dev] about pacdiff

Dan McGee dpmcgee at gmail.com
Tue Feb 17 13:36:17 EST 2009


On Tue, Feb 17, 2009 at 11:49 AM, Xavier <shiningxc at gmail.com> wrote:
> On Sun, Feb 15, 2009 at 3:14 PM, Kevin Barry <barryk at gmail.com> wrote:
>> What about using find in /etc but also running a locate? This means
>> that if a user never runs updatedb they still get pacdiff for /etc,
>> but other users can get global pacdiff.
>>
>
> Your idea appeared appealing at first, but after thinking about it a
> bit, I changed my mind, I would prefer a flag as Dan suggested.
> Either the locate db is up-to-date and there is no need to run find,
> or it's outdated, and it's probably better to not use its results at
> all because they are probably useless (missing all the new .pac*
> files, and possibly displaying .pac* files that no longer exist).

Don't forget about 'locate -e' to cover half of that problem.

Obviously patches are welcome for the pacdiff version we ship in contrib/.

-Dan


More information about the pacman-dev mailing list