Expand the ability to specify parameters by is_base or not#334
Conversation
5114612 to
9514862
Compare
9514862 to
b36bf87
Compare
|
Hm, I'm not sure about this. The |
|
Your suggestion would work, and it isn’t a bad one. I might just do it. The problem is that any application will have duplicate their menuinst packages. That’s fine for me. But will generate future annoyance for users. I’ll try and see how it looks. Thanks again for the reviews! |
|
In the future, |
|
But in my use case, my main app is « my application » and not conda. I want my base to be protected too ;) this is less for miniforge, more for customized use cases. |
|
Fair enough. Also, I think you could accomplish the same with a single package, but two build variants, with some |
|
I've held off on commenting, but 1 year later i find this inconsistency to still be thorn in our setup process.
is pretty complicated. variants and keeping them in sync is a chore. Would you reconsider these additions? |
|
The #477 may provide a way out though: I made a suggestion to enable the I would also move the bash details into a separate PR because it's a separate concern. |
can i circle back to this after #477 is merged? it seems like a lot of changes, so i'm hopeful I'll be able to use it. |
|
Hi @hmaarrfk could you provide more with more context to your use-cases? |
Lets consider installing Spyder. And I know that Spyder can be installed in one environment, then USE the python of an other, but I've never found that to be hyper reliable. There is one usecase where you want to install spyder in 2 environments that are NOT base:
In this case, you want Spyder to show up on linux as In the case that you now wnat to ship Spyder, as a standalone application
You don't want That is the main usecase and the logic I want. I want to design different names for my application when it is installed in base (it can assume it is a standalone application), and when it is in an environment (where the There are many "customizations" accross most of the options in menuinst that need to happen. I would prefer to not have 2 packages to install. |
|
Thanks for working to learn more about my usecase! |
|
Hi @hmaarrfk thanks for sharing this. If the primary use case is just the name (Spyder vs Spyder (env)) I'd say that adding built-in placeholders would be the easiest. I.e.:
Other ways forward could be:
|
|
Unfortunately for me. A partial solution just isn’t enough. I might take Jaime’s suggestion and just deal with two helper package names. This is really not ideal since I feel like what I’m asking for is a natural extension of the schema that is already here. |
In my workflow, I change a bit more than just the name depending on the environment being base or not.
This expands the functionality of #180
xref: #207
This provides those switches.
It also provides a way to "not run inside a bash shell"
Let me know if you are interested in this, I need to go through the checklist.
Checklist - did you ...
newsdirectory (using the template) for the next release's release notes?