mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
A WeKan list can be marked with a syncSource (type/url/projectKey) and a server-only credential (models/listSyncCredentials.js, never published). server/listSync.js registers a quave:synced-cron job, reusing the SAME scheduling infrastructure the checklist-auto-reset job uses, that fetches each synced list's current items and reconciles them against WeKan (models/lib/listSyncReconcile.js, pure/unit-tested): new items create cards, changed items update them, and items that disappeared upstream are ARCHIVED rather than deleted, so old entries stay in the list's history. Fetching (server/lib/listSyncFetch.js) and parsing reuse the existing one-time-import parsers in models/lib/externalParsers.js (parseJira is new there; parseGithub/parseGitlab/parseGitea gained externalId) instead of a second implementation. Jira works end to end; GitHub/GitLab/Gitea share the same job and reconcile logic via their existing parsers. Thanks to xet7 !