Closed Bug 1609870 Opened 4 years ago Closed 4 years ago

[sync] Join sync_project and sync_translations into a single sync task

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: vishalcr7, Mentored)

Details

(Whiteboard: pontoon-sync-join-tasks)

Attachments

(1 file)

Each project sync cycle consists of two tasks:
#1 - sync_projects task for syncing source strings
#2 - sync_translations task for syncing translations (triggered by #1)

If we join them in one, we're very likely to prevent bug 1383271, bug 1406374 and bug 1608660. Also, there's no good reason why we should have two separate tasks.

We started the effort by fixing bug 1612103.

Note that we should also only pull the repos once, which should help with the last_synced_revisions issue in bug 1383271 and bug 1406374. We should probably set last_synced_revisions close to the end of sync_translations().

Priority: P3 → P2
Whiteboard: pontoon-sync-join-tasks
Assignee: nobody → m
Status: NEW → ASSIGNED
Assignee: m → vishaliitr7
Mentor: m
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: