#377 Clone config customization for namespaces
Merged 4 years ago by onosek. Opened 4 years ago by onosek.
onosek/fedpkg clone_config  into  master

file modified
+18
@@ -13,6 +13,24 @@ 

    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

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_<namespace>' 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 onosek@redhat.com

rebased onto 4196ac7a9670752e7e5ac8b6f2eab3e3a1a9735a

4 years ago

rebased onto eebf98d

4 years ago

rebased onto ebba627

4 years ago

Pull-Request has been merged by onosek

4 years ago