<div dir="ltr">I’m a bit hesitant to do this. If a user specified custom settings in their ~/.sbuildrc, they are probably there for a reason and should be considered when using ratt, right?<div><br></div><div>What speaks against asking users to set SBUILD_CONFIG= when invoking ratt? Currently, that’d be my preferred route.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 12, 2015 at 1:19 PM, Johannes Schauer <span dir="ltr"><<a href="mailto:josch@debian.org" target="_blank">josch@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Package: ratt<br>
Version: 0.0~git20150816.0.b060319-1<br>
Severity: wishlist<br>
<br>
Hi,<br>
<br>
ratt calls sbuild without setting the SBUILD_CONFIG environment variable<br>
which was introduced in sbuild 0.66.0-1.<br>
<br>
Without that environment variable, sbuild will use the users subildrc in<br>
~/.sbuildrc which in turn might mean that the build will be carried out<br>
with other options than required by ratt.<br>
<br>
When using SBUILD_CONFIG you can instead specify a sane configuration<br>
file.<br>
<br>
On top of that you could even then add things like:<br>
<br>
$external_commands = {<br>
  'post-build-commands' => [<br>
    ['adt-run', '--changes', '%c', '--no-built-binaries', '--source', '%d', '---', 'schroot', 'unstable-amd64-sbuild']<br>
  ]<br>
};<br>
<br>
which would run autopkgtests as part of every build. This way, ratt<br>
could not only be used to check whether the reverse build dependencies<br>
FTBFS but would also check whether the produced binary packages pass<br>
their runtime tests!<br>
<br>
Thanks!<br>
<br>
cheers, josch<br>
<br>
_______________________________________________<br>
Pkg-go-maintainers mailing list<br>
<a href="mailto:Pkg-go-maintainers@lists.alioth.debian.org">Pkg-go-maintainers@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Michael</div>
</div>