commit c8fa56bfffbdad502c13971ad077640f2acaa77a Author: Dennis Gilmore dennis@ausil.us Date: Sun Jul 5 20:39:27 2015 +0000
setup scripts for f23 mass rebuild
Signed-off-by: Dennis Gilmore dennis@ausil.us
scripts/find_failures.py | 8 ++++---- scripts/mass-rebuild.py | 10 +++++----- scripts/mass-tag.py | 6 +++--- scripts/need-rebuild.py | 11 ++++++----- 4 files changed, 18 insertions(+), 17 deletions(-) --- diff --git a/scripts/find_failures.py b/scripts/find_failures.py index c5a97f8..ebe719c 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 = 'f21-rebuild' # tag to check -desttag = 'f21' # Tag where fixed builds go -epoch = '2014-06-06 00:00:00.000000' # Date to check for failures from +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 failures = {} # dict of owners to lists of packages that failed. failed = [] # raw list of failed packages
@@ -86,7 +86,7 @@ def get_failed_builds(kojisession, epoch, buildtag, desttag):
if __name__ == '__main__': # Create a koji session - kojisession = koji.ClientSession('https://koji.fedoraproject.org/kojihub') + kojisession = koji.ClientSession('http://koji.fedoraproject.org/kojihub')
failbuilds = get_failed_builds(kojisession, epoch, buildtag, desttag)
diff --git a/scripts/mass-rebuild.py b/scripts/mass-rebuild.py index 19c529a..05aa861 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 = 'f21' # tag to build from -targets = ['f21-candidate', 'rawhide', 'f21'] # tag to build from -epoch = '2014-06-06 00:00:00.000000' # rebuild anything not built after this date +buildtag = 'f23' # tag to build from +targets = ['f23-candidate', 'rawhide', 'f23'] # tag to build from +epoch = '2015-06-16 00:00:00.000000' # rebuild anything not built after this date user = 'Fedora Release Engineering rel-eng@lists.fedoraproject.org' -comment = '- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild' +comment = '- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild' workdir = os.path.expanduser('~/massbuild') enviro = os.environ -target = 'f21-rebuild' +target = 'f23-rebuild'
pkg_skip_list = ['shim', 'shim-signed', 'kernel', 'grub2']
diff --git a/scripts/mass-tag.py b/scripts/mass-tag.py index 0eb4672..944e39e 100755 --- a/scripts/mass-tag.py +++ b/scripts/mass-tag.py @@ -15,8 +15,8 @@ import operator
# Set some variables # Some of these could arguably be passed in as args. -target = 'f22' # tag to tag into -holdingtag = 'f22-ruby' # tag holding the rebuilds +target = 'f23' # tag to tag into +holdingtag = 'f23-rebuild' # tag holding the rebuilds newbuilds = {} # dict of packages that have a newer build attempt tasks = {} # dict of new build task info
@@ -104,7 +104,7 @@ for build in builds: taglist.append(build['nvr']) kojisession.tagBuildBypass(target, build) pkgcount += 1 - if pkgcount == 100: + if pkgcount == 1000: print 'Tagging %s builds.' % pkgcount results = kojisession.multiCall() pkgcount = 0 diff --git a/scripts/need-rebuild.py b/scripts/need-rebuild.py index eae5300..9ca71b1 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 = 'f21-rebuild' # tag(s) to check -target = 'f21' -updates = 'f21-candidate' +buildtag = 'f23-rebuild' # tag(s) to check +target = 'f23' +updates = 'f23-candidate' rawhide = 'rawhide' # Change to dist-f13 after we branch -epoch = '2014-06-06 00:00:00.000000' # rebuild anything not built after this date +epoch = '2015-06-16 00: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 = {} @@ -32,6 +32,7 @@ kojihubs = [ 'http://koji.fedoraproject.org/kojihub', 'http://s390.koji.fedoraproject.org/kojihub', 'http://ppc.koji.fedoraproject.org/kojihub', +'http://arm.koji.fedoraproject.org/kojihub', ]
#'http://sparc.koji.fedoraproject.org/kojihub', @@ -135,7 +136,7 @@ for owner in sorted(tobuild.keys()): print '<dd><a href="http://koji.fedoraproject.org/koji/packageinfo?packageID=%s">%s</a></dd>' % (pkg, pkg) print '</dl>' print '<p>The script that generated this page can be found at ' -print '<a href="https://fedorahosted.org/rel-eng/browser/scripts">https://fedorahosted.org/rel-eng/browser/scripts</a>.' +print '<a href="https://pagure.io/releng/blob/master/f/scripts">https://pagure.io/releng/blob/master/f/scripts</a>.' print 'There you can also report bugs and RFEs.</p>' print '</body>' print '</html>'
rel-eng@lists.fedoraproject.org