A provider (Stripe, OpenAI, Kubernetes…) has a category and one or more sources. A source is one place the provider announces changes; it is read by one kind of plugin (the kinds/<kind> package: openapi, changelog, notices, migrationguide, catalog, apisurface), covers one layer (api, sdk, package, runtime, ci, ai-models, infra), and has versions. Its id is provider/source (stripe/api, algolia/search-api). A kind says how to read and is written once; a provider's folder, providers/<provider>/, says what to read: its provider.go registers the provider and every source of it, and holds nothing about any other provider. This guide walks through adding a source, from picking it to the PR. The rules are in CONTRIBUTING.md; this is the how-to. How the pieces fit: how-it-works.md.
Most new sources don't need new code in a kind. They are a new value of an existing kind's type in the provider's folder: a changelog.File, a retire.Page, a feed.Feed with its reader, an OpenAPI adapter, an apisurface.Package. Write a new kind only when none of them reads your source. There is no "Kubernetes kind" or "Terraform kind": Kubernetes API removals are a migration-guide or notices source, a client SDK is a package source, a Terraform provider is a changelog source.
Pick the source and the kind that reads it (steps 2 and 3, and which kind fits my provider?), then let the starter write everything around it:
make new-plugin ARGS='--provider acme --name Acme --category devtools --homepage https://acme.example \
--source api --kind openapi --url https://github.com/acme/openapi --package pypi:acme --package npm:acme'
# the same: go run ./cmd/new-plugin --provider acme ...
# --kind: openapi, changelog, notices, migrationguide, catalog, apisurface
# --reader, for a kind with several: changelog markdown|json, notices deprecations|feed, migrationguide sdk|members
# optional: --layer api|sdk|package|runtime|ci|ai-models|infra (default: the kind's), --watches "..."Run in a terminal without the flags, it asks for them: the provider's id, then (for a new provider) its name, category and homepage, then the source's id, kind, reader, layer, URLs, packages and what it watches. A second source of a registered provider needs only --provider, --source and --kind: the name, category and homepage come from the registry. One run adds one source; run it again for the next.
It writes, and lists, everything in the provider's folder, providers/<provider>/:
<source>.go: the source's definition, built from the kind's exported types, with the version wiring the kind needs from it: an OpenAPI adapter'sLatestTag,FetchandVersionsto write; a feed's reader; every other kind lists, reads and extracts versions itself;- its registration in
provider.go: for a new provider, a newprovider.gowith the provider'splugin.RegisterProvidercall (every metadata field, packages included) and its import inproviders/all; for a provider with a folder, one more source in itsSources; <source>_test.go: the registration test, a golden test and a pinned drop test, over placeholder sources intestdata/, with the golden file written from them;- a row per saved file in
testdata/README.md(URL, date, license, quote to fill in); - the source's section in
README.md, the provider's page (a new provider's fromprovider-template.md);
go test ./... passes right after; every place to fill in says TODO(new-plugin) (grep -rn 'TODO(new-plugin)' .), and make check (its todos step, also in CI_go) fails until none is left. It refuses a provider/source id that's taken, or a file it would write that exists, and then changes nothing.
Use the provider's own, most machine-readable source. In order of preference:
- An official machine-readable spec (OpenAPI), diffed between releases. Precise, typed, no guessing.
- A file at a release tag (a changelog, a migration guide) on GitHub or the package registry. A tag never changes, so its URL is a permanent citation.
- An official RSS / Atom feed of changes. Built to be machine-read.
- An official documentation page (a deprecations page), ideally served as markdown. A live page changes, so events cite a Wayback Machine snapshot of it.
Never scrape what the provider's robots.txt or terms disallow, and never read a forum or a third-party blog. Write down what you chose and why on the provider's page (step 8).
A source that looks right on today's copy can be wrong as a history of changes. Before picking what the plugin keeps, download the source at every release (or a sample plus every release of a recent window), run the format's diff or reader over each consecutive pair, and count what comes out:
-
Deprecations: how many, and how the provider marks them. A flag (
deprecated: true), words in a summary ("(deprecated)", "Deprecated:"), an extension (x-cfDeprecation), a change code. A flag the provider rarely sets misses most of them; a regex that matches "deprecated" anywhere matches operations about deprecated things. -
Removals, split by whether they were marked deprecated first. In the specs measured so far, most removals with no deprecation before them weren't removals from the API:
- the spec moved or renamed the path (a path parameter renamed,
/site/corrected to/sites/, a doubled base path fixed); - an operation went to an internal spec, or was left out as not for direct use;
- an operation came back a few releases later;
- a release branch cut before an older branch's last minor didn't have it yet;
- it described only an API client: a helper or a "custom request" method, marked
x-helperor similar.
So the default rule for a spec is the
openapi.DeprecationsOnlyfilter (kinds/openapi/openapi.go, asproviders/vercel/api.gouses it): operation deprecations, plus removals of operations marked deprecated first. Keep an unmarked removal only if the history shows they're real. - the spec moved or renamed the path (a path parameter renamed,
-
Withdrawals: a deprecation the provider takes back (
endpoint-reactivated), a removed version that reappears. Replay the history in order, and let a withdrawal cancel what it withdraws. -
Additions (new operations, parameters, properties): emitted as
addedby default, since additions are data too. Count them the same way: a spec that moves or re-adds paths makes "new" operations that aren't; a filter that drops them says why on the provider's page. -
Property-level changes, request and response. Response properties of a generated spec often churn by the hundred per release. Count before deciding; leaving them out is a fine first version.
Then check what's left against the provider's own words:
- A shutdown needs the provider to say the thing stops. An "end of life date" field alone isn't enough when the item's text says direct callers need no action, or names only a field or a value.
- Cross-check a removal with the release notes ("Remove unfreeze REST endpoint" for the endpoint that left the spec).
- Probing the live API from outside rarely settles it. Many APIs answer 401 or 403 to every path without credentials, real or made up.
Write the numbers on the provider's page, as providers/vercel/README.md does for its spec's history, so a reviewer can check the rule against them.
- Cite what never changes: a release tag, or the commit SHA of the release or of a branch's head. A moving branch or a live URL isn't a citation.
- "Newest" needs care:
- a day can have several releases whose tag suffix says nothing about their order (break the tie by commit date);
- an older major's patch can be released after a newer minor (take the highest version, not GitHub's latest release);
- the newest branch may be unreleased (read the newest released one).
versionis the API version the change arrived in, per the contract. If the API has none, use a package version a repo pins (an SDK release), or a date: a release date, an end of life.- The patch-it client gates a package version as a package. It keeps a date-versioned API's events only if the API is in its list of date-versioned APIs, so a new date-versioned API needs an entry there too.
- Two specs of one version (fixes on a release branch) aren't a release:
RemovalsNeedANewVersiondrops removals between them.
Which kind fits my provider? asks the questions; the table says what each kind reads.
| Kind | Reads | Add a source, in providers/<provider>/, by |
|---|---|---|
kinds/openapi |
An OpenAPI spec per release, diffed with core/diff/ and turned into events by core/normalize/ |
An adapter.Adapter (latest tag, fetch a tag's spec; Versions to list every release, with adapter.Releases, adapter.Commits or core/versions) in <source>.go, and an openapi.Plugin source in provider.go (Diff and Keep when the spec needs them) |
kinds/notices |
A live page of dated notices: a model provider's deprecations page (a table of date, model, replacement: Markdown, Markdoc or HTML), a vendor's RSS or Atom feed, a vendor's table of whole API version ranges and their support status | A retire.Page (what models to keep), a feed.Feed with a reader for that vendor's entries, or an eol.Page (new-plugin doesn't scaffold this reader yet), run by a notices.Plugin |
kinds/migrationguide |
A guide that lists what a release removed, at the release's tag: an SDK's migration guide per new major (removed request parameters), or a package's table of removed members (an RST simple table or a Markdown pipe table) | A sdkguide.Guide or a members.Guide, run by a migrationguide.Plugin |
kinds/changelog |
A changelog: a CHANGELOG.md / CHANGES.rst / HISTORY.rst, each release's section at its tag (releases from PyPI or npm, or for any other ecosystem the repo's TagPrefix + X.Y.Z tags), or each GitHub release's notes (Notes), or a vendor's machine-readable API changelog in JSON (per day, endpoint and API version, oasdiff change codes), commit by commit |
A changelog.File with its Ecosystem and TagPrefix (changelog.SDK builds an SDK's source from it), or a changelog.Log |
kinds/catalog |
A provider's own structured list of what it offers: a command catalog kept as one JSON file per command in its repo, read at each release tag and compared for commands that disappeared entirely; a file of upcoming removals, commit by commit | A catalog.Commands (repo, directory, release tag pattern) or a catalog.UpcomingChanges; a catalog of another shape is a new reader type in the kind |
kinds/apisurface |
A published package's public API, compared between two releases: the classes, functions, methods and parameters in each release's files (the wheel or sdist from PyPI, the TypeScript declarations in an npm tarball) | An apisurface.Package (registry name, ecosystem, top-level module; apisurface.NPMPackage for npm), its source built with apisurface.PyPI or apisurface.NPM |
A plugin implements plugin.Plugin (package core/plugin/) and exactly one of two shapes: plugin.Versioned (a source with versions) or plugin.Living (a page with no versions of its own). RegisterProvider refuses a plugin that is both or neither. Either way the changes are what Extract finds between two snapshots, so whoever runs it treats every source as pairs.
type Plugin interface {
Name() string // the source's id, provider/source: every event's `api`
Extract(ctx context.Context, env Env, from, to Snapshot) (Result, error) // the changes from one snapshot to the next
}
type Versioned interface { // tags, releases, commits, a guide per major
Plugin
ListVersions(ctx context.Context, env Env) ([]Version, error) // every version, oldest first
ReadAt(ctx context.Context, env Env, v Version) (Snapshot, error) // the source at one version
}
type Living interface { // a deprecations page, a feed
Plugin
Read(ctx context.Context, env Env, last Snapshot) (Snapshot, error) // the page now, against the snapshot kept from the read before
}
type Env struct {
Get func(ctx context.Context, url string) ([]byte, error) // the only way to fetch
Now func() time.Time
}
type Snapshot struct {
Version Version // ID, Released, Ref, URL, MapsTo (the other source's version it pins, if any)
Content []byte
SourceURL string // the exact document read: the events' citation
CompareHash string // a living page only: how its next Read tells it unchanged
}
type Result struct {
Events []event.Event // valid events
Rejected []error // changes that failed to become valid events
}A plugin stores nothing and reads nothing back: whoever runs it (patch-it's hosted ingestion service, or the test kit) stores the events and keeps the snapshot the next comparison starts from.
When a release or a page has no part the reader can use (a changelog with no section for the release, a migration guide with no table of removals, a page with no table of notices), return plugin.ErrNothingToRead, wrapped with what was missing (fmt.Errorf("no heading for release %s: %w", v, plugin.ErrNothingToRead)). For a release that's normal, and the runner skips the pair instead of retrying it; it finds the error with errors.Is. A living page with nothing to read is never normal: the notices kind turns it into plugin.ErrShapeChanged (see the shape guard). Any other error is a failure, retried next run.
A source that has versions (a spec's releases, a package's releases, a guide per major, the commits that changed a file) is read version by version, so a customer several versions behind gets every step: the runner lists the versions, reads each consecutive pair with ReadAt and extracts it once (a released version never changes).
- List with
core/versions:GitHubReleases,GitHubTags,GitHubCommits(the commits that changed a file),PyPIReleases(PyPIReleasesWithYankedwhen a change can be documented at a release later yanked),NPMReleases,GitHubPages(any other GitHub list, page by page). An OpenAPI adapter lists its own versions (adapter.Lister): every adapter does. Never pin a tag in code: a version you need for a golden test is a pinned case in the test (Urllib3.At("2.0.0")inproviders/urllib3/, in a_test.gofile), not the registered source;providers/all'sTestNoPinnedReleaseInPluginCodefails on a release number or commit SHA in any kind's or provider's non-test code. - Pins (
Version.MapsTo): when a release pins a version of another source (an SDK release and the API version it calls), set it while listing, from the release itself (its notes, the version constant in its code). It is how a feed query on the SDK's versions also returns the API's changes. Leave it zero when the release doesn't say: never fill it from a table kept by hand. - Read at a version's
Ref(a tag, a commit SHA) and return the exact URL read as the snapshot'sSourceURL: it's the events' citation. - Extract sets
previous_versiontofrom's version: everyapi_operationandpackage_releaseevent must name it (the contract's rule 13).fromis zero only for the first version read, which has nothing to compare: patch-it's hosted ingestion service reads that version as its first snapshot and extracts nothing from it, so a version pair always starts at a realfrom(anapi_operationorpackage_releaseevent extracted from zero would be rejected).
A living page (a deprecations page, a feed: a notices source) only shows its latest state. The runner keeps the snapshot of the last read and hands it to Read:
- Read fetches the page. When it hashes as it did at
last(CompareHash), returnlastas is: an unchanged page costs one GET (a 304 with the HTTP cache) and nothing else. Otherwise cite it (kit.Cite: a Wayback Machine snapshot that must say what the live page said) and return a new snapshot, dated now (Version.IDis the read's time, RFC 3339), whose content is the snapshot's bytes and whoseCompareHashis the live page's. - Extract from the kept snapshot to the new one is an event per notice the new one has that the kept one didn't (every one on a first read), citing the new snapshot. A dated notice (
model,ci_runtime) has noprevious_version; anapi_operationnotice names the read it was compared with (on a first read, its own).
kinds/apisurface downloads a release's wheel (or sdist) through env.Get, opens it in memory (archive/zip, archive/tar: nothing is written to disk) and hands the .py and .pyi files to kinds/apisurface/pysurface, which reads them as text: logical lines, indentation, and the headers of def, class, __all__ and from … import. Nothing in the package is imported, compiled or run. That's the safest way to read code someone else publishes, and it needs no dependency: a Python interpreter (the ast module) would mean running a second runtime next to the plugins, and the pure-Go Python parsers available follow old grammars and pull in a large module for what is a few hundred lines here. The cost is that only signatures are read, never what a body does, and anything the reader can't be sure of is left out (see providers/openai/README.md, the Python SDK's section). Archive and file sizes are capped (MaxFileBytes, MaxSourceBytes), so a crafted release can't exhaust the runner.
An npm release is read the same way: its tarball (the version document's dist.tarball) is opened in memory and only package.json and the .d.ts, .d.mts and .d.cts files are kept, for kinds/apisurface/dtsurface. Declaration files hold declarations only, never statements, so a tokenizer and a parser of declarations, which skips each type expression by its brackets, read every name, member and parameter a caller can see, in about a thousand lines of standard-library Go. The alternatives would each be worse here: the TypeScript compiler is JavaScript, so it would mean running Node and code from npm next to the plugins; the Go ports of TypeScript's parser are internal to their projects or need cgo (tree-sitter); and a full type checker is far more than a public-API diff needs. No package code runs, no install script runs, no dependency is added (the make imports allowlist is unchanged). What it doesn't do, on purpose: resolve types (a property's type isn't followed), or read interface members (see providers/openai/README.md, the Node SDK's section).
An event cites the newer release's file, and its excerpt quotes the definition's path and line in both releases. npm packages (.d.ts files) are next.
In the provider's providers/<provider>/provider.go, one init registers the provider and every source of it, whatever their kinds, with the metadata (AGENTS.md rule 1):
func init() {
plugin.RegisterProvider(plugin.Provider{
ID: "urllib3", Name: "urllib3", Category: plugin.CategoryPackages, Homepage: "https://urllib3.readthedocs.io",
Sources: []plugin.Source{
{
ID: "urllib3", Layer: plugin.LayerPackage,
Watches: "Names removed or deprecated in each release, …",
URLs: []string{"https://github.com/urllib3/urllib3/blob/main/CHANGES.rst"},
Packages: []string{"pypi:urllib3"},
Plugin: changelog.Plugin{File: Urllib3},
},
apisurface.PyPI(PythonSurface, plugin.LayerPackage, "https://github.com/urllib3/urllib3"),
},
})
}RegisterProvider fills in each source's kind (the kinds/<kind> package its plugin's type is defined in) and its page (providers/<provider>/README.md), and panics on missing metadata, a duplicate id, or a provider registered a second time. plugin.Lookup and plugin.LookupSource find a source by its id, provider/source. The plugin's Name is that id: what every event carries in api, and what the fingerprint hashes.
Packages are the published packages the source covers, <ecosystem>:<name> (pypi:stripe, npm:@vercel/sdk): the package itself for a package or SDK source, the provider's official SDKs for an API source. plugin.ForPackage finds a package's sources, so a customer's lockfile maps to sources with no table kept anywhere else. List only names you checked; none is fine.
A source that redesigns its page, moves its changelog or reshapes its spec must never read as "nothing changed", and never as "everything was removed". Every kind runs a shape guard (core/plugin/shape.go), and a read it refuses fails with plugin.ErrShapeChanged: nothing is stored, no event is made, and patch-it's hosted ingestion service reports the source as failing (after repeated failures it opens an issue in this repo labelled source-health).
- Count. Each kind counts what one read found and compares it with the read before: a notices page's notices, a feed's entries, a spec's operations, a changelog file's release headings, a JSON changelog's days, a catalog's command files or upcoming entries, a package's public names. A read with fewer than the kind's ratio of the read before (
DefaultMinRatioin each kind: 0.9 for a notices page, a changelog or a JSON changelog, 0.5 for a feed, a spec or a package surface, 0.8 for a command catalog, 0.25 for a file of upcoming changes), or with none after one that had some, fails. The ratio is compared only when the read before found at leastplugin.MinItemsCompareditems. A migration guide is one document per major, so it has no count to compare. - Nothing to read, release after release. For a versioned source,
ErrNothingToReadon one release is normal. The runner keeps, oldest first, whether each release had something to read and callsShape.NothingToRead: the newestNothingToReadAfterreleases in a row (3 by default) with nothing, after one that had something, isErrShapeChanged(a moved changelog, a guide no longer shipped), not more skipped pairs. - Anchors (living pages only). A source names one or two entries its page always lists, so a page that still parses but no longer carries what the source reads fails too. An anchor is an entry as the kind's reader names it: a model id on a deprecations page, a version number on an end-of-life table, the feed's own title (a feed drops its oldest entries, so its title is what stays) or an entry's title. Check each one on the live page and write it in
provider.goby hand, with a comment saying where it is on the page and the date you checked it (Checked). Never derive an anchor from the saved copy intestdata/.noticestest.Goldenchecks the anchors are on the saved page too.
The source's Shape (on its plugin.Source) holds its anchors and any ratio or count of its own; leave it zero for the kind's defaults, and set a field only with a comment saying why:
{
ID: "models", Layer: plugin.LayerAIModels,
// ...
// Anchors: two models in the page's "Past deprecations" table, which keeps
// every shutdown (gpt-4-0613: Oct 23, 2026; gpt-3.5-turbo-0301: Sep 13, 2024).
Shape: plugin.Shape{Anchors: []plugin.Anchor{{Entry: "gpt-4-0613", Checked: "2026-11-21"}, {Entry: "gpt-3.5-turbo-0301", Checked: "2026-11-21"}}},
Plugin: notices.Plugin{Page: Models, Archiver: kit.Wayback{}},
},When a drop is real (a vendor really trims its changelog at a new major, or really splits its spec), the source fails on every run until someone decides, and the hosted ingestion service opens an issue here. Look first for where the rest went: a moved or split source is a new URL or a second source, not a smaller one. Only when the source really is smaller now, set that source's MinRatio low enough to pass, with a comment saying what dropped, when, and why it's real.
RegisterProvider hands each plugin its source's Shape (plugin.Guarded.WithShape) and refuses a plugin that doesn't take one: a new kind implements WithShape and calls Shape.CheckCount (and, for a living page, Shape.CheckAnchors) before it reads a single change. A plugin built by hand in a test isn't guarded unless the test gives it a Shape: golden tests read trimmed copies, far smaller than the real releases, so a test of the guard calls WithShape itself (each kind has one with a redesigned or shrunken input).
- Fetch only with
env.Get. It caches byETag/Last-Modified, retries, and in tests serves saved files.CI_gofails a package outsidecore/fetch/andcore/kit/that importsnet/http. kit.Cite(ctx, archiver, url, read, want): for a living page'sRead. Takes a Wayback Machine snapshot, reads it with your own reader and checks it says exactly what the live page said. Make the events from the snapshot and cite its URL. No snapshot, no events.plugin.SHA256(body): the hash a living page'sCompareHashholds.github.LatestRelease,github.LatestCommit,github.Commit,github.Head(core/github): the newest release or commit on GitHub, one place; don't decode GitHub's responses yourself.
The event format is patch-it's change-event contract; core/event/ is its Go binding. Every event has a typed subject (api_operation, model, package_release, ci_runtime), a change (breaking, deprecated or added: additions are data too, emit what the kind can see), a version, a fingerprint (event.Fingerprint), and a source_url and source_excerpt: no source, no event. Call Validate(); an invalid event goes in Result.Rejected, not Events.
Save a real copy of what the source reads under the provider's testdata/, providers/<provider>/testdata/. Add a row to its README.md: file, URL, date fetched, license, and a short quote of the part the plugin reads.
- Openly licensed files (MIT, BSD, Apache, CC BY): keep them whole.
- Vendor documentation pages: trim to what the plugin reads (the tables, the sections), copy every kept line unchanged, mark it "excerpt for testing; © the vendor", and say what you left out.
- A big spec or changelog: trim to the paths or entries the tests need, and check the trimmed copy gives the same findings as the full file.
- A YAML or pretty-printed JSON spec can be trimmed by lines, every kept line unchanged.
- When events point into the file by array index (
/12/paths/3/…), keep every position and replace what isn't read with{}, so each pointer names the same entry as in the real file.
The test kit, core/kit/kittest, runs the plugin with no network, no database and a fixed clock:
func TestGolden(t *testing.T) {
env := kittest.Env(t, kittest.Pages{
Commands.ListingURL("8.8-m03"): "testdata/redis-contents-src-commands-8.8-m03.json",
Commands.ListingURL("8.8-rc1"): "testdata/redis-contents-src-commands-8.8-rc1.json",
Commands.FileURL("8.8-m03", "gcra.json"): "testdata/redis-8.8-m03-gcra.json",
Commands.FileURL("8.8-m03", "gcrasetvalue.json"): "testdata/redis-8.8-m03-gcrasetvalue.json",
})
got := kittest.Versions(t, env, Commands,
plugin.Version{ID: "8.8-m03", Ref: "8.8-m03"}, plugin.Version{ID: "8.8-rc1", Ref: "8.8-rc1"})
kittest.Golden(t, "testdata/golden/redis-commands.json", got)
}kittest.Pagesmaps each URL to a saved file;kittest.Envserves them with a fixed clock. Fetching any other URL fails the test.- A versioned source:
kittest.Versions(t, env, plugin, from, to)reads both versions withReadAtand extracts the pair, as the hosted service does. When the older side needn't be read (a changelog's or a migration guide'sExtractreads only the newer release's own section), build the snapshots yourself and callkittest.Extracted(t, env, plugin, from, to), naming the real release before asfrom. - A living page:
kittest.Page(t, env, plugin)is its first read, cited through&kittest.Archive{T: t, Pages: saved}; a second read of the same page must return the kept snapshot and store nothing. - Each stores into an in-memory store (
kittest.Mem) and extracts twice: a rejected event, an error, or a second extract that stores anything new fails the test.kittest.Pairandkittest.ReadPageare the same steps returning errors, for tests that expect one. kittest.Goldencompares the stored events with the JSON file. Create or rewrite it withgo test ./providers/<provider> -update, then read the diff like code: every event in it is a pull request someone may get.
- One drop test: a realistic input the plugin must not turn into an event (an unrelated section, a behavior change written as prose, a product name in a sentence). Precision over recall: a missed change is a bug we fix later; a wrong change is a wrong pull request in someone's repo. Make it prove something: also run the same input with the filter off, and assert the noise it drops is there.
- The registration:
kittest.Registered(t, openapi.Plugin{…})checks the source is registered under that name with that plugin. - A new provider (a new folder under providers/): its blank import goes in
providers/all/all.go(new-pluginadds it).TestEveryProviderIsImportedfails until it's there; the hosted service runs exactly whatproviders/allimports.TestTheImportGraphfails when a kind imports a provider, or a provider imports anything of this module butcore/andkinds/. - A new kind (a new package under kinds/): it says how to read and knows no provider; the providers that use it import it.
Each source has a section on its provider's page, providers/<provider>/README.md (a new provider's from provider-template.md; new-plugin writes the section). Fill in every part: what it watches; why this source (the link, the date you checked it, why it's the best place this provider announces breaking changes, the alternatives you didn't use and why, one short quote); how the provider announces changes; what the plugin reads and ignores; known gaps.
Not optional (AGENTS.md rule 1). The plugin.RegisterProvider block the starter wrote is the only place the source is listed: the provider's id, name, category (plugin.Categories()) and homepage, and the source's id (<provider>/<source>), layer (plugin.Layers()), what it watches, the URLs it reads and the packages it covers. A provider is registered once, in its provider.go: a second source is one more entry in its Sources. make plugins prints the list with it; each release attaches that list as plugins.json, which docs.patch-it.dev and patch-it's hosted ingestion service read. There's nothing else to update.
make check # what CI runs, plus the leak guard
git commit -s -m "add the foo plugin" # DCO sign-offFill in every box of the PR template. One plugin per PR.
Before opening it, have the work reviewed by someone who re-derives it, not by rereading your own diff:
- the history numbers, from the real source;
- every claim on the provider page and in comments, against the code and the data;
- whether any event would be wrong for a caller.
Most of the bugs found in plugins so far were found this way: a deprecation the provider later withdrew, an end of life read as a shutdown, a count that didn't match the data.