FBR: hotfix - Don't clean old mashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This replaces the other FBR I filed today. I would like to manually
apply (i.e., hotfix) this patch to bodhi-backend01 as a temporary
workaround for #7194[0]:


diff --git a/bodhi/server/consumers/masher.py
b/bodhi/server/consumers/masher.py
index ecf88fd3..43c2ac5f 100644
--- a/bodhi/server/consumers/masher.py
+++ b/bodhi/server/consumers/masher.py
@@ -432,7 +432,6 @@ class ComposerThread(threading.Thread):

             # Clean old composes
             self.save_state(ComposeState.cleaning)
-            clean_old_mashes.remove_old_composes()

             self.save_state(ComposeState.success)
             self.success = True


For a longer term fix, I will wrap the above dropped line in an if
statement that checks a new setting for whether Bodhi should
auto-cleanup old composes, and I will include that patch in Bodhi 3.10.0
(planned for release after the current freeze).


[0] https://pagure.io/fedora-infrastructure/issue/7194

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux