Skip to content

Documentation on whether to commit the lockfile #5325

@VeckoTheGecko

Description

@VeckoTheGecko

On https://pixi.prefix.dev/dev/workspace/lockfile , searching for "commit" yields no results.

It would be great to have a documentation about whether to commit the lockfile in git - this should be both from the perspective of working with application code as well as from a library author perspective.

If the recommendation for library authors requires complex CI to set up, I think that there should:

  • (if applicable) be further development within the Pixi ecosystem to ease these ergonomics and simplify the process (e.g, creating a bot to help with PRs), and (until this is done)
  • be an alternate recommendation (e.g., ignore the lock file ) with clearly documented downsides so that smaller libraries don't have to deal with this complex setup

Related documentation/context:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions