Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking in pixi.lock #1154

Open
trim21 opened this issue Mar 12, 2025 · 3 comments
Open

Checking in pixi.lock #1154

trim21 opened this issue Mar 12, 2025 · 3 comments

Comments

@trim21
Copy link
Contributor

trim21 commented Mar 12, 2025

similar idea to #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

@Hofer-Julian
Copy link
Collaborator

Sounds good to me.

What do you say @baszalmstra?

@baszalmstra
Copy link
Collaborator

Sounds good to me! Ill try setting up renovate for this repository.

@trim21
Copy link
Contributor Author

trim21 commented Mar 13, 2025

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"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants