summaryrefslogtreecommitdiff
blob: a6c13e46ff8814bfadb659f09d1561e82876de77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{% extends "layout/base.html" %}
{% block content %}
<div class="row">
  <h2>{{ BLI.C }}/{{ BLI.P }}-{{ BLI.V }}::{{ BLI.R }}
        {% if FI.others %}
          <span class="label label-info">Others</span>
        {% else %}
              {% if FI.qa %}
                <span class="label label-warning">
              {% else %}
                <span class="label label-success">
              {% endif %}
				Qa</span>
              {% if FI.repoman %}
                <span class="label label-warning">
              {% else %}
                 <span class="label label-success">
              {% endif %}
				Repoman</span>
              {% if FI.TestRun %}
				{% if FI.test %}
					<span class="label label-danger">
				{% else %}
					<span class="label label-success">
				{% endif %}
					Test</span>
			  {% endif %}
              {% if FI.build %}
                <span class="label label-danger">{{ FI.builderror }}
              {% else %}
                <span class="label label-success">Build
              {% endif %}
				</span>
        {% endif %}
  </h2>
  {% if BLI.BugId %}
	<span class="label label-info">
	<a href="https://bugs.gentoo.org/show_bug.cgi?id={{ BLI.BugId}}" target=_blank>Bug Gentoo {{ BLI.BugId }}</a>
	</span>
	{% endif %}
</div>
<div class="row-fluid">
 <div class=span3>
    <p class="lead">Host information</p>
        Host: {{ BLI.hostname }}<br />
        Config: {{BLI.config }}<br />
	Profile: {{BLI.profile }}<br/>
        Emerge options :
 </div>
 {% if BLI.use_enable %}
 <div class="span3 ">
    <p class="lead">Enabled useflags</p>
        {% for use in BLI.use_enable %}
            {{ use  }}
        {% endfor %}
 </div>
 {% endif %}
 {% if BLI.use_disable %}
 <div class=span3>
    <p class="lead">Disabled useflags</p>
        {% for use in BLI.use_disable %}
            {{ use }}
        {% endfor %}
 </div>
{% endif %}
 </div>
   <div class="col-md-3">
    <div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">Resources</h3>
  </div>
  <div class="list-group">
    <a href="https://bugs.gentoo.org/buglist.cgi?quicksearch={{ BLI.C }}/{{ BLI.P }}" class="list-group-item" target="_blank">
      <span class="fa fa-fw fa-bug"></span>
      Related bugs
    </a>
    <a href="https://wiki.gentoo.org/index.php?title=Special%3ASearch&fulltext=Search&search={{ BLI.P }}" class="list-group-item" target="_blank">
      <span class="fa fa-fw fa-book"></span>
      Documentation
    </a>
    <a href="https://forums.gentoo.org/search.php?search_terms=all&show_results=topics&search_keywords={{ BLI.P }}&mode=results" class="list-group-item" target="_blank">
      <span class="fa fa-fw fa-comments-o"></span>
      Forums posts
    </a>
    <a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/{{ BLI.C }}/{{ BLI.P }}" class="list-group-item" target="_blank">
      <span class="fa fa-fw fa-code-fork"></span>
      Git repository browser
    </a>
    <a href="https://gitweb.gentoo.org/repo/gentoo.git/log/{{ BLI.C }}/{{ BLI.P }}?showmsg=1" class="list-group-item" target="_blank">
      <span class="fa fa-fw fa-history"></span>
      Git log
    </a>
    <a href="https://gitweb.gentoo.org/repo/gentoo.git/atom/{{ BLI.C }}/{{ BLI.P }}?h=master" class="list-group-item" target="_blank">
      <span class="fa fa-fw fa-rss"></span>
      Changes feed
    </a>
  </div>
</div>

  </div>
 <div class="row-fluid">
 <div class=span12>
	{% if BLI.Summery_text %}
		<p class="lead">Summery: </p>
		{{ BLI.Summery_text|linebreaks }}
	{% endif %}
 </div>
 </div>
 <div class="row-fluid">
 <div class=span12>
	{% if BLI.Repoman %}
		<p class="lead">Repoman Summery: </p>
		{{ BLI.Repoman|linebreaks }}
	{% endif %}
 </div>
 </div>
 <div class="row-fluid">
 <div class=span12>
	{% if BLI.QA %}
		<p class="lead">QA Summery: </p>
		{{ BLI.QA|linebreaks }}
	{% endif %}
 </div>
 </div>
 <div class="row-fluid">
 <div class=span12>
		<p class="lead">Emerge Info: </p>
		{{ BLI.emerge_info_text|linebreaks }}
 </div>
 </div>
 <div class="row-fluid">
 <div class="span12">
 {% if BLI.logname %}
            <br />
            Log file name:{{ BLI.logname }}<br />
            <a href="/static/logs/{{BLI.hostname}}/{{BLI.config}}/{{ BLI.logname }}">Raw log<a/><br />
            {% if user.is_authenticated %}
                <a href="/logs/build/submitlog/{{BLI.BuildLogId}}/">
                Summit log to Gentoo's bugzilla</a>
            {% endif %}
 {% endif %}
 </div>
 </div>
{% endblock %}