ci: Update renovate to track Arch Linux repos using repology (#4434)
This commit is contained in:
parent
06488dfb9a
commit
98d72a6b57
|
|
@ -18,11 +18,11 @@ classifiers = [
|
|||
"Operating System :: POSIX :: Linux",
|
||||
]
|
||||
dependencies = [
|
||||
"pyparted>=3.13.0",
|
||||
"pyparted==3.13.0",
|
||||
"pydantic==2.12.5",
|
||||
"cryptography>=45.0.7",
|
||||
"textual>=5.3.0",
|
||||
"markdown-it-py[linkify]>=4.0.0",
|
||||
"cryptography==46.0.7",
|
||||
"textual==8.2.3",
|
||||
"markdown-it-py[linkify]==4.0.0",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
|
|
|||
|
|
@ -8,6 +8,30 @@
|
|||
"pre-commit": {
|
||||
"enabled": true
|
||||
},
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Track runtime Python deps via Arch Linux repos instead of PyPI",
|
||||
"managerFilePatterns": ["**/pyproject.toml"],
|
||||
"matchStrings": [
|
||||
"\"(?<depName>pyparted|pydantic|cryptography|textual|markdown-it-py)(?:\\[.*?\\])?==(?<currentValue>[^\"]+)\""
|
||||
],
|
||||
"depNameTemplate": "arch/python-{{{depName}}}",
|
||||
"datasourceTemplate": "repology",
|
||||
"versioningTemplate": "loose"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Track systemd_python via Arch Linux repos (different package name)",
|
||||
"managerFilePatterns": ["**/pyproject.toml"],
|
||||
"matchStrings": [
|
||||
"\"systemd_python==(?<currentValue>[^\"]+)\""
|
||||
],
|
||||
"depNameTemplate": "arch/python-systemd",
|
||||
"datasourceTemplate": "repology",
|
||||
"versioningTemplate": "loose"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDepTypes": [
|
||||
|
|
@ -24,6 +48,19 @@
|
|||
"astral-sh/ruff-pre-commit"
|
||||
],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"description": "Disable PyPI updates for runtime deps tracked via Arch repos",
|
||||
"matchDatasources": ["pypi"],
|
||||
"matchPackageNames": [
|
||||
"pyparted",
|
||||
"pydantic",
|
||||
"cryptography",
|
||||
"textual",
|
||||
"markdown-it-py",
|
||||
"systemd_python"
|
||||
],
|
||||
"enabled": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue