rattler
rattler copied to clipboard
Checking in `pixi.lock`
similar idea to https://github.com/conda/rattler/issues/1103 , since yesterday renovate support refreshing lock file of pixi, maybe we should consider commit pixi.lock to git.
you will need to install this github app https://github.com/apps/renovate.
It will need a config file, I would suggest this:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["pixi"],
"lockFileMaintenance": {
"enabled": true,
"recreateWhen": "always",
"rebaseStalePrs": true,
"branchTopic": "lock-file-maintenance",
"commitMessageAction": "Lock file maintenance",
"commitMessageTopic": "build",
"schedule": [
"before 4am on monday"
]
}
}
and add --locked or --frozen to setup-pixi
https://github.com/prefix-dev/setup-pixi?tab=readme-ov-file#--frozen-and---locked
Sounds good to me.
What do you say @baszalmstra?
Sounds good to me! Ill try setting up renovate for this repository.
All supported manager is enabeld by default, so you will need a config to only pick pixi.
And it won't generate pixi.lock if we doesn't have one in the repo, it only update existing ones.
If we need semantic commits we also need these options:
{
"semanticCommits": "enabled",
"semanticCommitType": "build"
}
Looks like this was done in https://github.com/conda/rattler/pull/1158