<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Holger Levsen pushed to branch master
at <a href="https://salsa.debian.org/qa/jenkins.debian.net">Debian QA / jenkins.debian.net</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://salsa.debian.org/qa/jenkins.debian.net/commit/23551895c9a0f9a6ed8fd0a12408bfc8b27a29f6">23551895</a></strong>
<div>
<span>by Holger Levsen</span>
<i>at 2019-02-19T23:14:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">reproducible Debian: improve percentages ;)
Signed-off-by: Holger Levsen <holger@layer-acht.org>
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#dea6ffdc5aafa9ab295d0d85541be58f02ee1d2d">
bin/reproducible_compare_Debian_sha1sums.sh
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="dea6ffdc5aafa9ab295d0d85541be58f02ee1d2d">
<a href="https://salsa.debian.org/qa/jenkins.debian.net/commit/23551895c9a0f9a6ed8fd0a12408bfc8b27a29f6#dea6ffdc5aafa9ab295d0d85541be58f02ee1d2d"><strong>bin/reproducible_compare_Debian_sha1sums.sh</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="54" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="54" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -54,8 +54,8 @@ reproducible_count=$(echo $reproducible_packages | wc -w)</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="54" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
54
</td>
<td class="diff-line-num new_line" data-linenumber="54" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
54
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC54" class="line" lang="shell"><span class="nv" style="color: teal;">unreproducible_packages</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">awk</span> <span class="s1" style="color: #d14;">'/^UNREPRODUCIBLE:/{print $2}'</span> <span class="nv" style="color: teal;">$log</span><span class="k" style="font-weight: 600;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="55" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
55
</td>
<td class="diff-line-num new_line" data-linenumber="55" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
55
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC55" class="line" lang="shell"><span class="nv" style="color: teal;">unreproducible_count</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">echo</span> <span class="nv" style="color: teal;">$unreproducible_packages</span> | <span class="nb" style="color: #0086b3;">wc</span> <span class="nt" style="color: navy;">-w</span><span class="k" style="font-weight: 600;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="56" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
56
</td>
<td class="diff-line-num new_line" data-linenumber="56" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
56
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC56" class="line" lang="shell"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="57" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
57
</td>
<td class="diff-line-num new_line old" data-linenumber="57" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC57" class="line" lang="shell"><span class="nv" style="color: teal;">percent_repro</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"scale=<span class="idiff left">3 ; </span></span><span class="nv" style="color: teal;"><span class="idiff">$reproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff"> / (</span></span><span class="nv" style="color: teal;"><span class="idiff">$reproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff">+</span></span><span class="nv" style="color: teal;"><span class="idiff">$unreproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff right">)</span>"</span> | bc<span class="k" style="font-weight: 600;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="58" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
58
</td>
<td class="diff-line-num new_line old" data-linenumber="57" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC58" class="line" lang="shell"><span class="nv" style="color: teal;">percent_unrepro</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"scale=<span class="idiff left">3 ; </span></span><span class="nv" style="color: teal;"><span class="idiff">$reproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff"> / (</span></span><span class="nv" style="color: teal;"><span class="idiff">$reproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff">+</span></span><span class="nv" style="color: teal;"><span class="idiff">$unreproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff right">)</span>"</span> | bc<span class="k" style="font-weight: 600;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="57" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
57
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC57" class="line" lang="shell"><span class="nv" style="color: teal;">percent_repro</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"scale=<span class="idiff left">4 ; </span></span><span class="nv" style="color: teal;"><span class="idiff">$reproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff"> / (</span></span><span class="nv" style="color: teal;"><span class="idiff">$reproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff">+</span></span><span class="nv" style="color: teal;"><span class="idiff">$unreproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff right">) * 100</span>"</span> | bc<span class="k" style="font-weight: 600;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="58" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
58
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC58" class="line" lang="shell"><span class="nv" style="color: teal;">percent_unrepro</span><span class="o" style="font-weight: 600;">=</span><span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"scale=<span class="idiff left">4 ; </span></span><span class="nv" style="color: teal;"><span class="idiff">$reproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff"> / (</span></span><span class="nv" style="color: teal;"><span class="idiff">$reproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff">+</span></span><span class="nv" style="color: teal;"><span class="idiff">$unreproducible_count</span></span><span class="s2" style="color: #d14;"><span class="idiff right">) * 100</span>"</span> | bc<span class="k" style="font-weight: 600;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
59
</td>
<td class="diff-line-num new_line" data-linenumber="59" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
59
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC59" class="line" lang="shell"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="60" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
60
</td>
<td class="diff-line-num new_line" data-linenumber="60" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
60
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC60" class="line" lang="shell"><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"-------------------------------------------------------------"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="61" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
61
</td>
<td class="diff-line-num new_line" data-linenumber="61" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
61
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC61" class="line" lang="shell"><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"reproducible packages: </span><span class="nv" style="color: teal;">$reproducible_count</span><span class="s2" style="color: #d14;">: </span><span class="nv" style="color: teal;">$reproducible_packages</span><span class="s2" style="color: #d14;">"</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">
—
<br>
<a href="https://salsa.debian.org/qa/jenkins.debian.net/commit/23551895c9a0f9a6ed8fd0a12408bfc8b27a29f6">View it on GitLab</a>.
<br>
You're receiving this email because of your account on salsa.debian.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://salsa.debian.org/qa/jenkins.debian.net/commit/23551895c9a0f9a6ed8fd0a12408bfc8b27a29f6"}}</script>
</p>
</div>
</body>
</html>