From fe795ff8de2615b58a84ef7d80a919a5dad26304 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 20 Oct 2017 20:35:29 +0000 Subject: [PATCH] Add modules to f27-modular-updates even if their only branch is '2.4' --- roles/bodhi2/backend/templates/owner-sync-pagure.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 index 6131b130bb..b3400bf3b5 100755 --- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 +++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 @@ -401,9 +401,13 @@ if __name__ == '__main__': namespace = info['namespace'] pkgs = [] for pkg, branches in namespace_to_projects[namespace].items(): - # The tag and branch names are the same for "old-style" branches if info['branch'] in branches or tag == ('f' + RAWHIDE): + # The tag and branch names are the same for "old-style" branches pkgs.append(pkg) + elif namespace == 'modules': + # Add modules to f27-modular-updates even if their only branch is '2.4' + pkgs.append(pkg) + # This is a special project, not in dist-git, but which needs to be in # the package list. if namespace == 'rpms':