Page History
...
Need to create a feedstock for every new package. LCLS2 feedstock packages are in (for example) https://github.com/slac-lcls/epix-feedstock.
For rogue packages only, need to create a .tar.gz since their git repos are not public:
- Checkout the package (remove the ".git" subdirectory because it is large).
- Create .tar.gz file with "tar cvfz epix-quad-1.2.0.tar.gz epix-quad/"
- Copy the .tar.gz to the directory where it can be seen: "cp epix-quad-1.2.0.tar.gz /reg/g/psdm/web/swdoc/tutorials/"
- Compute the sha256sum with "sha256sum epix-quad-1.2.0.tar.gz"
- Put this sha256 in the epix-quad-feedstock/recipe/meta.yaml
The pinning is in conda_build_config.yaml (our packages are towards the end of the file, the conda-forge pinnings are earlier). The conda forge pinnings are obtained from files like: https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/conda_build_config.yaml. Valerio wrote a small throwaway python script to take the packages from our environment and them to the conda_build_config.yaml. This script also pins the low-level underlying packages that conda-forge does not explicitly pin and adds them to conda_build_config.yaml. This conda_build_config.yaml cannot trivially be used by GitHub actions (because it will pull the latest version from conda-forge) so we are using this file and building locally on psbuild-rhel7 (with infinite time we could write a custom action).
...