Hello everybody,

This is actually a #counter-proposal to Tobias #proposal to comment out the
cleanup operation in the default workflows. The reasons given for doing so
were that the cleanup operation deletes all the files but the catalogs and
the source files, but references to some of those deleted files are kept in
the Episode Service and in the published copy; references that are, of
course, no longer valid.

My #proposal here is not removing the "cleanup" operation, but instead
making it keep the files needed for distribution and publishing. That way,
either if we put that operation before or after the "archive" and "publish"
operation, the files required by those operations will still be kept and
there will be no broken references anymore. The advantage of this method is
that we do delete those unnecessary "working" files which are created in
the workflow but then are no longer needed.

This will require to slightly modify the cleanup operation, since currently
it only "saves" files in function of the flavor they have, but the files
for distribution or publishing are marked with tags. This change shouldn't
be a big deal, since there are already examples of operations filtering
mediapackage elements by the tags they have, and we would just need to
"copy" that logic into the cleanup operation.

I'm willing to hear your comments/suggestions/criticism to this #proposal.

Best regards
Rubén
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to