packit / packit-service

Packit provided as a service
https://packit.dev
MIT License
34 stars 46 forks source link

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

Open nforro opened 1 month ago

nforro commented 1 month ago

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):

https://github.com/packit/packit-service/blob/d95578f528b9aa8c8d40c97c87dae66ea92276e0/packit_service/service/api/bodhi_updates.py#L46-L49