-
Notifications
You must be signed in to change notification settings - Fork 62
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
frontend: allow config-based build-chroot tags #2834
Conversation
cbb4e0e
to
10aa53c
Compare
c2288e2
to
5ac2eec
Compare
5ac2eec
to
b0cf76e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor things, otherwise looks good.
Thank you.
# regexp pattern is matched against BuildChroot fully qualified names in the | ||
# format "user/project:dirname/chroot_name/pkgname", so example rule might | ||
# look like | ||
# "pattern": "r"john/projectX.*/fedora-.*-x86_64/chromium", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: There shouldn't be "
before r"..."
""" | ||
if "EXTRA_BUILDCHROOT_TAGS_COMPILED" in app.config: | ||
return | ||
new_array = app.config["_EXTRA_BUILDCHROOT_TAGS_COMPILED"] = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd drop the new_array
and access _EXTRA_BUILDCHROOT_TAGS_COMPILED
directly.
""" | ||
Given the build_id, finish the build with succeeded state | ||
Given the build_id, finish the source build (but don't import) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
finish_srpm_and_import
but finish the source build (but don't import)
. I am confused 😄
That is a duplicate info to the 'down_revision' field, and we often forget to update when rebasing against other revisions.
This feature is to get "high performance" builders into Copr: https://github.com/fedora-copr/debate/blob/main/2023-07-28-high-performance-builders.md praiskup/resalloc#118
b0cf76e
to
adb9eb5
Compare
Thank you for the review, updated! |
This feature is to get "high performance" builders into Copr: https://github.com/fedora-copr/debate/blob/main/2023-07-28-high-performance-builders.md praiskup/resalloc#118 Relates: fedora-copr#2834
This feature is to get "high performance" builders into Copr: https://github.com/fedora-copr/debate/blob/main/2023-07-28-high-performance-builders.md praiskup/resalloc#118