[Rpm-maint] [rpm-software-management/rpm] --hash and --percent not allowed for --restore (Issue #3917)

Florian Festi notifications at github.com
Mon Sep 8 13:56:57 UTC 2025


ffesti left a comment (rpm-software-management/rpm#3917)

https://github.com/rpm-software-management/rpm/blob/master/tools/rpm.cc#L111 should probably also use the MODES_IER for the second `||` term. Otoh this condition can't be true in the current code and we might want to juts drop it completely.

There is also the question if there are a few other options that should be allows for --restore. Candidates might be

* --relocate
* --excludepath
* --prefix
* --excludedocs/--includedocs
* --ignoreos
* --allmatches
* --allfiles
* --no script options
* --test

basically most --install options

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3917#issuecomment-3266460231
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3917/3266460231 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250908/8a614e58/attachment.htm>


More information about the Rpm-maint mailing list