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

Windows-only shortcut is created by Linux and MacOS shell installers #234

Open
2 tasks done
dokempf opened this issue Jul 31, 2024 · 1 comment
Open
2 tasks done
Labels
type::bug describes erroneous operation, use severity::* to classify the type

Comments

@dokempf
Copy link

dokempf commented Jul 31, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I have a Windows only shortcut defined here: https://github.com/conda-forge/helios-menuinst-feedstock/blob/main/recipe/src/menu.json#L32

However, the shell installers for Linux and MacOS also add this shortcut (which is of course not functional). You can download the installers for reproduction here: https://heibox.uni-heidelberg.de/d/5672545fba1b4185a3be/

Is this a bug or did I misread the documentation about how to specify platforms?

Conda Info

No response

Conda Config

No response

Conda list

No response

Additional Context

No response

@dokempf dokempf added the type::bug describes erroneous operation, use severity::* to classify the type label Jul 31, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Jul 31, 2024
@dokempf
Copy link
Author

dokempf commented Aug 2, 2024

After reading through #240 and debugging with the generated paths, I can confirm the following:

"platforms": {
  "win": {}
}

will trigger generation on all platforms, which I consider a bug.

The following works:

"platforms": {
  "win": {},
  "linux": null,
  "osx": null
}

I will use this for now in my package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant