FS#47908 - ghost file support

Attached to Project: Pacman
Opened by Allan McRae (Allan) - Wednesday, 27 January 2016, 01:16 GMT
Task Type Feature Request
Category General
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No

Details

it may be useful to track additional files to be removed when an extra flag is added. e.g. cache files
This task depends upon

Comment by Earnestly (Earnest) - Sunday, 21 February 2016, 22:37 GMT
Some thoughts on this:

== PKGBUILD

ghosts=(var/cache/foo.db
var/cache/bar.db)

== SRCINFO/PKGINFO

ghosts = var/cache/foo.db
ghosts = var/cache/bar.db

== /var/lib/pacman/local/foo/files

%GHOSTS%
var/cache/foo.db
var/cache/bar.db

== Some questions about this:

1) Is pacman allowed to remove these files or only when forced to?

[Typically generated files can be important so a new flag is probably the
wisest choice here.]

2) Could this be integrated with pacman -F to directly list ghost files?

== My opinion:

It seems like this feature would be mostly only used for pacman -Sii, -Qii and
-F with pacman itself not being involved in their management, only tracking
their existence.

Loading...