Open wfrisch opened 3 years ago
Implementation: https://github.com/wfrisch/createrepo_c/tree/verbose-filelists
I also added a new command-line option --verbose-filelists
, but it's not wired up to anything yet.
Please let me know what you think.
What use cases do you have in mind?
What use cases do you have in mind?
Individual file hash digests allow the user to monitor individual files within an entire repository. For instance, I'd like to monitor changes in systemd unit files or udev rules.
Permissions issues can be detected with the attributes mode
, user
and group
.
File size is not very important for me personally and I could do without it.
It might be of interest that recently there was a new switch added: --filelists-ext
that generates filelists with file hashes.
It would be useful to have optional metadata within the
<file>
elements offilelists.xml
:All of these properties are present in RPM headers and could be included at very low run-time cost. A package in filelists.xml could look like this:
The new behavior should be enabled by a command-line option, e.g.
--verbose-filelists
, in order not to bloat the XML for users who do not need the additional metadata.