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.issue-174: 76e40d0c7a53b8934


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone.issue-174: 76e40d0c7a53b8934a32f2bee6b20f6e9bba59d2
Date: Sat, 18 Jun 2011 23:04:07 +0200 (CEST)

revision:            76e40d0c7a53b8934a32f2bee6b20f6e9bba59d2
date:                2011-06-18T20:31:05
author:              Richard Hopkins <address@hidden>
branch:              net.venge.monotone.issue-174
changelog:
Remove reference to get_file_cert_trust

This Lua hook is no longer called by monotone, and it's functionality was
removed in 65e71687c55045bb9282b8843b6b9cf9d28ab384.

However, instances of file_cert can still be found by grepping the source
tree; these are

1) Contained in files used by the func tests for diff and merge. In this
case the file contents do not really have a meaning, so for now I'm leaving
them in there.

2) SQL migration scripts. Obviously here I have left them because older
monotone databases used file_certs.

manifest:
format_version "1"

new_manifest [a5e5237199b00322ba96f518c4ff1ef040be9736]

old_revision [5bfdedba0571477ec41755bc60db55402bb5d5f0]

patch "doc/monotone.texi"
 from [eab1a08234b86089a4e1105a180425088dfc3992]
   to [b62b4564899753ee03416710a69b6c6ac05f05b8]

patch "src/std_hooks.lua"
 from [ada658bd275399032411e0f520d9900bad966dc4]
   to [813194da11623a922ce72d233e2fe2b1e09049d8]

patch "test/func/trust_hooks_and_trusted_command/hooks.lua"
 from [e4438532ebf5ad2bb5501c961ac12ed625549d50]
   to [6dec3674c5057372f5824d1ba12503c0d7e5157c]
============================================================
--- doc/monotone.texi	eab1a08234b86089a4e1105a180425088dfc3992
+++ doc/monotone.texi	b62b4564899753ee03416710a69b6c6ac05f05b8
@@ -3698,7 +3698,7 @@ @section Quality Assurance
 
 The evaluation of trust is done on a cert-by-cert basis by calling a
 set of Lua hooks: @ref{get_revision_cert_trust},
address@hidden, and @ref{get_file_cert_trust}.  These
address@hidden  These
 hooks are only called when a cert has at least one good signature from
 a known key, and are passed @emph{all} the keys which have signed the
 cert, as well as the cert's ID, name and value. The hook can then
@@ -12036,9 +12036,6 @@ @subsection Trust Evaluation Hooks
 the revision has been approved by an extra ``reviewer'' who used the
 @command{approve} command.
 
address@hidden@item get_file_cert_trust (@var{signers}, @var{id}, @var{name}, @var{val})
-Similar to @address@hidden, for certs on files.
-
 @address@hidden get_manifest_cert_trust (@var{signers}, @var{id}, @var{name}, @var{val})
 Similar to @address@hidden, for certs on manifests.
 
============================================================
--- src/std_hooks.lua	ada658bd275399032411e0f520d9900bad966dc4
+++ src/std_hooks.lua	813194da11623a922ce72d233e2fe2b1e09049d8
@@ -412,10 +412,6 @@ end
    return true
 end
 
-function get_file_cert_trust(signers, id, name, val)
-   return true
-end
-
 function accept_testresult_change(old_results, new_results)
    local reqfile = io.open("_MTN/wanted-testresults", "r")
    if (reqfile == nil) then return true end
============================================================
--- test/func/trust_hooks_and_trusted_command/hooks.lua	e4438532ebf5ad2bb5501c961ac12ed625549d50
+++ test/func/trust_hooks_and_trusted_command/hooks.lua	6dec3674c5057372f5824d1ba12503c0d7e5157c
@@ -17,7 +17,3 @@ end
    return true
 end
 
-function get_file_cert_trust(signers, id, name, val)
-   return true
-end
-

reply via email to

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