From 103bf3d6b72e8974846d50088a94da9c76a734ac Mon Sep 17 00:00:00 2001 From: Dan HorĂ¡k Date: Feb 19 2016 10:06:28 +0000 Subject: copy extra information for a tag cloned from primary koji --- diff --git a/util/koji-shadow b/util/koji-shadow index 3b62776..d6e34e6 100755 --- a/util/koji-shadow +++ b/util/koji-shadow @@ -967,6 +967,12 @@ class BuildTracker(object): #we don't need a target, we trigger our own repo creation and #pass that repo_id to the build call #session.createBuildTarget(taginfo['name'], taginfo['id'], taginfo['id']) + # duplicate also extra information for a tag (eg. packagemanager setting) + rtaginfo = remote.getTag(build.br_tag) + if 'extra' in rtaginfo: + opts = {} + opts['extra'] = rtaginfo['extra'] + session.editTag2(our_tag, **opts) else: parents = session.getInheritanceData(taginfo['id']) if parents: