Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure the source media files are not directly copied over to destina… #71

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

weibz
Copy link
Collaborator

@weibz weibz commented Jul 11, 2023

…tion if it is handled by packager

Description:

The TranformFactory might contain more transforms, PackagerTransform and UploadTransform.

But usually only one transform is needed for a specific source asset.

When the source asset contains .ism, it is supposed to be handled by the PackagerTransform.
When the source asset doesn't have .ism, it is UploadTransform's job to copy over media files.

Each Transform instance has its own logic to determine what type of source asset can be supported by this transform.

If a previous transform doesn't support such input asset, it returns status as Skipped,
The next transform is invoked only when previous transform reports Skipped.

Make sure the outputPath reported by all these transforms follow the same spec, which points to the destination folder only.

…tion if it is handled by packager

Description:

  The TranformFactory might contain more transforms,  PackagerTransform and UploadTransform.

  But usually only one transform is needed for a specific source asset.

  When the source asset contains .ism, it is supposed to be handled by the PackagerTransform.
  When the source asset doesn't have .ism, it is UploadTransform's job to copy over media files.

  Each Transform instance has its own logic to determine what type of source asset can be supported by this transform.

  If a previous transform doesn't support such input asset, it returns status as Skipped,
  The next transform is invoked only when previous transform reports Skipped.

  Make sure the outputPath reported by all these transforms follow the same spec, which points to the destination folder only.
@weibz weibz merged commit 7693f36 into main Jul 11, 2023
2 checks passed
@weibz weibz deleted the weibz/avoid_copyover branch July 11, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants