From 3b5728c9adee1d5a3a5e749b555c8c8c6f4cdf50 Mon Sep 17 00:00:00 2001 From: David Mendez Date: Mon, 13 Oct 2014 10:49:36 +0200 Subject: [PATCH] IB Pages: don't download config.map since now it is in cms-bot --- report-summary-merged-prs | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/report-summary-merged-prs b/report-summary-merged-prs index 7559be1176f25..b9e6ceb248186 100755 --- a/report-summary-merged-prs +++ b/report-summary-merged-prs @@ -59,7 +59,7 @@ def parse_config_map_line ( line ): # is different from the release queue def get_config_map_params(): - f = open( 'config.map' , 'r' ) + f = open( CONFIG_MAP_FILE , 'r' ) for line in f.readlines(): params = parse_config_map_line ( line.rstrip() ) print params @@ -614,27 +614,6 @@ def fill_missing_cmsdist_tags( results ): def cleanup_not_built_tags( results ): for rq in results: - #for comp in rq['comparisons']: - # isIB = comp[ 'isIB' ] - # no_prs = len( comp[ 'merged_prs' ] ) == 0 - # noIBBuilt = len( comp[ 'tests_archs' ] ) == 0 - - # if ( isIB and no_prs and noIBBuilt ): - # rq[ 'comparisons' ].remove( comp ) - # print 'Removed:' - # print comp['compared_tags'].split('-->')[1] - # else: - # print 'Not Removed:' - # print comp['compared_tags'].split('-->')[1] - - # print comp[ 'isIB' ] - # print comp[ 'isIB' ] - # print comp[ 'merged_prs' ] - # print len( comp[ 'merged_prs' ] ) - # print comp[ 'tests_archs' ] - # print len( comp[ 'tests_archs' ] ) - # print '------' - clean_comparisons = [ comp for comp in rq['comparisons'] if not ( comp[ 'isIB' ] and len( comp[ 'merged_prs' ] ) == 0 and len( comp[ 'tests_archs' ] ) == 0 ) ] rq['comparisons'] = clean_comparisons @@ -794,7 +773,7 @@ MAGIC_COMMAND_FIND_STATIC_CHECKS = 'curl -s -k --head %s | head -n 1' % STATIC_C MAGIC_COMMAND_FIND_HLT_TESTS = 'curl -s -k --head %s | head -n 1' % HLT_TESTS_URL -MAGIC_COMMAND_GET_CONFIG_MAP = 'wget --no-check-certificate https://raw.githubusercontent.com/cms-sw/cms-bot/HEAD/config.map' +CONFIG_MAP_FILE = 'config.map' # this will be filled using config.map by get_config_map_params() ARCHITECTURES = [] @@ -845,8 +824,6 @@ class PossibleUnitTestResults: results = [] -get_output_command( MAGIC_COMMAND_GET_CONFIG_MAP ) - get_config_map_params() SP_REL_REGEX = "|".join(SPECIAL_RELEASES)