Documentation
¶
Overview ¶
Package notable owns the M4 "notable" plugin. The upstream behavior traverses `repositoryOwner` for organization / company affiliation signals; that traversal requires a dedicated GraphQL query that lands in a follow-up. The M4 MVP wires the Result type so consumers see the slot but returns Skipped=true with a deferred-reason note.
Contracts: specs/004-m4-github-plugins/contracts/plugin-p2-graphql.md §5 Data model: specs/004-m4-github-plugins/data-model.md E-026
Index ¶
Constants ¶
const Name = "notable"
Name is the canonical plugin slug.
Variables ¶
var Plugin plugins.Plugin = ¬ablePlugin{}
Plugin is the singleton registered with the global plugin registry.
Functions ¶
Types ¶
type NotableContrib ¶
type NotableContrib struct {
Login string `json:"login"`
Repo string `json:"repo"`
Title string `json:"title"`
Type string `json:"type"`
Indepth bool `json:"indepth"`
}
NotableContrib mirrors one entry from the upstream notable list.
type Result ¶
type Result struct {
Skipped bool `json:"skipped,omitempty"`
SkippedReason string `json:"-"`
List []NotableContrib `json:"list"`
}
Result is the JSON payload published under data.Plugins["notable"].