Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Mar 13, 2024
1 parent fc2a123 commit 28456c7
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions docs/design_proposals/channel_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Instead of providing a single mirror, you can also provide a list of mirrors.
"https://conda.anaconda.org" = [
"https://conda.anaconda.org", # (1)!
"https://repo.prefix.dev",
{url = "https://repo.artifactory.com/conda-mirror-conda-forge", use_zstd = false},
"https://repo.artifactory.com/conda-mirror-conda-forge",
"oci://ghcr.io/conda-channel-mirrors/conda-forge"
]
```
Expand All @@ -131,18 +131,11 @@ You can specify whether `pixi` and `rattler-build` should use the `repodata.json
This is needed for some proxies like older versions of artifactory ([RTFACT-29886](https://jfrog.atlassian.net/jira/software/c/projects/RTFACT/issues/RTFACT-29886)).

```toml title="rattler.toml"
[mirrors]
"https://conda.anaconda.org" = [
{ url = "https://mirrorme.com", no_zstd = false }
]

"https://repo.artifactory.cloud" = [ # (1)!
{ url = "https://repo.artifactory.cloud", no_zstd = true, no_jlap = true }
]
use_zstd = false
use_jlap = false
use_bz2 = false
```

1. If you want to specify the behavior of a specific server, you can add it as a mirror to itself with the desired behavior.

### Use private channels

You can specify private channels in your `pixi.toml` and route them to a different URL.
Expand Down

0 comments on commit 28456c7

Please sign in to comment.