From 21b474f50d676bb3c3cea6892020ab9480a42ffa Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Jul 21 2021 10:19:01 +0000 Subject: F35 Mass Rebuild Signed-off-by: Tomas Hrcka --- diff --git a/scripts/find_failures.py b/scripts/find_failures.py index 885336b..f65b3c4 100755 --- a/scripts/find_failures.py +++ b/scripts/find_failures.py @@ -24,9 +24,9 @@ from requests.packages.urllib3.util.retry import Retry # Set some variables # Some of these could arguably be passed in as args. -buildtag = 'f34-rebuild' # tag to check -desttag = 'f34' # Tag where fixed builds go -epoch = '2021-01-25 21:00:00.000000' # Date to check for failures from +buildtag = 'f35-rebuild' # tag to check +desttag = 'f35' # Tag where fixed builds go +epoch = '2021-07-21 10:00:00.000000' # Date to check for failures from failures = {} # dict of owners to lists of packages that failed. failed = [] # raw list of failed packages ownerdataurl = 'https://src.fedoraproject.org/extras/pagure_owner_alias.json' diff --git a/scripts/mass-rebuild.py b/scripts/mass-rebuild.py index 3decfce..d698c34 100755 --- a/scripts/mass-rebuild.py +++ b/scripts/mass-rebuild.py @@ -22,7 +22,7 @@ from massrebuildsinfo import MASSREBUILDS # Set some variables # Some of these could arguably be passed in as args. -rebuildid = 'f34' +rebuildid = 'f35' massrebuild = MASSREBUILDS[rebuildid] user = 'Fedora Release Engineering ' comment = '- Rebuilt for ' + massrebuild['wikipage'] @@ -177,7 +177,7 @@ for pkg in pkgs: continue # git commit - commit = ['fedpkg', 'commit', '-s', '-p', '-m', comment] + commit = ['fedpkg', 'commit', '-s', '-p', '-m', comment, '--' , '--allow-empty'] print('Committing changes for %s' % name) if runme(commit, 'commit', name, enviro, cwd=os.path.join(workdir, name)): diff --git a/scripts/massrebuildsinfo.py b/scripts/massrebuildsinfo.py index 2a7083c..1b5c58f 100644 --- a/scripts/massrebuildsinfo.py +++ b/scripts/massrebuildsinfo.py @@ -18,14 +18,35 @@ PKG_SKIP_LIST = [ 'shim-signed', 'shim-unsigned-aarch64', 'shim-unsigned-x64', + 'ghc', #remove after mass rebuild ] # keep this sorted new -> old MASSREBUILDS = { + #f36 ftbfs bug tracker: TBA "f35": { + "buildtag": 'f35-rebuild', # tag to build from + "epoch": '2021-07-21 10:00:00.000000', # rebuild anything not built after this date + "module_mass_rebuild_epoch": '2021-07-21T10:00:00Z', + # rebuild anything not built after this date for modules + "module_mass_branching_epoch": '2022-08-10T22:30:00Z', + # rebuild anything not built after this date for modules + "module_mass_rebuild_platform": "f35", + # rebuild all modules that has build time dependency on this platform, this is used during mass rebuild time + "module_mass_branching_platform": "f36", + # rebuild all modules that has run time dependency on this platform, this is used during mass branching time + "targets": ['f35-candidate', 'rawhide', 'f35'], + # build targets to check for existing builds to skip rebuild + "target": 'f35-rebuild', # target to build into + "desttag": 'f35', # Tag where fixed builds go + "product": "Fedora", # for BZ product field + "version": "rawhide", # for BZ version field, rawhide before branching or xx after branching + "rawhide_version": "35", # for next version calculation and other comments "tracking_bug": "1927309", # Tracking bug for mass build failures + "wikipage": "https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild", + "pkg_skip_list": PKG_SKIP_LIST, # packages to skip in rebuild }, "f34": { diff --git a/scripts/need-rebuild.py b/scripts/need-rebuild.py index 8b76fd1..ffcb7da 100755 --- a/scripts/need-rebuild.py +++ b/scripts/need-rebuild.py @@ -19,11 +19,11 @@ import sys # Set some variables # Some of these could arguably be passed in as args. -buildtag = 'f34-rebuild' # tag(s) to check -target = 'f34' -updates = 'f34-candidate' +buildtag = 'f35-rebuild' # tag(s) to check +target = 'f35' +updates = 'f35-candidate' rawhide = 'rawhide' # Change to dist-f13 after we branch -epoch = '2021-01-25 21:00:00.000000' # rebuild anything not built after this date +epoch = '2021-07-21 10:00:00.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 = {}