monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] net.venge.monotone: d6243a604335635469e72f4ff11


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: d6243a604335635469e72f4ff11cdd4987aaca48
Date: Sat, 22 Dec 2012 22:09:10 +0100 (CET)

revision:            d6243a604335635469e72f4ff11cdd4987aaca48
date:                2012-12-22T21:08:39
author:              Richard Hopkins <address@hidden>
branch:              net.venge.monotone
changelog:
Clarify signature of 'accept_testresult_change' and format of 
'wanted-testresults'

Also rename the new test to its correct name of 'wanted_testresults'. No idea
how I missed that.

manifest:
format_version "1"

new_manifest [41912cfc4a960ef161a5cb7a74b5f588f21a4786]

old_revision [8e04aff40498e10b8b9f7a63896dd78b03ea6526]

rename "test/func/wanted_permissions"
    to "test/func/wanted_testresults"

patch "doc/monotone.texi"
 from [282fbb9c5b2fa57460fa9835db9664c1559303b9]
   to [54602b03c6fbd96c3eacf8ec43e25202d4e12889]
============================================================
--- doc/monotone.texi	282fbb9c5b2fa57460fa9835db9664c1559303b9
+++ doc/monotone.texi	54602b03c6fbd96c3eacf8ec43e25202d4e12889
@@ -12235,7 +12235,7 @@ @subsection Trust Evaluation Hooks
 This hook is used by the update algorithm to determine whether a
 change in test results between update source and update target is
 acceptable. The hook is called with two tables, each of which maps a
-signing key hash -- representing a particular testsuite -- to a boolean
+signing key hash (as 20 raw bytes) -- representing a particular testsuite -- to a boolean
 value indicating whether or not the test run was successful (calculated
 from the @code{testresult} cert). The
 function should return @code{true} if you consider an update from the
@@ -12244,7 +12244,8 @@ @subsection Trust Evaluation Hooks
 
 The default definition of this hook returns @code{true} if
 @file{_MTN/wanted-testresults} does not exist. Otherwise, the file
-should contain a list of signing key hashes in lowercase. The hook returns @code{false}
+should contain a list of signing key hex-encoded hashes in lowercase (40 characters). 
+The hook returns @code{false}
 if a listed signing key hash is present in both @var{old_results} and
 @var{new_results}, with the value @code{true} in @var{old_results}
 and @code{false} in @var{new_results}; otherwise it returns @code{true}.

reply via email to

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