From ebba627d033349e3492edde6e922926f8d7952d8 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Mar 02 2020 12:58:10 +0000 Subject: Clone config customization for namespaces After the 'clone' operation, a git config is updated with 'git-bz' config values. Now, these values can be customized based on the namespace of the cloned repository. Each namespace has its own key 'clone_config_' in config section. For namespaces, that missing this config ('tests' namespace is a good example), any of these values aren't updated. A repository has to be namespaced ('distgit_namespaced = True') for the config to be applied. Functional change is part of the rpkg, and needs to be released separately. JIRA: COMPOSE-2638 Related: #231 Signed-off-by: Ondrej Nosek --- diff --git a/conf/etc/rpkg/fedpkg.conf b/conf/etc/rpkg/fedpkg.conf index 1154b69..21ba960 100644 --- a/conf/etc/rpkg/fedpkg.conf +++ b/conf/etc/rpkg/fedpkg.conf @@ -13,6 +13,24 @@ clone_config = bz.default-version rawhide bz.default-component %(repo)s sendemail.to %(repo)s-owner@fedoraproject.org +clone_config_rpms = + bz.default-tracker bugzilla.redhat.com + bz.default-product Fedora + bz.default-version rawhide + bz.default-component %(repo)s + sendemail.to %(repo)s-owner@fedoraproject.org +clone_config_modules = + bz.default-tracker bugzilla.redhat.com + bz.default-product Fedora Modules + bz.default-version rawhide + bz.default-component %(repo)s + sendemail.to module-%(repo)s-owner@fedoraproject.org +clone_config_container = + bz.default-tracker bugzilla.redhat.com + bz.default-product Fedora Container Images + bz.default-version rawhide + bz.default-component %(repo)s + sendemail.to container-%(repo)s-owner@fedoraproject.org distgit_namespaced = True distgit_namespaces = rpms container modules flatpaks lookaside_namespaced = True