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

Empty/wrong trigger of Bodhi updates triggered by a user Koji build #2428

Open
nforro opened this issue May 16, 2024 · 0 comments
Open

Empty/wrong trigger of Bodhi updates triggered by a user Koji build #2428

nforro opened this issue May 16, 2024 · 0 comments
Labels
area/other Related to some other area/category than the specified ones. complexity/single-task Regular task, should be done within days. gain/high This brings a lot of value to (not strictly a lot of) users. impact/low This issue impacts only a few users. kind/bug Something isn't working.

Comments

@nforro
Copy link
Member

nforro commented May 16, 2024

For a Bodhi update triggered by a successful Koji build triggered by a user (not Packit), get_project() returns None and the update shows up in the dashboard with a / trigger (because repo_namespace and repo_name are not populated):

if project := update.get_project():
update_dict["project_url"] = project.project_url
update_dict["repo_namespace"] = project.namespace
update_dict["repo_name"] = project.repo_name

@mfocko mfocko added kind/bug Something isn't working. impact/low This issue impacts only a few users. area/other Related to some other area/category than the specified ones. gain/high This brings a lot of value to (not strictly a lot of) users. complexity/single-task Regular task, should be done within days. labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/other Related to some other area/category than the specified ones. complexity/single-task Regular task, should be done within days. gain/high This brings a lot of value to (not strictly a lot of) users. impact/low This issue impacts only a few users. kind/bug Something isn't working.
Projects
Status: priority-backlog
Development

No branches or pull requests

2 participants