Open casperdcl opened 1 month ago
How do we upload the packages to our mirror?
I currently manually run roughly:
ssh tomography.stfc.ac.uk 'conda-mirror --upstream-channel {ccpi,intel} && conda index'
but we can easily:
tomography.stfc.ac.uk
cron
job to tomography.stfc.ac.uk
Option (1) is probably best for long-term sustainability, but option (2) is a very quick n easy stop-gap.
If we replace our current instructions then we need someway to specify dev/main builds. We don't want users using the dev build unless they are doing it for a reason. Conda currently deferentiates with the channels ccp/label/dev
and cil/label/main
which I guess is an alias of ccpi
leaving open until we update the docs (-c https://tomography.stfc.ac.uk/conda
in lieu of -c https://software.repos.intel.com/python/conda -c ccpi
)
Note from #1914:
- upload to
anaconda -c ccpi
(on master->dev
, on tag->main
)- upload to
conda -c https://tomography.stfc.ac.uk/conda
(on tag)
Problems
intel
channel sometimes timing outccpi
-c channel_name_or_URL
)Proposal
I've mirrored all
ccpi
packages as well asintel
ipp-*
packages for all platforms (linux-64,win-64,noarch,...
) at https://tomography.stfc.ac.uk/conda.This means installation can be as simple as:
/CC @samtygier-stfc
-c https://tomography.stfc.ac.uk/conda
in lieu of-c https://software.repos.intel.com/python/conda -c ccpi
anaconda -c ccpi
(on master->dev
, on tag->main
)conda -c https://tomography.stfc.ac.uk/conda
(on tag)