-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: channels creation on migrate (#2215)
Now the migration script will result in: ```toml [envs.package2] channels = ["file:///C:/Users/Ruben/development/pixi/tests/integration/test_data/global_update_channel_1/output"] dependencies = { package2 = "*" } exposed = { package2 = "package2" } [envs.pixi-pack] channels = ["conda-forge"] dependencies = { pixi-pack= "*" } exposed = { pixi-pack= "pixi-pack" } ```` Instead of ```toml [envs.package2] channels = ["file:///C:/Users/Ruben/development/pixi/tests/integration/test_data/global_update_channel_1/output"] dependencies = { package2 = "*" } exposed = { package2 = "package2" } [envs.pixi-pack] channels = ["https://conda.anaconda.orge/conda-forge/"] dependencies = { pixi-pack= "*" } exposed = { pixi-pack= "pixi-pack" } ```` This PR also fixes the migration from multi channel environments, as it was not checking all channels used in the initial install. Before: ```toml [envs.lsd] channels = ["https://prefix.dev/rust-forge"] dependencies = { lsd = "*" } exposed = { lsd = "lsd" } ``` after this PR: ```toml [envs.lsd] channels = [ "https://prefix.dev/rust-forge", "conda-forge", ] dependencies = { lsd = "*" } exposed = { lsd = "lsd" } ``` --------- Co-authored-by: Julian Hofer <[email protected]>
- Loading branch information
1 parent
5fc47fc
commit c5eb033
Showing
25 changed files
with
327 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+14.7 KB
(180%)
tests/integration/test_data/dummy_channel_1/output/linux-64/dummy-a-0.1.0-hb0f4dca_0.conda
Binary file not shown.
Binary file modified
BIN
+5.37 KB
(120%)
tests/integration/test_data/dummy_channel_1/output/linux-64/dummy-b-0.1.0-hb0f4dca_0.conda
Binary file not shown.
Binary file modified
BIN
+7.71 KB
(150%)
tests/integration/test_data/dummy_channel_1/output/linux-64/dummy-c-0.1.0-hb0f4dca_0.conda
Binary file not shown.
Binary file added
BIN
+17.8 KB
tests/integration/test_data/dummy_channel_1/output/linux-64/dummy-d-0.1.0-hb0f4dca_0.conda
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+31.8 KB
(150%)
tests/integration/test_data/dummy_channel_1/output/osx-64/dummy-a-0.1.0-h0dc7051_0.conda
Binary file not shown.
Binary file modified
BIN
+24.3 KB
(160%)
tests/integration/test_data/dummy_channel_1/output/osx-64/dummy-b-0.1.0-h0dc7051_0.conda
Binary file not shown.
Binary file modified
BIN
+32.7 KB
(170%)
tests/integration/test_data/dummy_channel_1/output/osx-64/dummy-c-0.1.0-h0dc7051_0.conda
Binary file not shown.
Binary file added
BIN
+74.8 KB
tests/integration/test_data/dummy_channel_1/output/osx-64/dummy-d-0.1.0-h0dc7051_0.conda
Binary file not shown.
Oops, something went wrong.