Skip to content

Commit

Permalink
chore: Update renovate config for new haskell-cabal manager
Browse files Browse the repository at this point in the history
This manager was recently introduced to renovate and is now creating PRs
for upper version bounds of our haskell dependencies. We still need to
figure out how to deal with those in the best way, but some basic
configuration can already be done. Here, we:
- disallow any of those updates on the backbranches.
- group GHC-provided dependencies together.
- group packages from the hasql ecosystem together.
  • Loading branch information
wolfgangwalther committed Jan 18, 2025
1 parent 14449bc commit d168364
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@
"packageRules": [
{
"matchBaseBranches": [ "/^v[0-9]+/" ],
"groupName": "all dependencies"
"groupName": "all dependencies",
"haskell-cabal": {
"enabled": false
}
},
{
"matchManagers": ["haskell-cabal"],
"matchPackageNames": ["base", "bytestring", "containers", "directory", "mtl", "parsec", "process", "text"],
"groupName": "GHC dependencies"
},
{
"matchManagers": ["haskell-cabal"],
"matchPackageNames": ["hasql", "hasql-dynamic-statements", "hasql-notifications", "hasql-transaction", "hasql-pool"],
"groupName": "hasql"
}
]
}

0 comments on commit d168364

Please sign in to comment.