#2009 CG: add and update buildinfo.extra.typeinfo if it doesn't exist
Merged a year ago by tkopecek. Opened a year ago by julian8628.
julian8628/koji issue/2008  into  master

file modified
+4 -2
@@ -6093,8 +6093,10 @@ 

          koji.check_NVR(buildinfo, strict=True)

  

          # get typeinfo

-         b_extra = self.metadata['build'].get('extra', {})

-         typeinfo = b_extra.get('typeinfo', {})

+         buildinfo.setdefault('extra', {})

+         b_extra = buildinfo['extra']

+         b_extra.setdefault('typeinfo', {})

+         typeinfo = b_extra['typeinfo']

  

          # legacy types can be at top level of extra

          for btype in ['maven', 'win', 'image']:

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

a year ago

pretty please pagure-ci rebuild

a year ago

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

a year ago

Commit ebbe59a fixes this pull-request

Pull-Request has been merged by tkopecek

a year ago