Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: ensure sub-packages are kept in sync automatically #1105

Open
pmatilai opened this issue Mar 5, 2020 · 2 comments
Open

RFE: ensure sub-packages are kept in sync automatically #1105

pmatilai opened this issue Mar 5, 2020 · 2 comments
Labels
generator Dependency generation related handsfree Packaging automation and convenience RFE

Comments

@pmatilai
Copy link
Member

pmatilai commented Mar 5, 2020

The vast majority of packages out there have at least one sub-package, and most of them want to ensure the sub-packages stay in sync with the main package, simply to avoid having to test and/or support packages with arbitrary theoretically legitimate combinations which can lead to time-consuming corner-case bugs. So on top of all the automatically generated soname dependencies and such, we have specs full of constructs like this to force it:

Requires:       %{name}%{?_isa} = %{version}-%{release}

This is ugly and error-prone boilerplate in specs, and sometimes creates artificial dependency loops that mess up with ordering. And so on. Rpm should automate this somehow, and that somehow should not include littering packages with umphteen more dependencies automatically, but something more intelligent.

@pmatilai pmatilai added the RFE label Mar 5, 2020
@pmatilai pmatilai added this to Needs triage in Ticket Review (Outdated) via automation Mar 5, 2020
@voxik
Copy link
Contributor

voxik commented Mar 10, 2020

Actually, I think it would be much better if this was used instead:

Requires:       %{name}%{?_isa} >= %{version}-%{release}

Being too strict makes various problems during updates.

@pmatilai
Copy link
Member Author

pmatilai commented Mar 10, 2020

Eh? Subtle mismatches between packages is pretty much the crux of the problem.

But clearly, one size does not fit everybody so there needs to be a way to disable whateverthisendsupbeing where necessary.

@ffesti ffesti removed this from Needs triage in Ticket Review (Outdated) Jul 21, 2022
@pmatilai pmatilai added generator Dependency generation related handsfree Packaging automation and convenience labels Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Dependency generation related handsfree Packaging automation and convenience RFE
Projects
Status: Backlog
Development

No branches or pull requests

2 participants