You can deploy packages to a local or virtual Conda repository using the Deploy feature in the UI or using an HTTP client of your choice.
Metadata Updates
The Conda metadata is automatically calculated and updated when adding, removing, copying or moving Conda packages. The calculation is only invoked after a package-related action is completed.
It may sometimes take up to 30 seconds to complete as the process is asynchronous and its performance depends on the overall system load.
Although rarely required, you may wish to invoke metadata calculation on the entire repository. This can be done using the Recalculate Index option after you right-click the repository in the Tree Browser, or via the REST API.
Set the Default Conda Deployment Repository
To deploy Conda packages to a virtual Conda repository, make sure you have set the Default Deployment Repository.
Deploying a Package Using the UI
You can drag and drop, or select a Conda package to upload in Deploy in the UI.
Deploy a Conda Source Package
When deploying sources, the Target Path is automatically displayed and we recommend not changing this path. Changing the 'src/contrib
' path will result in Artifactory not identifying the package as a Conda package since Artifactory will not be able to index it.
Deploy a Conda Package Using cURL
To deploy your package to an Artifactory repository you can either use the Artifactory web UI, or upload the package using an HTTP client such as cURL:
Deploy source package
curl -XPUT ${USERNAME}:${PASSWORD} "http://localhost:8080/artifactory/conda-local/" -T my-package-1.0.0.tar.bz2