2017-03-08 14:24:58 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Bootstrap Skin: Eden</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<link rel="stylesheet" href="css/bootstrap.css" media="screen">
|
|
|
|
<link rel="stylesheet" href="skins/eden.css" media="screen">
|
|
|
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
|
|
|
|
<link href="css/animate.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.navbar-holder-dark{
|
|
|
|
padding: 20px 20px 200px 20px;
|
|
|
|
background: #333333;
|
|
|
|
}
|
|
|
|
.container {
|
2017-03-08 15:35:17 +01:00
|
|
|
width:1200px;
|
|
|
|
}
|
|
|
|
.pr-title {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 350px;
|
2017-03-08 14:24:58 +01:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<div class="page-header" id="banner">
|
|
|
|
<div class="row">
|
|
|
|
<h1>Yunohost Pull Requests Dashboard</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h3>WTF is this shit? How is priority defined?</h3>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2017-03-08 15:35:17 +01:00
|
|
|
<strong>With labels</strong>
|
|
|
|
<ul>
|
|
|
|
<li>"important" = top priority</li>
|
|
|
|
<li>"opinion-needed" = medium priority</li>
|
|
|
|
<li>"work needed" = low priority</li>
|
|
|
|
<li>"inactive/postponed" = very low priority</li>
|
|
|
|
</ul>
|
|
|
|
<strong>Then with creation time</strong>
|
2017-03-08 14:24:58 +01:00
|
|
|
<p>older PRs have higher priority than newer PR</p>
|
2017-03-08 15:35:17 +01:00
|
|
|
<strong>'Dying' status</strong>
|
2017-03-08 14:24:58 +01:00
|
|
|
<p>A PR is considered "dying" if it has been created more than 60
|
|
|
|
days ago and not updated since 30 days. This is meant to be an incentive to
|
|
|
|
either revive it or flag it as inactive/postponed... 'Dying' PRs
|
|
|
|
have a small boost in priority to be listed first</a>
|
|
|
|
</br>
|
|
|
|
<p>Repos considered for now (completely arbitrary) : [yunohost, yunohost-admin, SSOwat, moulinette, doc, ynh-dev,
|
|
|
|
apps, CI_package_check, example_ynh, package_linter, Simone,
|
|
|
|
project-organization, build.yunohost.org, dynette, YunoPorts,
|
|
|
|
rebuildd, cd_build, install_script]</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h3>What should you review ?</h3>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-md-offset-3 col-md-6">
|
|
|
|
<div class="bs-component">
|
|
|
|
<ul class="nav nav-pills">
|
2017-03-08 17:31:22 +01:00
|
|
|
<li class="active">
|
|
|
|
<a href="#">All <span class="badge">{{ data.teams.all }}</span></a>
|
|
|
|
</li>
|
|
|
|
<li><a href="#">Core <span class="badge">{{ data.teams.core }}</span></a></li>
|
|
|
|
<li><a href="#">Apps <span class="badge">{{ data.teams.apps }}</span></a/li>
|
|
|
|
<li><a href="#">Infra / dist<span class="badge">{{ data.teams.infra }}</span></a></li>
|
|
|
|
<li><a href="#">Doc / i18n<span class="badge">{{ data.teams.doc }}</span></a></li>
|
2017-03-08 14:24:58 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="table table-striped table-responsive">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<th>Title</th>
|
|
|
|
<th>Created</th>
|
|
|
|
<th>Labels</th>
|
|
|
|
<th>Reviews</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2017-03-08 17:31:22 +01:00
|
|
|
{% for pr in data.prs %}
|
2017-03-08 14:24:58 +01:00
|
|
|
<tr>
|
|
|
|
<td><center><a class="btn
|
|
|
|
{% if pr.priority >= 100 %}btn-warning{% else %}
|
|
|
|
{% if pr.priority >= 50 %}btn-primary{% else %}
|
|
|
|
{% if pr.priority >= 0 %}btn-info{% else %}
|
|
|
|
{% if pr.priority >= -50 %}btn-default{% else %}
|
|
|
|
btn-link{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}"
|
|
|
|
href="{{ pr.url }}">{{ pr.id }}</a></center></td>
|
2017-03-08 15:35:17 +01:00
|
|
|
<td class="pr-title"><strong>{{ pr.title }}</strong></td>
|
2017-03-08 14:24:58 +01:00
|
|
|
<td>{{ pr.createdDaysAgo }} days ago</td>
|
|
|
|
<td>
|
|
|
|
{% for label in pr.labels %}
|
|
|
|
<span class="label
|
|
|
|
{% if label == "important" %}label-danger{%endif%}
|
|
|
|
{% if label == "opinion needed" %}label-warning{%endif%}
|
|
|
|
{% if label == "small decision" %}label-info{%endif%}
|
|
|
|
{% if label == "medium decision" %}label-info{%endif%}
|
|
|
|
{% if label == "big decision" %}label-info{%endif%}
|
|
|
|
{% if label == "work needed" %}label-primary{%endif%}
|
|
|
|
{% if label == "inactive" %}label-default{%endif%}
|
|
|
|
{% if label == "postponed" %}label-default{%endif%}
|
|
|
|
{% if label == "dying" %}label-danger{%endif%}
|
|
|
|
">{{ label }}</span>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span style="border:1px solid black; border-radius:4px; padding-left:2px; padding-right:2px;">foo <span class="text-success">✔</span></span>
|
|
|
|
<span style="border:1px solid black; border-radius:4px; padding-left:2px; padding-right:2px;">bar <span class="text-danger" >✘</span></span>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<hr/>
|
|
|
|
<p>CSS Skin/boilerplate/whatever you call it : <a href="http://scripteden.com/" rel="nofollow">Script Eden</a>.</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
|
|
|
|
<script src="js/bootstrap.min.js"></script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|