bodhi icon indicating copy to clipboard operation
bodhi copied to clipboard

Unable to edit update FEDORA-EPEL-2020-9a2dd704b8

Open dcantrell opened this issue 4 years ago • 3 comments

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9a2dd704b8

I submitted this one using "fedpkg update" and too quickly saved it before noticing it had picked up my mention of GitHub Issues in the RPM %changelog as bugzilla bugs and added those to the update. These are wrong. I am trying to remove them from the Bodhi update, but it's not saving. Also, Bodhi seems to insist on this update being security related. It's not. It's a new package for EPEL-8.

Please help.

dcantrell avatar May 19 '20 13:05 dcantrell

OK, got it to save 'newpackage'. But it still has this bogus list of bugs and it won't let me delete them.

dcantrell avatar May 19 '20 13:05 dcantrell

I get this when I try to delete bugs from the update:

Builds : Unable to create update. DELETE statement on table 'update_bug_table' expected to delete 1 row(s); Only 2 were matched.

dcantrell avatar May 19 '20 14:05 dcantrell

So, there are some different points here:

  • those bugs were attached from changelog by fedpkg update, not Bodhi itself. I've asked upstream to refine the regex used for that: https://pagure.io/fedpkg/issue/404
  • I think also the Security type was set by fedpkg, since Bodhi defaults to Unspecified, but I'm not completely sure here
  • About not being able to delete bugs in the update, I can't reproduce the error in a local vagrant environment. I'm unable to debug this error since I have no admin rights.

Can you try to edit the update from Bodhi CLI and remove bugs from there? Does it return the same error?

mattiaverga avatar May 20 '20 07:05 mattiaverga