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

Mark pixi lock files as generated #7111

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

freundTech
Copy link

Closes #7108
Pixi is a cross-platform package manager for the conda ecosystem. It uses a lockfile called pixi.lock, which should be counted as generated code.

Description

Checklist:

  • I am adding a new extension to a language.

    • The new extension is used in hundreds of repositories on GitHub.com
    • I have included a real-world usage sample for all extensions added in this PR:
      • Sample source(s):
        • [URL to each sample source, if applicable]
      • Sample license(s):
    • I have included a change to the heuristics to distinguish my language from others using the same extension.
  • I am adding a new language.

    • The extension of the new language is used in hundreds of repositories on GitHub.com.
    • I have included a real-world usage sample for all extensions added in this PR:
      • Sample source(s):
        • [URL to each sample source, if applicable]
      • Sample license(s):
    • I have included a syntax highlighting grammar: [URL to grammar repo]
    • I have added a color
      • Hex value: #RRGGBB
      • Rationale:
    • I have updated the heuristics to distinguish my language from others using the same extension.
  • I am fixing a misclassified language

    • I have included a new sample for the misclassified language:
      • Sample source(s):
        • [URL to each sample source, if applicable]
      • Sample license(s):
    • I have included a change to the heuristics to distinguish my language from others using the same extension.
  • I am changing the source of a syntax highlighting grammar

    • Old: [URL to grammar repo]
    • New: [URL to grammar repo]
  • I am updating a grammar submodule

  • I am adding new or changing current functionality

    • I have added or updated the tests for the new or changed functionality.
  • I am changing the color associated with a language

    • I have obtained agreement from the wider language community on this color change.
      • [URL to public discussion]
      • [Optional: URL to official branding guidelines for the language]

Pixi is a cross-platform package manager for the conda ecosystem.
It uses a lockfile called pixi.lock, which should be counted as
generated code.
@freundTech freundTech requested a review from a team as a code owner October 28, 2024 10:11
@spenserblack
Copy link
Contributor

spenserblack commented Oct 30, 2024

Might want to check on this and make sure this is OK with the Pixi maintainers: prefix-dev/pixi#265 (comment)

@freundTech
Copy link
Author

Might want to check on this and make sure this is OK with the Pixi maintainers: prefix-dev/pixi#265 (comment)

This PR and Issue #7108 have both been posted to the pixi discord server: https://discord.com/channels/1082332781146800168/1300274825838854235
While they haven't been explicitly approved by the pixi team they have been acknowledged.

Also the PR you linked is no longer up-to-date. As of prefix-dev/pixi#1488 pixi also adds linguist-generated to the .gitattributes file when initializing a project.

I also believe the answer in the PR you linked was given based on a misunderstanding:

I think it is very important people are aware a lock file changed in a PR.

Marking a file as generated doesn't hide that it changed in a PR. It just collapses it (just like large files are collapsed automatically). You can see that it changed, but you have to click to see what has changed.

@spenserblack
Copy link
Contributor

Sorry if my comment came off as argumentative 🙂
I just wanted to bring that up because it reminded me of when the yarn maintainer asked that yarn.lock should not be generated.

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

Successfully merging this pull request may close these issues.

Exclude Pixi.lock as generated
2 participants