3

I can easily publish the main conda repo in Nexus Repository Manager. The URL used is this:

https://repo.anaconda.com/pkgs

But how do I figure out which URL to use for publishing e.g. conda-forge or the conda R channel?

https://conda.anaconda.org/conda-forge/pkgs

does not work. Am I wrong in thinking there should be a repodata.json in the root of the URL?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Niels Jespersen
  • 410
  • 4
  • 16
  • Does this answer your question? [What is the full conda-forge channel url?](https://stackoverflow.com/questions/55711498/what-is-the-full-conda-forge-channel-url) – FlyingTeller Jan 17 '22 at 12:16
  • No, unfortunately not . https://conda.anaconda.org/conda-forge will result in a 404. There are repodata.json files in https://conda.anaconda.org/conda-forge/noarch and in https://conda.anaconda.org/conda-forge/win-64, but those also results in 404 – Niels Jespersen Jan 17 '22 at 14:13

2 Answers2

0

yes same here adding : https://conda.anaconda.org/conda-forge in nexus conda-forge repo made a 404

moa
  • 1
0

I found out.

The url for conda-forge is

https://conda.anaconda.org/conda-forge/

The url for the local repo is this (assuming the repo is named conda_forge)

http://localhost:8081/repository/conda_forge

The webinterface of Nexus Repository Manager claims there should be a /main in the end of the local url, but this is wrong.

Niels Jespersen
  • 410
  • 4
  • 16