#25 Add packages to a koji package group as mandatory not default
Closed 8 years ago by mikem. Opened 8 years ago by pbrobinson.
pbrobinson/koji comps-default  into  master

file modified
+1 -1
@@ -1671,7 +1671,7 @@ 

          if not changed and not force:

              #no point in adding it again with the same data (unless force is on)

              return

-     opts.setdefault('type','default')

+     opts.setdefault('type','mandatory')

      opts['group_id'] = group['id']

      opts['tag_id'] = tag['id']

      opts['package'] = pkg_name

no initial comment

Fix issues with default vs mandatory packages in groups

@mikem this is needed due to how dnf works.

As noted in the following bug, this patch only changes the default for new comps entries.
https://bugzilla.redhat.com/show_bug.cgi?id=1303991

Seems sane enough, and doesn't prevent tools from specifying type='default' if they want (though the cli has no option for it currently).

Pull-Request has been closed by mikem

8 years ago
Metadata