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

Rattler-build hogging the recipe basename for YAML files #4401

Open
samspycher opened this issue Jan 29, 2025 · 0 comments
Open

Rattler-build hogging the recipe basename for YAML files #4401

samspycher opened this issue Jan 29, 2025 · 0 comments

Comments

@samspycher
Copy link

samspycher commented Jan 29, 2025

Area with issue?

JSON Schema (actually YAML)

✔️ Expected Behavior

Only actual rattler-build YAML files get validated as such.

❌ Actual Behavior

All recipe.yaml or recipe.yml files are validated with the rattler-build schema, causing meaningless validation errors for all YAML files that are named in this way but aren't rattler-build files – likely a large majority of such files.

I have no clue what more specific naming rule would be suitable for rattler-build, but it seems wrong to assume that all YAML files with basename recipe are rattler-build files.

As a workaround I created my own Schema store here, and configured that URL e.g. for VS Code in the Yaml > Schema Store > Url setting.

YAML or JSON file that does not work.

No response

IDE or code editor.

Any/All

Are you making a PR for this?

Happy to open a PR for this or whatever else works, but actual rattler users should probably decide what specific naming convention to use.

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

1 participant