From efd3747206adc34de5567a51f3a3341d328b312b Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 3 May 2018 14:27:24 +0200 Subject: [PATCH] Koji-gc does not work with modules. Let's exclude them for now Signed-off-by: Patrick Uiterwijk --- roles/koji_hub/templates/koji-gc.conf.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/koji_hub/templates/koji-gc.conf.j2 b/roles/koji_hub/templates/koji-gc.conf.j2 index 36cee65bf8..c9d70c3624 100644 --- a/roles/koji_hub/templates/koji-gc.conf.j2 +++ b/roles/koji_hub/templates/koji-gc.conf.j2 @@ -71,6 +71,14 @@ from_addr = Koji Build System [prune] policy = + # At this moment, all of modularity is off limits to GC + # Modularity with koji-gc is not working correctly. + # The specific problem: if you build pkga stream 1, 2 and 3, it will see + # the stream 2 and 3 as later order builds for pkga, and then it assumes + # it can clean up pkga stream 1 + tag *-modular-* :: keep + tag module-* :: keep + #stuff to protect #note that tags with master lock engaged are already protected tag *-updates :: keep