[Rpm-maint] [rpm-software-management/rpm] Add support for RPMDBI_BASENAMES on file queries (#1755)

Michal Domonkos notifications at github.com
Fri Sep 10 17:11:19 UTC 2021


> Oh, indeed. There are a few additional subtleties there as you point out, and my "whether on disk or not" is not quite right. I think I originally wrote that "whether installed or not", which is closer to the point, but then I changed to "on disk" because "installed" may refer to package or a file, and .. meh sweat_smile

Actually, "on disk" would be a good enough abstraction, I think, but let's go with "installed" for another reason, which is that it's an established term used throughout the man page already (i.e. we say "installed" whenever we mean "on disk").

> To remove that ambiguity one could simply say something like "Query package(s) containing PATH, whether the file is installed or not".

I think we could even leave out "the file" because we're talking about package queries here and it is assumed that those packages are installed... but yeah, let's not make it overly cryptic either. :smile:

> The replaced files case is a bit special, but replacing a file causes effectively an ownership change so "owning the file" kinda takes care of that. It wouldn't hurt to explain it though, if you find a nice way of putting it.

Good point. I'm adding a note there which should make this replacement case obvious, without being overly verbose. It's now two sentences instead of one, which triggers my OCD, but meh, if that helps someone... But let me know, we can just drop it :smile: 

Pushing the PR next.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1755#issuecomment-917069192
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210910/2057748c/attachment.html>


More information about the Rpm-maint mailing list