From b134c771ddf87d8afb70307d80659e2c53f63311 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Feb 10 2017 04:44:32 +0000 Subject: Merge #6624 `Script changes for mass rebuild` --- diff --git a/scripts/find_failures.py b/scripts/find_failures.py index ebe719c..c7b75db 100755 --- a/scripts/find_failures.py +++ b/scripts/find_failures.py @@ -17,9 +17,9 @@ import datetime # Set some variables # Some of these could arguably be passed in as args. -buildtag = 'f23-rebuild' # tag to check -desttag = 'f23' # Tag where fixed builds go -epoch = '2015-06-16 00:00:00.000000' # Date to check for failures from +buildtag = 'f26-rebuild' # tag to check +desttag = 'f26' # Tag where fixed builds go +epoch = '2017-02-05 09:04:08.000000' # Date to check for failures from failures = {} # dict of owners to lists of packages that failed. failed = [] # raw list of failed packages diff --git a/scripts/mass-rebuild.py b/scripts/mass-rebuild.py index d610fa5..77eb4a3 100755 --- a/scripts/mass-rebuild.py +++ b/scripts/mass-rebuild.py @@ -17,14 +17,14 @@ import operator # Set some variables # Some of these could arguably be passed in as args. -buildtag = 'f24-rebuild' # tag to build from -targets = ['f24-candidate', 'rawhide', 'f24'] # tag to build from -epoch = '2016-02-02 10:30:08.000000' # rebuild anything not built after this date +buildtag = 'f26-rebuild' # tag to build from +targets = ['f26-candidate', 'rawhide', 'f26'] # tag to build from +epoch = '2017-02-05 09:04:08.000000' # rebuild anything not built after this date user = 'Fedora Release Engineering ' -comment = '- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild' +comment = '- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild' workdir = os.path.expanduser('~/massbuild') enviro = os.environ -target = 'f24-rebuild' +target = 'f26-rebuild' pkg_skip_list = ['fedora-release', 'fedora-repos', 'generic-release', 'redhat-rpm-config', 'shim', 'shim-signed', 'kernel', 'linux-firmware', 'grub2', 'openh264'] @@ -102,7 +102,7 @@ for pkg in pkgs: continue # Check out git - fedpkgcmd = ['fedpkg', 'clone', name] + fedpkgcmd = ['fedpkg', '--user', 'releng', 'clone', name] print 'Checking out %s' % name if runme(fedpkgcmd, 'fedpkg', name, enviro): continue diff --git a/scripts/need-rebuild.py b/scripts/need-rebuild.py index 9ca71b1..7db85d7 100755 --- a/scripts/need-rebuild.py +++ b/scripts/need-rebuild.py @@ -18,11 +18,11 @@ import sys # Set some variables # Some of these could arguably be passed in as args. -buildtag = 'f23-rebuild' # tag(s) to check -target = 'f23' -updates = 'f23-candidate' +buildtag = 'f26-rebuild' # tag(s) to check +target = 'f26' +updates = 'f26-candidate' rawhide = 'rawhide' # Change to dist-f13 after we branch -epoch = '2015-06-16 00:00:00.000000' # rebuild anything not built after this date +epoch = '2017-02-05 09:04:08.000000' # rebuild anything not built after this date tobuild = {} # dict of owners to lists of packages needing to be built unbuilt = [] # raw list of unbuilt packages newbuilds = {}