0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-13 16:11:49 +00:00
renovatebot_renovate/lib/modules/datasource/conda/readme.md
Trim21 843a27e99d
feat(datasource/conda): support calling prefix.dev (#34681)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2025-03-14 22:44:37 +00:00

34 lines
779 B
Markdown

This datasource returns releases for package from anaconda registry and prefix.dev. Other repositories are not supported currently.
This datasource support following cases:
Look up `numpy` in `conda-forge` channel on anaconda.
```
{
packageName: 'conda-forge/numpy',
}
```
Look up `numpy` in `conda-forge` channel from prefix.dev using API `https://prefix.dev/api/graphql`.
```
{
packageName: 'numpy',
registryUrls: ["https://prefix.dev/conda-forge/"]
}
```
### Multiple channels support
```
{
packageName: 'some-package',
registryUrls: [
"https://api.anaconda.org/package/conda-forge/",
"https://prefix.dev/conda-forge/",
]
}
```
The above example will lookup try to find the package on anaconda first, if the package can not be found on prefix.dev.