pixi icon indicating copy to clipboard operation
pixi copied to clipboard

Patch conda-pypi mapping with a specific name

Open nichtmacho opened this issue 2 years ago • 3 comments

Problem description

Right now users can specify their own mapping by this:

conda-pypi-map = { "conda-forge" = "https://example.com/mapping", "https://repo.prefix.dev/robostack" = "local/robostack_mapping.json"}

based on the discussion with @tdejager it would be nice to have the ability to patch mapping, just by adding a name or fixing an existing one, without entire overwriting of it.

nichtmacho avatar Jun 03 '24 07:06 nichtmacho

This would indeed be great!

Something like this?:

conda-pypi-map = { "conda-forge" = {patch = { boltons_py = "boltons"}}

ruben-arts avatar Jun 03 '24 07:06 ruben-arts

This would indeed be great!

Something like this?:

conda-pypi-map = { "conda-forge" = {patch = { boltons_py = "boltons"}}

yeah! In this case we can also configure channel-specific settings conda-pypi-map = { "conda-forge" = { "url": "https://example.com/mapping", "overwrite": false}

nichtmacho avatar Jun 03 '24 07:06 nichtmacho

As in "extra_url" you mean?

ruben-arts avatar Jun 03 '24 08:06 ruben-arts