Closed mbertrand closed 2 years ago
After this is reviewed and merged, what is the plan for updating courses with missing videos? How/can we do it without overwriting changes that have been made in ocw-studio?
Not sure if we can do it without overwriting changes via another import - @gumaerc?
Is anyone actually updating these old courses? Maybe we could do a targeted import of only courses that have Video-YouTube-MP4
video resources.
Pre-Flight checklist
What are the relevant tickets?
Fix for #459 , #478
What's this PR do?
How should this be manually tested?
courses.json
file containing the courses listed in the issue:node . -i input -o output -c courses.json --download
ocw-hugo-themes
and set .env values, including:npm run start:course
6-00-introduction-to-computer-science-and-programming-fall-2008
, make sure there is a thumbnail for the 1st video on the video gallery page.After
ocw-to-hugo
is run again with these changes, they will need to be migrated to ocw-studio somehow without running theimport-ocw-course-sites
command. The fix for #459 will add a new markdown file for each previously missing video, these need to be added to studio and github. The fix for #478 changes markdown for existing video markdown files.