Allow module name aliases for mapping to Launchpad projects
Some project may have different names for repo and for Launchpad project. E.g. Fuel has a number of repos, LP project is called 'fuel' and there's no repo called 'fuel'. To enable bugs and blueprint processing the project is configured to have alias name 'fuel'. This patch also improved blueprint details report. Change-Id: Ic5e5869bba675aa7f7ccb5a73527390cd67739cd
This commit is contained in:
		@@ -114,7 +114,7 @@ function renderTableAndChart(url, container_id, table_id, chart_id, link_param,
 | 
			
		||||
 | 
			
		||||
                for (i = 0; i < data.length; i++) {
 | 
			
		||||
                    if (i < limit - 1) {
 | 
			
		||||
                        chartData.push([data[i].name.trunc(30), data[i].metric]);
 | 
			
		||||
                        chartData.push([data[i].name.trunc(36), data[i].metric]);
 | 
			
		||||
                    } else {
 | 
			
		||||
                        aggregate += data[i].metric;
 | 
			
		||||
                    }
 | 
			
		||||
@@ -137,7 +137,7 @@ function renderTableAndChart(url, container_id, table_id, chart_id, link_param,
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                if (i == limit) {
 | 
			
		||||
                    chartData.push([data[i - 1].name.trunc(30), data[i - 1].metric]);
 | 
			
		||||
                    chartData.push([data[i - 1].name.trunc(36), data[i - 1].metric]);
 | 
			
		||||
                } else if (i > limit) {
 | 
			
		||||
                    chartData.push(["others", aggregate]);
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user