timetable-mgr/pis/update.go

12 lines
298 B
Go

package pis
// Downloads the release tarball, extracts then applies to database
func runUpdate(tarballUrl string) error {
// Download and extract tarball
// load PIS yaml files
// Run code deduplication
// Replace database collection with new data
// Ensure indeces are present
return nil
}