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

non-tito builds don't contain %{dist} and %{foremandis} macros in SRPM name #318

Closed
evgeni opened this issue Aug 19, 2022 · 5 comments
Closed
Assignees

Comments

@evgeni
Copy link
Member

evgeni commented Aug 19, 2022

theforeman/foreman-packaging#8364 (3.3 tito-based build) links in checks to "koji/rubygem-foreman_webhooks-3.0.4-1.fm3_3.el8.src.rpm"
theforeman/foreman-packaging#8362 (nightly, non-tito) links to "koji/rubygem-foreman_webhooks-3.0.4-1.src.rpm"

This is confusing :)

@ehelms
Copy link
Member

ehelms commented Aug 22, 2022

The design idea with build SRPM is that it only needs to build the SRPM once and then send that up to Koji or mock. There are two approaches we can take:

  1. Change it so that it generates an SRPM per dist and foremandist
  2. Change our task info logic to look at child tasks and pluck out hte value form the rebuildSRPM task

@evgeni
Copy link
Member Author

evgeni commented Aug 22, 2022

I think 2 is the cleaner solution given the (now explained and found good) design :)

@evgeni
Copy link
Member Author

evgeni commented Aug 30, 2022

@ehelms another interesting side-effect: nightly builds don't have their nightly tag when built from a PR: http://koji.katello.org/koji/buildinfo?buildID=72915

(cc @ekohl )

@ehelms
Copy link
Member

ehelms commented Oct 22, 2024

@evgeni This was created back when we used Koji and was primarily a CI issue where the individual jobs per dist were not clear, now with Copr we display it as:

@theforeman-bot
copr/foreman_ygg_worker-opensuse-leap-15.5-x86_64 — Copr build
[Details](https://copr.fedorainfracloud.org/coprs/build/8162168)
@theforeman-bot
copr/foreman_ygg_worker-rhel-7-x86_64 — Copr build
[Details](https://copr.fedorainfracloud.org/coprs/build/8162167)
@theforeman-bot
copr/foreman_ygg_worker-rhel-8-x86_64 — Copr build
[Details](https://copr.fedorainfracloud.org/coprs/build/8162166)
@theforeman-bot
copr/foreman_ygg_worker-rhel-9-x86_64 — Copr build

Where the chroot is used for each one from Copr. This would not include the foremandist aspect however. The builds as listed (https://copr.fedorainfracloud.org/coprs/g/theforeman/plugins-nightly-staging/builds/) lack the dist and foremandist because that represents the SRPM that was uploaded. If you think we should still tackle this and ensure it includes dist/foremandist in the SRPM then I'll tackle making this change:

Change it so that it generates an SRPM per dist and foremandist

@evgeni
Copy link
Member Author

evgeni commented Oct 23, 2024

I think the display with Copr is sufficiently distinct now, so I'd close this as "not needed anymore".

@ehelms ehelms closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants