<!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>
Andreas Tille pushed to branch master
at <a href="https://salsa.debian.org/med-team/community/package_template">Debian Med / community / package_template</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://salsa.debian.org/med-team/community/package_template/commit/59e95123279ae68cbdf997a00a17a391a6a7c3e4">59e95123</a></strong>
<div>
<span>by Andreas Tille</span>
<i>at 2018-07-05T15:59:20+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">More reliable usage of Files-Excluded
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#d98e5e08bd5b9458737a386a9554528db1a9a790">
debian/get-orig-source_Files-Excluded
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="d98e5e08bd5b9458737a386a9554528db1a9a790">
<a href="https://salsa.debian.org/med-team/community/package_template/commit/59e95123279ae68cbdf997a00a17a391a6a7c3e4#d98e5e08bd5b9458737a386a9554528db1a9a790"><strong>debian/get-orig-source_Files-Excluded</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 12px;" 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="26" 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="26" 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">@@ -26,7 +26,7 @@ mv ${ONAME} ${TARDIR}</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="26" 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">
26
</td>
<td class="diff-line-num new_line" data-linenumber="26" 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">
26
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC26" class="line" lang="shell"><span class="nb" style="color: #0086b3;">rm</span> <span class="nt" style="color: navy;">-rf</span> <span class="k" style="font-weight: 600;">${</span><span class="nv" style="color: teal;">TARDIR</span><span class="k" style="font-weight: 600;">}</span>/.git</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="27" 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">
27
</td>
<td class="diff-line-num new_line" data-linenumber="27" 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">
27
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC27" class="line" lang="shell"><span class="c" style="color: #998; font-style: italic;"># Remove according to "Files-Excluded"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="28" 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">
28
</td>
<td class="diff-line-num new_line" data-linenumber="28" 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">
28
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC28" class="line" lang="shell"><span class="c" style="color: #998; font-style: italic;"># Its a bit tricky since '*' needs to be escaped ...</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="29" 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">
29
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC29" class="line" lang="shell"><span class="k" style="font-weight: 600;">for </span>excl <span class="k" style="font-weight: 600;">in</span> <span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s2" style="color: #d14;">"^Files-Excluded"</span> <span class="k" style="font-weight: 600;">${</span><span class="nv" style="color: teal;">COPYRIGHT</span><span class="k" style="font-weight: 600;">}</span> | <span class="nb" style="color: #0086b3;">sed</span> <span class="nt" style="color: navy;">-e</span> <span class="s1" style="color: #d14;">'s/^Files-Excluded: */<span class="idiff left">/'</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff">-e</span></span><span class="idiff"> </span><span class="s1" style="color: #d14;"><span class="idiff">'s/\*/\\*/g'</span></span><span class="k" style="font-weight: 600;"><span class="idiff">)</span></span><span class="idiff"> </span><span class="p"><span class="idiff">;</span></span><span class="idiff"> </span><span class="k" style="font-weight: 600;"><span class="idiff">do </span></span><span class="idiff">find </span><span class="nb" style="color: #0086b3;"><span class="idiff">.</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff">-path</span></span><span class="idiff"> </span><span class="s2" style="color: #d14;"><span class="idiff">"</span></span><span class="k" style="font-weight: 600;"><span class="idiff">$(</span></span><span class="nb" style="color: #0086b3;"><span class="idiff">echo</span></span><span class="idiff"> </span><span class="nv" style="color: teal;"><span class="idiff">$excl</span></span><span class="idiff"> | </span><span class="nb" style="color: #0086b3;"><span class="idiff">sed</span></span><span class="idiff"> </span><span class="s1" style="color: #d14;"><span class="idiff">'s/^\\//'</span></span><span class="k" style="font-weight: 600;"><span class="idiff">)</span></span><span class="s2" style="color: #d14;"><span class="idiff">"</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff right">-delete</span></span> <span class="p">;</span> <span class="k" style="font-weight: 600;">done</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="30" 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="29" 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">
29
</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="LC29" class="line" lang="shell"><span class="k" style="font-weight: 600;">for </span>excl <span class="k" style="font-weight: 600;">in</span> <span class="k" style="font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s2" style="color: #d14;">"^Files-Excluded"</span> <span class="k" style="font-weight: 600;">${</span><span class="nv" style="color: teal;">COPYRIGHT</span><span class="k" style="font-weight: 600;">}</span> | <span class="nb" style="color: #0086b3;">sed</span> <span class="nt" style="color: navy;">-e</span> <span class="s1" style="color: #d14;">'s/^Files-Excluded: */<span class="idiff left"> /'</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff">-e</span></span><span class="idiff"> </span><span class="s1" style="color: #d14;"><span class="idiff">'s/ \*/ \\*/g'</span></span><span class="k" style="font-weight: 600;"><span class="idiff">)</span></span><span class="idiff"> </span><span class="p"><span class="idiff">;</span></span><span class="idiff"> </span><span class="k" style="font-weight: 600;"><span class="idiff">do </span></span><span class="idiff">find </span><span class="nb" style="color: #0086b3;"><span class="idiff">.</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff">-path</span></span><span class="idiff"> </span><span class="s2" style="color: #d14;"><span class="idiff">"</span></span><span class="k" style="font-weight: 600;"><span class="idiff">$(</span></span><span class="nb" style="color: #0086b3;"><span class="idiff">echo</span></span><span class="idiff"> </span><span class="nv" style="color: teal;"><span class="idiff">$excl</span></span><span class="idiff"> | </span><span class="nb" style="color: #0086b3;"><span class="idiff">sed</span></span><span class="idiff"> </span><span class="s1" style="color: #d14;"><span class="idiff">'s/^\\//'</span></span><span class="k" style="font-weight: 600;"><span class="idiff">)</span></span><span class="s2" style="color: #d14;"><span class="idiff">"</span></span><span class="idiff"> | xargs </span><span class="nb" style="color: #0086b3;"><span class="idiff">rm</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff right">-rf</span></span> <span class="p">;</span> <span class="k" style="font-weight: 600;">done</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="30" 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">
30
</td>
<td class="diff-line-num new_line" data-linenumber="30" 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">
30
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC30" 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="31" 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">
31
</td>
<td class="diff-line-num new_line" data-linenumber="31" 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">
31
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC31" class="line" lang="shell"><span class="nv" style="color: teal;">GZIP</span><span class="o" style="font-weight: 600;">=</span><span class="s2" style="color: #d14;">"--best --no-name"</span> <span class="nb" style="color: #0086b3;">tar</span> <span class="nt" style="color: navy;">--owner</span><span class="o" style="font-weight: 600;">=</span>root <span class="nt" style="color: navy;">--group</span><span class="o" style="font-weight: 600;">=</span>root <span class="nt" style="color: navy;">--mode</span><span class="o" style="font-weight: 600;">=</span>a+rX <span class="nt" style="color: navy;">-caf</span> <span class="s2" style="color: #d14;">"</span><span class="nv" style="color: teal;">$NAME</span><span class="s2" style="color: #d14;">"</span>_<span class="s2" style="color: #d14;">"</span><span class="nv" style="color: teal;">$VERSION</span><span class="s2" style="color: #d14;">"</span>.orig.tar.<span class="k" style="font-weight: 600;">${</span><span class="nv" style="color: teal;">COMPRESS</span><span class="k" style="font-weight: 600;">}</span> <span class="s2" style="color: #d14;">"</span><span class="k" style="font-weight: 600;">${</span><span class="nv" style="color: teal;">TARDIR</span><span class="k" style="font-weight: 600;">}</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="32" 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">
32
</td>
<td class="diff-line-num new_line" data-linenumber="32" 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">
32
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC32" class="line" lang="shell"><span class="nb" style="color: #0086b3;">rm</span> <span class="nt" style="color: navy;">-rf</span> <span class="k" style="font-weight: 600;">${</span><span class="nv" style="color: teal;">TARDIR</span><span class="k" style="font-weight: 600;">}</span></span></pre>
</td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
<a href="https://salsa.debian.org/med-team/community/package_template/commit/59e95123279ae68cbdf997a00a17a391a6a7c3e4">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/med-team/community/package_template/commit/59e95123279ae68cbdf997a00a17a391a6a7c3e4"}}</script>
</p>
</div>
</body>
</html>