[Rpm-maint] [rpm-software-management/rpm] --short-circuit poisons the produced packages (Issue #3091)
Panu Matilainen
notifications at github.com
Mon May 13 06:44:34 UTC 2024
> Only with --short-circuit we "poison" the produced packages to prevent people from distributing them (accidentally or otherwise).
It is a misfeature. It means that the produced packages cannot be compared and tested properly. In particular, `--short-circuit` is very often used to tweak and test details of `Obsoletes` and `Requires` and such. Not being able to produce the package that looks *exactly* like the normal output makes the build not useful.
The whole idea of "prevent people from distributing them" doesn't make much sense. You cannot build a package with `--short-circuit` "accidentally". It's a very long option that you need to insert in the right place. And I guess "otherwise" means "maliciously" here, and that's even less useful, because the person doing the build has full control over what is built, so they don't need to use `--short-circuit` to achieve malicious goals.
Instead of using `--short-circuit`, people are forced to either wait for full package builds (which can be hours), or do dirty tricks like comment out part of the spec file. Those solutions are much worse (and much more likely to go wrong), than the problem being solved, i.e. people forgetting that they used `--short-circuit` and distributing those packages.
Please drop this whole protection and let people use `--short-circuit` without any limitations.
_Originally posted by @keszybz in https://github.com/rpm-software-management/rpm/issues/3042#issuecomment-2074531384_
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3091
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3091 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240512/a4df87a9/attachment.html>
More information about the Rpm-maint
mailing list