9 lines
552 B
Bash
9 lines
552 B
Bash
#!/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.
|
|
: "${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'
|