2026-10-12 18:28:16 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
# This is a research/bootstrap helper, not bundled upstream code.
|
|
|
|
|
# Pin commit after manual licensing inspection. Never merge upstream corpus into this repo by default.
|
2026-10-12 18:50:21 +02:00
|
|
|
# Reviewed pin: research/baseline/ONCO_PIN (b594d7433bf4e408b44215e25e5304696d6f840e as of 2026-10-12).
|
2026-10-12 18:28:16 +02:00
|
|
|
: "${ONCO_COMMIT:?Set ONCO_COMMIT to a reviewed full Git SHA}"
|
|
|
|
|
git clone https://github.com/judegomila/OnCo.git upstream-onco
|
|
|
|
|
git -C upstream-onco checkout --detach "$ONCO_COMMIT"
|
|
|
|
|
printf 'OnCo pinned to %s\n' "$(git -C upstream-onco rev-parse HEAD)"
|
|
|
|
|
printf 'Review LICENSE, LICENSE-DATA, images and dependency licenses before adapting files.\n'
|