This repo is written on git.hanzo.ai and mirrored to github.com, and the two had drifted apart — 1 commits here the mirror lacked, 6 there this host lacked. Merging rather than overwriting so neither side's work is lost.
Adds .hanzo/workflows/cicd.yml calling the canonical pipeline and deletes the
GitHub-hosted workflows it replaces. Lands here because this is where the repo
is written — git.hanzo.ai is upstream and github.com is its push mirror, so the
same change made on github.com never reaches the runner fleet.
main.yml (lint, generate-check, build+test), go-cross.yml (ubuntu/macos/windows
matrix) and release.yml (goreleaser) all ran on GitHub's machines. main.yml was
also half dead: it triggers on a push to master and this repo's branch is main,
so only its pull_request half ever fired. The suite now runs in hanzo.yml on
the git.hanzo.ai fleet.
main.yml (lint, generate-check, build+test), go-cross.yml (ubuntu/macos/windows
matrix) and release.yml (goreleaser) all ran on GitHub's machines. main.yml was
also half dead: it triggers on a push to master and this repo's branch is main,
so only its pull_request half ever fired. The suite now runs in hanzo.yml on
the git.hanzo.ai fleet.
main.yml (lint, generate-check, build+test), go-cross.yml (ubuntu/macos/windows
matrix) and release.yml (goreleaser) all ran on GitHub's machines. main.yml was
also half dead: it triggers on a push to master and this repo's branch is main,
so only its pull_request half ever fired. The suite now runs in hanzo.yml on
the git.hanzo.ai fleet.
The unit gate links the checkout into a GOPATH tree first: interp resolves its
_test fixtures by module path through GOPATH, and without that four tests fail
on package location alone.
The LICENSE here retains the upstream copyright, which is what Apache-2.0 §4(c)
asks for, but nothing in the tree said what the work was derived from. A reader
had to infer it from a copyright line. This names it.
Per the standing fork rule, a hanzoai fork declares its OWN module path and
is required directly -- never resolved via a `replace` against the upstream
path. Keeping the upstream path meant every import line in every consumer
carried the upstream brand.
module github.com/traefik/yaegi -> module github.com/hanzoai/yaegi
Mechanical and behaviour-neutral: every occurrence is an import path
(package self-imports, cmd/, _test/ fixtures interpreted at test time, and
the guthib.com/<org>/{fromage,cheese,vin} fake vendor trees under
example/pkg, whose directory components were renamed in lockstep with the
import strings that reference them).
GOPATH-mode source-import tests (interp TestFile) resolve the module by its
path under $GOPATH/src, so the required checkout location moves with the
module path -- as README already documents. Verified green at
$GOPATH/src/github.com/hanzoai/yaegi.
LICENSE is untouched: "Copyright 2020 Traefik Labs SAS" is the Apache-2.0
attribution and is a legal obligation, not a brand leak.
Also drops the inherited CONTRIBUTING.md CLA clause, which named an
upstream agreement this fork does not administer.