moose icon indicating copy to clipboard operation
moose copied to clipboard

Mirror Conda packages used when creating moose-packages

Open milljm opened this issue 7 months ago • 0 comments

Motivation

Due to a recent occurrence where one of our older packages was not installable due to an upstream package resource controller removing said package(s), we need to devise a way to snap-shot the packages used during creation, and mirror them to a server we control.

This will be a combination CIVET recipe and conda/* recipes change.

Design

Leverage the JSON meta data created when building a moose-package to capture all the packages involved with its creation.

Once that is known, we can mirror these packages to our servers for long term storage.

Ideally we would mirror these packages on our public channel. Because the two packages are identical in every way (we're copying from conda-forge to /public), the end-user experience should be transparent - Conda doesn't care. As long as the hashes match (I think). More testing is needed to be sure.

Impact

Our Conda packages will remain viable for a much greater length of time.

milljm avatar Jul 03 '24 15:07 milljm