stackinator icon indicating copy to clipboard operation
stackinator copied to clipboard

recipe repo issues: conflicting cray-mpich package

Open j-ogas opened this issue 2 years ago • 3 comments

stack-config will error when the target recipe has a repo with /packages/cray-mpich. This appears to be because the alps repo is always added, regardless of the -r argument?

j-ogas avatar Jun 28 '23 19:06 j-ogas

Also, it appears that one cannot get around this issue by adding a repo.yaml that defines different a namespace, e.g., mysweetrepo, with the hopes of specifying which cray-mpich to use, e.g., alps.cray-mpich vs. mysweetrepo.cray-mpich.

Found 'repo.yaml' file in `myrecipe/repo`
'repo.yaml' is ignored, packages are added to the 'alps' repo

j-ogas avatar Jun 28 '23 19:06 j-ogas

Hello @j-ogas. Sorry for the slow reply, I missed this issue.

To summarise, you are trying to provide your own packages/cray-mpich because the default one provided by Stackinator refers to the CSCS artifactory?

Thinking about this, we could move the alps repo out of stackinator, and have the default repo be provided in the system configuration. That way it is packaged with the system-specific configuration?

bcumming avatar Jul 14 '23 06:07 bcumming

To summarise, you are trying to provide your own packages/cray-mpich because the default one provided by Stackinator refers to the CSCS artifactory?

Precisely. We need to fetch our source tarballs from our internal mirror.

Thinking about this, we could move the alps repo out of stackinator, and have the default repo be provided in the system configuration. That way it is packaged with the system-specific configuration?

That sounds reasonable.

j-ogas avatar Jul 17 '23 16:07 j-ogas