mitodl / ocw-to-hugo

A command line utility for taking master.json output from ocw-data-parser and producing markdown for use with hugo-course-publisher
3 stars 0 forks source link

Fix missing videos / thumbnails #477

Closed mbertrand closed 2 years ago

mbertrand commented 2 years ago

Pre-Flight checklist

What are the relevant tickets?

Fix for #459 , #478

What's this PR do?

How should this be manually tested?

After ocw-to-hugo is run again with these changes, they will need to be migrated to ocw-studio somehow without running the import-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.

pdpinch commented 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?

mbertrand commented 2 years ago

Not sure if we can do it without overwriting changes via another import - @gumaerc?

mbertrand commented 2 years ago

Is anyone actually updating these old courses? Maybe we could do a targeted import of only courses that have Video-YouTube-MP4 video resources.