monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] testresult certs, proposed default hook change


From: Timothy Brownawell
Subject: [Monotone-devel] testresult certs, proposed default hook change
Date: Wed, 17 Aug 2005 14:17:35 -0500

The default testresult hook makes testresult certs basically useless.

The current hook is:

function accept_testresult_change(old_results, new_results)
   for test,res in pairs(old_results)
   do
      if res == true and new_results[test] ~= true
      then
         return false
      end
   end
   return true
end

Are there any objections to changing it to

function accept_testresult_change(old_results, new_results)
   return true
end

? This way people are only affected by testresult certs they want to be
affected by, rather than by all testresult certs. This would let people
actually *use* them, rather than having to avoid them in order to not
cause trouble.

Tim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]