Skip to content
Snippets Groups Projects

Use apache2 reverse proxy instead of mirror

Merged André Anjos requested to merge conda-proxy into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -454,13 +454,13 @@ if __name__ == "__main__":
logger.info("(create) %s", condarc)
with open(condarc, "wt") as f:
# Replaces https://repo.anaconda.com/pkgs/main by
# http://www.idiap.ch/software/bob/defaults with so it is optimized for
# http://bobconda.lab.idiap.ch:8000, so it is optimized for
# a CI build. Notice we consider this script is only executed in this
# context. The URL should NOT work outside of Idiap's network.
f.write(
_BASE_CONDARC.replace(
"https://repo.anaconda.com/pkgs/main",
"http://www.idiap.ch/defaults",
"https://repo.anaconda.com",
"http://bobconda.lab.idiap.ch:8000",
)
)
Loading