<br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 10:53 AM, Frans Grotepass <span dir="ltr"><<a href="mailto:grotepass@gmail.com">grotepass@gmail.com</a>></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 <<a href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>> wrote:<br>
<br>
> On 7/18/2011 11:02, Dan Littlejohn wrote:<br>
> > Manually deleting these entries from each of the ebuild Manifests<br>
> > allows for it to be built, but why are they there?<br>
><br>
> I must have 'git add'd them before removing the old ebuilds and<br>
> digesting. That way, git was stuck with the bad manifests rather<br>
> than the ones I had intended to go in when I committed. If such<br>
> should happen in the future, the quick fix is to go to the git/Gentoo<br>
> directory, and then run 'scripts/mythtv-buildebuild.py<br>
> --digest-only'. That will redigest all packages with the ebuilds you<br>
> 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>
> 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>
<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("./src/test/<a href="http://test_master.pl">test_master.pl</a>");<br>
if ($return_code < 0) {<br> print "Commit canceled, because something went wrong. return code: $return_code\n";<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>