mitodl / salt-ops

Repository for building, managing and deploying salt-based infrastructure
BSD 3-Clause "New" or "Revised" License
47 stars 7 forks source link

add OCW_COURSE_STARTER_SLUG #1543

Closed gumaerc closed 2 years ago

gumaerc commented 2 years ago

The OCW_IMPORT_STARTER_SLUG environment setting was originally created to determine the starter that should be used upon importing ocw-to-hugo converted courses into ocw-studio. This variable was used in OCW home page template to filter the sites in the "new courses" carousel. This is an inappropriate name for this variable, as the intention is more to denote "what is the name of the current course site starter in ocw-studio?" The variable should be renamed to OCW_COURSE_STARTER_SLUG to be more relevant to what it actually represents. The value should be set to ocw-course-v2.

OCW_IMPORT_STARTER_SLUG will be decommissioned at a later date once the new variable is set and PR's have been merged to use it instead of OCW_IMPORT_STARTER__SLUG