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

Introduce 'delta-pull' option to the third party sync command #10

Merged
merged 10 commits into from
Aug 17, 2023

Conversation

maallen
Copy link
Member

@maallen maallen commented Aug 10, 2023

Introduce a delta-pull option to the third party sync command, when enabled text unit imports will only occur for batches that contain updates. The implementation stores the checksum of a translated file pulled from a third party provider for a locale, on a subsequent sync compare the checksum of the current file with the stored checksum.

If checksums match no changes have occurred and we will exit processing early for that locale.

@maallen maallen changed the title Introduce 'delat-pull' option to the third party sync command Introduce 'delta-pull' option to the third party sync command Aug 10, 2023
@maallen maallen marked this pull request as ready for review August 11, 2023 09:38
Copy link
Collaborator

@aurambaj aurambaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@maallen maallen merged commit 3355364 into master Aug 17, 2023
2 checks passed
@maallen maallen deleted the smartling_short_circuit branch August 17, 2023 08:19
aurambaj pushed a commit that referenced this pull request Sep 2, 2023
Introduce a delta-pull option to the third party sync command, when enabled text unit imports will only occur for batches that contain updates. The implementation stores the checksum of a translated file pulled from a third party provider for a locale, on a subsequent sync compare the checksum of the current file with the stored checksum.

If checksums match no changes have occurred and we will exit processing early for that locale.
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.

3 participants