comparison contrib/sawmill/web/templates/details.html @ 468:0cbf154431db

recognize more build states in sawmill
author Sascha Teichmann <teichmann@intevation.de>
date Thu, 09 Sep 2010 15:40:34 +0000
parents 10d4cbffcc07
children d760c6cd2abf
comparison
equal deleted inserted replaced
467:7fd8af79e652 468:0cbf154431db
107 107
108 last_date = None 108 last_date = None
109 109
110 STATUS2CLASS = { 110 STATUS2CLASS = {
111 'creating_binary_package': 'inprogress', 111 'creating_binary_package': 'inprogress',
112 'creating_source_package': 'inprogress',
113 'source_package_created': 'error',
112 'binary_package_created': 'finished' 114 'binary_package_created': 'finished'
113 } 115 }
114 116
115 STATUS2MSG = { 117 STATUS2MSG = {
116 'creating_binary_package': 'building binary packages', 118 'creating_binary_package': 'building binary packages',
117 'binary_package_created': 'build successful' 119 'creating_source_package': 'building source package',
120 'source_package_created': '',
121 'binary_package_created': 'build successful'
118 } 122 }
119 123
120 for track_item in track_items: 124 for track_item in track_items:
121 # for all track items 125 # for all track items
122 curr_date = date_from_datetime(track_item.build_start) 126 curr_date = date_from_datetime(track_item.build_start)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)