Files
wekan/docs/DeveloperDocs/Forge-Mirroring.md
T
Lauri Ojansivu 02383540a5 Mirror configured organizations with linked files and offline indexes
Add organization management and per-destination namespaces to the shared Unix and Windows mirror menu. Discover all accessible repositories, create missing mirrors, retain PR conversations when issues are disabled, and copy enabled wiki history and portable Projects V2 data.

Archive linked media, files and webpage HTML per comment under host/organization/repository directories. Preserve old versions, generate static HTML and CSV catalogues, and support offline rebuilding from CSV. Attach archived files to corresponding destination comments where supported.

Honor GitHub and destination rate-limit headers, persistent cooldowns and bounded retries. Public GitHub REST reads fall back without a token. Add offline regressions and a static browser test; 1,014 Node suites pass, with final targeted checks passing. Chromium and Firefox static checks pass; local WebKit requires unavailable ICU 74.

Thanks to xet7.
2026-09-13 21:43:19 +03:00

1.1 KiB

WeKan forge mirroring

The build Tools mirror option opens the eight-action menu for sync, source and active mirror selection, online checks, missing-data checks, exit, organization-wide synchronization and organization management. GitHub is the default source; GitLab, Codeberg and SourceForge are default destinations. Choices persist in .tools/mirror/settings.txt; any of these forges can be the source. Both Unix and Windows delegate to per-destination scripts. Their shared engine also retains issue/release metadata, attachments, binaries and source archives under .tools/mirror, preserving removed and replaced files with timestamped old names.

See the mirror design and operating instructions for preview/apply commands, the file layout, restart behavior, credentials, API support and verification limits. Organization settings persist in .tools/mirror/organizations.json; archives use .tools/mirror/<host>/<organization>/<repository>/. Enabled organization wikis and portable Projects V2 data are included. Linked media/files/webpage HTML are archived per comment, with offline HTML and CSV indexes.