Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

maintainer state

Back to all declarations

MinReviewers

untyped bigint

// independent reviews required

Value

(2 <untyped> bigint)

MinScore

untyped bigint

// minimum score every reviewer must give

Value

(80 <untyped> bigint)

Review

type

Review is one reviewer's score for a proposal.

Value

maintainer.Review

Proposal

type

Proposal is a candidate new version working its way toward approval.

Value

maintainer.Proposal

Release

type

Release is an approved (and possibly later deprecated) version.

Value

maintainer.Release

proposals

[]*maintainer.Proposal (len=1)

// index 0 => ID 1

Open
OID
065c31…3fe6:26
proposals details (len=1)

+1 more Inspect slice

byVersion

map[string]*maintainer.Release
Open
OID
065c31…3fe6:6
byVersion details

Inspect map

Propose

func(version string, artifactHash string, challengeBlocks int64) uint64

Propose opens a version proposal with a challenge window of the given number of blocks (during which reviews accrue and approval is blocked).

Open
OID
065c31…3fe6:7
Propose details

Inspect func

AddReview

func(propID uint64, score uint8, note string)

AddReview records a reviewer's score. Reviewers must be independent of the proposer, and each address reviews at most once.

Open
OID
065c31…3fe6:9
AddReview details

Inspect func

AttestTests

func(propID uint64, pass bool)

AttestTests records whether CI's test suite passed for the proposal.

Open
OID
065c31…3fe6:10
AttestTests details

Inspect func

Approve

func(propID uint64)

Approve promotes a proposal to a release iff every policy condition holds. It panics with the first unmet condition — the policy is the gate, not a suggestion.

Open
OID
065c31…3fe6:11
Approve details

Inspect func

Deprecate

func(version string, reason string)

Deprecate flags a released version (e.g. a vulnerability was found).

Open
OID
065c31…3fe6:12
Deprecate details

Inspect func

LatestVersion

func() string

LatestVersion returns the most recently released version, or "".

Open
OID
065c31…3fe6:13
LatestVersion details

Inspect func

IsDeprecated

func(version string) bool

IsDeprecated reports whether a released version is deprecated.

Open
OID
065c31…3fe6:14
IsDeprecated details

Inspect func

GetProposal

func(id uint64) maintainer.Proposal

GetProposal returns a copy of a proposal.

Open
OID
065c31…3fe6:15
GetProposal details

Inspect func

mustProposal

func(id uint64) *maintainer.Proposal
Open
OID
065c31…3fe6:16
mustProposal details

Inspect func

assert

func(cond bool, msg string)
Open
OID
065c31…3fe6:18
assert details

Inspect func

Render

func(path string) string

Render shows the release matrix + open proposals, or one proposal at :\<id>.

Open
OID
065c31…3fe6:19
Render details

Inspect func

renderProposal

func(id uint64) string
Open
OID
065c31…3fe6:21
renderProposal details

Inspect func

check

func(ok bool, label string) string
Open
OID
065c31…3fe6:22
check details

Inspect func

short

func(a .uverse.address) string
Open
OID
065c31…3fe6:24
short details

Inspect func

shortHash

func(s string) string
Open
OID
065c31…3fe6:25
shortHash details

Inspect func
MinReviewers : untyped bigint =(2 <untyped> bigint)
MinScore : untyped bigint =(80 <untyped> bigint)
Review : type =maintainer.Review
Proposal : type =maintainer.Proposal
Release : type =maintainer.Release
proposals : []*maintainer.Proposal (len=1) Inspect
releases : []*maintainer.Release (len=1) Inspect
byVersion : map[string]*maintainer.Release Inspect
Propose : func(version string, artifactHash string, challengeBlocks int64) uint64 Inspect
AddReview : func(propID uint64, score uint8, note string) Inspect
AttestTests : func(propID uint64, pass bool) Inspect
Approve : func(propID uint64) Inspect
Deprecate : func(version string, reason string) Inspect
LatestVersion : func() string Inspect
IsDeprecated : func(version string) bool Inspect
GetProposal : func(id uint64) maintainer.Proposal Inspect
mustProposal : func(id uint64) *maintainer.Proposal Inspect
boolStr : func(b bool) string Inspect
assert : func(cond bool, msg string) Inspect
Render : func(path string) string Inspect
renderIndex : func() string Inspect
renderProposal : func(id uint64) string Inspect
check : func(ok bool, label string) string Inspect
parseID : func(s string) uint64 Inspect
short : func(a .uverse.address) string Inspect
shortHash : func(s string) string Inspect