pangeo-forge-recipes icon indicating copy to clipboard operation
pangeo-forge-recipes copied to clipboard

is there an example of a full meta.yaml?

Open jkingslake opened this issue 3 years ago • 3 comments

The link at the top of this section of the documentation says it is an example of a full meta.yaml, with sections including recipes, bakeries, etc. but it points to an example from conda-forge: https://github.com/conda-forge/staged-recipes/blob/main/recipes/example/meta.yaml

Is there an example in this repo of a pangeo-forge meta.yaml? I couldn't find one with a simple search.

jkingslake avatar Oct 08 '21 18:10 jkingslake

Great catch! We should add this to the documentation, but for your reference now:

https://github.com/pangeo-forge/noaa-oisst-avhrr-only-feedstock/blob/main/feedstock/meta.yaml

cisaacstern avatar Oct 08 '21 18:10 cisaacstern

shall I make the edit? Just so I can feel like a contributor. haha :-)

jkingslake avatar Oct 08 '21 19:10 jkingslake

shall I make the edit?

Yes! Would be great to have a PR from you, @jkingslake!

This is the file with the bad link: https://github.com/pangeo-forge/pangeo-forge-recipes/blob/master/docs/intro_tutorial.md

One caveat: I don't think we should link to the example file I gave you in https://github.com/pangeo-forge/pangeo-forge-recipes/issues/221#issuecomment-939043216, because this is not generalized enough. Instead, like the (current, incorrect) link to conda-forge, we should make a generalized meta.yaml with the the staged-recipes/examples/ directory which has comments instructing contributors about the meanings/uses of each section. Here is the specification upon which staged-recipes/examples/meta.yaml should be based:

https://github.com/pangeo-forge/roadmap/blob/master/doc/adr/0002-use-meta-yaml-to-track-feedstock-metadata.md

So this fix is actually two PRs:

  1. Add staged-recipes/examples/meta.yaml
    • Edit: While we're at it, we can delete staged-recipes/examples/pipeline.py, which is out of date.
  2. Point the tutorial link in pangeo-forge-recipes to file added in step 1

cisaacstern avatar Oct 08 '21 20:10 cisaacstern