Throwaway instances the import tools are tested against
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-05 18:37:01 -04:00
.gitignore Throwaway source and target instances for testing imports 2026-09-14 23:13:25 -04:00
adversarial-forgejo.sh Throwaway source and target instances for testing imports 2026-09-14 23:13:25 -04:00
adversarial-gitlab.sh Throwaway source and target instances for testing imports 2026-09-14 23:13:25 -04:00
checks.sh Throwaway source and target instances for testing imports 2026-09-14 23:13:25 -04:00
compose.yaml Track the base release and mint the source token instead of keeping one 2026-09-27 17:48:48 -04:00
LICENSE Throwaway source and target instances for testing imports 2026-09-14 23:13:25 -04:00
README.md Add a suite for nested group moves, transfers, visibility and depth 2026-10-05 18:37:01 -04:00
reset-target.sh Give the lab a network of its own, so a second copy can run beside the first 2026-09-15 01:16:46 -04:00
seed-forgejo.sh Track the base release and mint the source token instead of keeping one 2026-09-27 17:48:48 -04:00
seed-gitea.sh Let a second lab run beside the first: names, ports and data from the environment 2026-09-15 00:34:53 -04:00
seed-gitlab.sh Let a second lab run beside the first: names, ports and data from the environment 2026-09-15 00:34:53 -04:00
snapshot.sh Let a second lab run beside the first: names, ports and data from the environment 2026-09-15 00:34:53 -04:00
suite-forgejo.sh Let a second lab run beside the first: names, ports and data from the environment 2026-09-15 00:34:53 -04:00
suite-gitea.sh Let a second lab run beside the first: names, ports and data from the environment 2026-09-15 00:34:53 -04:00
suite-gitlab.sh Let a second lab run beside the first: names, ports and data from the environment 2026-09-15 00:34:53 -04:00
suite-groups.sh Add a suite for nested group moves, transfers, visibility and depth 2026-10-05 18:37:01 -04:00
suite-regression.sh Track the base release and mint the source token instead of keeping one 2026-09-27 17:48:48 -04:00
TESTPLAN.md Throwaway source and target instances for testing imports 2026-09-14 23:13:25 -04:00
verify.sh Let a second lab run beside the first: names, ports and data from the environment 2026-09-15 00:34:53 -04:00

Migration lab

Disposable source and target instances for testing the importers and for comparing Nestejo with the Forgejo release it is based on.

docker compose -f compose.yaml --profile gitea up -d   # Forgejo :3301, Nestejo :3302, Gitea :3304
./seed-forgejo.sh                                      # organizations, teams, repositories, issues, pull requests, wiki
./suite-regression.sh                                  # Nestejo compared with upstream Forgejo
./suite-groups.sh                                      # nested group moves, transfers, visibility, depth
./suite-forgejo.sh                                     # forgejo2nestejo
./suite-gitea.sh                                       # forgejo2nestejo against Gitea

GitLab is in the gitlab profile and is used by suite-gitlab.sh.

seed-forgejo.sh creates the source admin account and writes its token to .secrets/src.token. reset-target.sh recreates the Nestejo instance and writes its token to .secrets/dst.token. The suites call it before each run.

The source's ROOT_URL is http://lab-forgejo-src:3000/, an address the target container can reach. An import clones from the URL the source advertises, not from the URL passed to the importer.

NESTEJO_IMAGE selects the image under test. LAB_PREFIX, the LAB_PORT_* variables, LAB_DATA and LAB_NETWORK let a second copy of the lab run alongside the first. LAB_FORGEJO_VERSION sets the upstream Forgejo version used for comparison.

data/ and .secrets/ are not committed. Delete data/ to start over.


Copyright (C) 2026 The Nestejo Authors. Free software under the GNU General Public License v3.0 or later; see LICENSE. Provided as is, without warranty of any kind, express or implied. Not affiliated with, endorsed by or supported by the Forgejo, Gitea or GitLab projects.