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:
Ilya Shakhat
2015-09-07 17:37:42 +03:00
parent 1597e55b10
commit af11c4285d
7 changed files with 87 additions and 32 deletions

View File

@@ -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]);
}