From 7fac5ad7c6bb5f27bcfd602f167dbccf54f1526b Mon Sep 17 00:00:00 2001
From: intrigeri <intrigeri@boum.org>
Date: Sun, 1 Jul 2018 18:45:20 +0000
Subject: [PATCH] Rakefile: set back to 6 months the age to which baseboxes
 gets deleted by basebox:clean_old.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The basebox currently used by most our branches is now 4 months old,
so every build on Jenkins starts by deleting it… and then recreates
it from scratch. Six months is more in line with the delay between
our major releases these days.

This reverts commit fc1bba108640e6057bcd0a34f052de1aebab5461.
---
 Rakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Rakefile b/Rakefile
index fb7097e3ea9..921fe44236c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -647,7 +647,7 @@ namespace :basebox do
     boxes.sort! { |a, b| basebox_date(a) <=> basebox_date(b) }
     boxes.pop
     boxes.each do |box|
-      if basebox_date(box) < Date.today - 365.0/3.0
+      if basebox_date(box) < Date.today - 365.0/2.0
         clean_up_basebox(box)
       end
     end
-- 
GitLab