-
Notifications
You must be signed in to change notification settings - Fork 433
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
noarch packages not published properly when previously built arch is disabled #4968
Comments
publishing happens when a repo/arch is finished, so s390 should not slow you down. You will have then all versions of the package in the repo. |
I posted observed evidence showing a different behavior. What you described would be nice, but given noarch are shared it seems to along with the behavior I documented. |
sorry, but I don't see any evidence atm. It would be a createrepo_c bug if both binaries are there, but metadata would contain only on package. but I am not able to reproduce it that with the version of createrepo_c on the backend servers. Please reconstruct the problem, atm it is not there. |
Just an uninformed guess... could it be that the 20180510.b4943dc-351.1 version was considered to be older and thus ignored by createrepo / the publisher? |
On Dienstag, 15. Mai 2018, 09:19:28 CEST wrote Björn Geuken:
Just an uninformed guess... could it be that the 20180510.b4943dc-351.1 version was considered to be older and thus ignored by createrepo / the publisher?
no, it always adds all files.
…--
Adrian Schroeter
email: adrian@suse.de
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
|
I think it had something to do with disabling while existing build job, but I cannot re-create in home project as I see it adding all binaries. Similar to the other issue this is still undesirable since it is adding binaries from the disabled arch. So I have the updated version from the new arch and the stale binaries from the disabled arch. Unlike the other issue I can use:
to drop the stale binaries from the disabled arch and they are removed from repo-md. As such seems like the only desired outcome would be to automatically wipe binaries when disabled. |
No, this would be a massive incompatible change and it would block other use cases where you just temporary freeze the builds. Also breaking deps when rpms require exact release numbers of noarch packages. What should happen is:
If you look for a solution to not build or publish binaries then there are ways to switch them to excluded or to apply publishfilter. But this is IMHO out of scope of this bugreport. |
Issue Description
Encountered with openSUSE:Tools/openSUSE-release-tools. Was tired of waiting for
s390x
to build (extremely slow worker) since it is utterly unnecessary so I disabled it. This resulted in publishing the updatednoarch
packages to tree, but notrepo-md
.From
...primary.xml
:From http tree:
b4943dc
being newer and desired, but never gets published as publishing shows complete.Expected Result
The
b4943dc
binary would be published inrepo-md
at the least.How to Reproduce
noarch
package for multiple archsrepo-md
Further Information
This is likely extremely related to #4373 which likely indicates the approach used in implementation as questionable. I am adding
ExclusiveArch: x86_64
since that will likely solve for same reasons as other issue. If this is not to be fixed I would suggest removal ofdisabled
feature being a topic of consideration.The text was updated successfully, but these errors were encountered: