forked from I2P_Developers/i2p.www
Moved the now-separate monotonerc file into place
This commit is contained in:
26
i2p2www/pages/site/develop/_monotonerc.html
Normal file
26
i2p2www/pages/site/develop/_monotonerc.html
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
<code>
|
||||
<pre>
|
||||
function intersection(a,b)
|
||||
local s={}
|
||||
local t={}
|
||||
for k,v in pairs(a) do s[v.name] = 1 end
|
||||
for k,v in pairs(b) do if s[v] ~= nil then table.insert(t,v) end end
|
||||
return t
|
||||
end
|
||||
|
||||
function get_revision_cert_trust(signers, id, name, val)
|
||||
local trusted_signers = { "complication@mail.i2p", "zzz@mail.i2p", "dev@welterde.de",
|
||||
"Oldaris@mail.i2p", "sponge@mail.i2p", "dream@mail.i2p", "mathiasdm@mail.i2p",
|
||||
"mkvore-commit@mail.i2p", "z3d@mail.i2p", "cervantes@mail.i2p", "BlubMail@mail.i2p",
|
||||
"walking@mail.i2p", "neutron@mail.i2p", "HungryHobo@mail.i2p", "russiansponsor@mail.i2p",
|
||||
"echelon@mail.i2p", "forget@mail.i2p", "privateer@mail.i2p", "duck@mail.i2p",
|
||||
"m1xxy@mail.i2p", "hiddenz@mail.i2p", "dev@robertfoss.se", "hamada@mail.i2p",
|
||||
"magma@mail.i2p", "kytv@mail.i2p", "str4d@mail.i2p", "meeh@mail.i2p" }
|
||||
local t = intersection(signers, trusted_signers)
|
||||
if t == nil then return false end
|
||||
if table.getn(t) >= 1 then return true end
|
||||
return false
|
||||
end
|
||||
</pre>
|
||||
</code>
|
@@ -7,7 +7,7 @@
|
||||
Developers must use this file in ~/.monotone/monotonerc or
|
||||
_MTN/montonerc in their i2p.i2p workspace.
|
||||
|
||||
{% include "_monotonerc.html" %}
|
||||
{% include "site/develop/_monotonerc.html" %}
|
||||
|
||||
</p><p>Agreements:
|
||||
<pre>
|
||||
|
Reference in New Issue
Block a user