prefix-dev / rattler-build

rattler-build is a universal package builder for Windows, macOS and Linux
https://prefix-dev.github.io/rattler-build
BSD 3-Clause "New" or "Revised" License
205 stars 43 forks source link

Optional .condarc support #622

Open mparry opened 8 months ago

mparry commented 8 months ago

I assume that the current behaviour of ignoring any .condarc that might be present is an intentional design decision. Would it be possible to at least add an option to respect some parts of it - in particular, the list of channels?

For example, in a corporate setup where a completely custom set of channels is used - e.g. multiple internal channels plus proxies to the standard ones - it would be awkward and undesirable to have to specify this again in every build command line.

In such a scenario, it also creates friction for migration from either conda-build or even boa.

(This has obvious overlap with #262 but I felt that it's not the same issue as things stand, given that use of .condarc is not requested / proposed as a solution there. Equally, a solution to one could at least partially solve the other.)

pavelzw commented 8 months ago

This is also related with https://github.com/prefix-dev/pixi/issues/172

I would prefer a separate .rattlerrc or ~/.config/rattler/rattlerrc instead of .condarc