Skip to content
Snippets Groups Projects
Unverified Commit e045bd9f authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: new datasources must follow class-based programming style (#11070)

parent fcb11ccb
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,11 @@
Datasources are used in Renovate primarily to fetch released versions of packages.
## Follow the class-based programming style
New datasources _must_ follow the class-based programming style.
Use the `adoptium-java` datasource as a reference.
## getReleases
The minimum exported interface for a datasource is a function called `getReleases` that takes a lookup config as input.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment