#1601 fix recycling build due to cg
Merged 4 years ago by mikem. Opened 4 years ago by tkopecek.
tkopecek/koji issue1598  into  master

file modified
+3 -1
@@ -5313,7 +5313,9 @@ 

      update = UpdateProcessor('build', clauses=['id=%(id)s'], values=data)

      update.set(**dslice(data,

          ['state', 'task_id', 'owner', 'start_time', 'completion_time',

-          'epoch', 'source', 'extra', 'volume_id', 'cg_id']))

+          'epoch', 'source', 'extra', 'volume_id']))

+     if 'cg_id' in data:

+         update.set(cg_id=data['cg_id'])

      update.rawset(create_event='get_event()')

      update.execute()

      builddir = koji.pathinfo.build(data)

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

4 years ago

Metadata Update from @mfilip:
- Pull-request tagged with: testing-done

4 years ago

Commit c363aa2 fixes this pull-request

Pull-Request has been merged by mikem

4 years ago