carpentries / feeds.carpentries.org

A repo to generate dynamic JSON data feeds for The Carpentries
https://feeds.carpentries.org
MIT License
3 stars 2 forks source link

Add template tag #84

Closed zkamvar closed 10 months ago

zkamvar commented 10 months ago

The lesson feed builds are failing again:

No tag found among (pre-alpha, alpha, beta, stable, on-hold) for repo: carpentries/workbench-template-rmd

This is a multiple sources of truth problem. The script is searching the GitHub tags for the life cycle. The issue arose when Toby removed the "alpha" tag from the template repo description tags: https://github.com/carpentries/workbench-template-md/issues/36#issuecomment-1851984643 at the request of Aleks who (rightfully) pointed out that it was confusing to have the template labelled as "alpha" if it was ready for use (see https://github.com/carpentries/workbench-template-md/issues/36).

I have implemented a fix by adding a "template" tag so that a lesson template can will have a "life_cycle" : "template" tag. This has the advantage of allowing us to better label the template and treat it as a special type of lesson in our feeds down the road.