Skip to content

Commit

Permalink
Merge pull request cms-sw#143 from nclopezo/several-fixes-ib-pages
Browse files Browse the repository at this point in the history
IB Pages: don't download config.map since now it is in cms-bot
  • Loading branch information
nclopezo committed Oct 13, 2014
2 parents 9dede41 + 3b5728c commit e8d56b2
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions report-summary-merged-prs
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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 = []
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e8d56b2

Please sign in to comment.