mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Repair Tools menu dispatch and run separate GitLab, Codeberg and SourceForge launchers through a shared engine on Unix and Windows. Read one paginated GitHub snapshot for all mirrors, match issue/comment provenance and release tags, and retry missing conversations and binary assets after partial runs. Preserve destination text and copy Git branches/tags without force or deletions. SourceForge uses Tracker tickets and SFTP release files; projects and wiki are excluded. Add offline API, retry, pagination, multipart upload and launcher regressions plus setup/scope documentation.
10 lines
410 B
Bash
Executable File
10 lines
410 B
Bash
Executable File
#!/bin/bash
|
|
# Human-run: synchronize missing GitHub data to this active mirror.
|
|
set -euo pipefail
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
export PATH="$ROOT/.tools/bin:${GOBIN:+$GOBIN:}$PATH"
|
|
FLAGS=(--apply --code)
|
|
if [ "${1:-}" = --preview ]; then FLAGS=(--code); shift; fi
|
|
node "$ROOT/tools/mirror-active-forges.mjs" --target gitlab "${FLAGS[@]}" "$@"
|