<br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 10:53 AM, Frans Grotepass <span dir="ltr">&lt;<a href="mailto:grotepass@gmail.com">grotepass@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, 18 Jul 2011 11:11:50 -0400<br>
Raymond Wagner &lt;<a href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>&gt; wrote:<br>
<br>
&gt; On 7/18/2011 11:02, Dan Littlejohn wrote:<br>
&gt; &gt; Manually deleting these entries from each of the ebuild Manifests<br>
&gt; &gt; allows for it to be built, but why are they there?<br>
&gt;<br>
&gt; I must have &#39;git add&#39;d them before removing the old ebuilds and<br>
&gt; digesting.  That way, git was stuck with the bad manifests rather<br>
&gt; than the ones I had intended to go in when I committed.  If such<br>
&gt; should happen in the future, the quick fix is to go to the git/Gentoo<br>
&gt; directory, and then run &#39;scripts/mythtv-buildebuild.py<br>
&gt; --digest-only&#39;. That will redigest all packages with the ebuilds you<br>
&gt; have locally.<br>
<br>
</div>Obviously with the knowledge that one is taking off the seat belt that<br>
is in place with the digests... Editing the manifests to remove the<br>
stale entries still keep the digest in place like you intended. If<br>
these then produce a digest failure, I usually refuse to install the<br>
package as this could point to a corrupt or worse, malicious package.<br>
<br>
Regards,<br>
<font color="#888888"><br>
Frans<br>
</font><div><div></div><div class="h5"><br>
 _______________________________________________<br>
&gt; mythtv-users mailing list<br>
&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br></div></div></blockquote><div><br> </div><div><br>With git you can add post processing to run a unit test.  <br>
<br>    .git/hooks/post-commit <br><br>I have done this with perl<br><br>    #!/usr/bin/perl -I ./<br><br>    my $return_code;<br><br>    ($return_code) = system(&quot;./src/test/<a href="http://test_master.pl">test_master.pl</a>&quot;);<br>
    if ($return_code &lt; 0) {<br>      print &quot;Commit canceled, because something went wrong.  return code: $return_code\n&quot;;<br>      exit 1;<br>    }<br><br>    exit 0;<br><br>If it does not exit 0 then the commit fails and is not checked in.<br>
<br>Dan<br><br></div></div><br>