Repository navigation
chore: move repository references to Twigpine/zero - #1105
PierrunoYT wants to merge 1 commit into
Conversation
Vasanthdev2004
left a comment
There was a problem hiding this comment.
Reviewed at 87df72d9. The replacement looks complete for repository references. What's left of gitlawb is the npm scope, the AIMLAPI partner name and two comments, one of which names the tap. The -X path in BuildLdflags moved too, and zero-release build and smoke stamp 0.9.0 here, so version stamping survived. go build, go vet and the update, release, installtest, npmwrapper and doctor tests pass on Windows.
I'd like it split, though, and the module path needs a decision from @kevincodex1:
- The runtime defaults should go in on their own.
DefaultRepositoryininternal/update,ZERO_REPOin both install scripts, the postinstallREPO, the Action'szero-repoand the install URLs in the README are what installs andzero updateactually fetch from. Until they move, every one of them reaches the release through GitHub's redirect from the old name. That's a small PR that can land now. - The module path is a bigger change than it looks. 59 of the other 62 open PRs touch Go files, and once
go.modsaysTwigpine, any of them that adds an import or a new file needs the same rename before it compiles. When to do that is kevin's call. go install github.com/Twigpine/zero/cmd/zero@latestindocs/INSTALL.mdfails until a release is tagged with the new module path. I tried it: v0.9.0'sgo.moddeclaresgithub.com/Gitlawb/zero, so Go stops with "module declares its path as: github.com/Gitlawb/zero but was required as: github.com/Twigpine/zero". The docs should keep the old path until that release exists.X-AIMLAPI-Integration-Repochanges too. That header is what AIMLAPI sees for attribution, so it needs kevin's yes rather than riding along with the rename.- Small:
packaging/homebrew/zero.rbstill namesGitlawb/homebrew-tap, which is nowTwigpine/homebrew-tap.
It also needs a parent issue, as the description says. Requesting changes for the split and the install doc.
|
hello @PierrunoYT thanks for this. please rebase to main branch, we've already successfully switch from @gitlawb/zero to @twigpine/zero please make another sweep if I forgot something |
Update the Go module path, imports, install scripts, docs, workflows, packaging and action defaults from Gitlawb/zero to Twigpine/zero. The npm scope (already @twigpine/zero on main, with its @gitlawb/zero migration notes), LICENSE, action author, the OpenGateway provider and historical CHANGELOG links are unchanged. The X-AIMLAPI-Integration-Repo header keeps Gitlawb/zero: it is what AIMLAPI sees for attribution, so changing it needs a maintainer's yes. docs/INSTALL.md keeps `go install github.com/Gitlawb/zero/...`, because every tagged release so far declares that module path. The Homebrew formula comment names the Twigpine/homebrew-tap tap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
87df72d to
b7bbaeb
Compare
|
@kevincodex1 @Vasanthdev2004 Rebased onto Changes beyond the plain rename, following Vasanthdev2004's review:
What still says Gitlawb: the AIMLAPI header and The parent issue is #1129; I've updated the description to link it. @kevincodex1, two calls this needs from you:
|
What changed
Replaces
Gitlawb/zerowithTwigpine/zeroin tracked files: the Go module path and imports, install scripts,zero update's default repository, docs, workflows, packaging,action.ymldefaults and mise entries. Rebased ontomainat 8c4e759.Also:
packaging/homebrew/zero.rbnames theTwigpine/homebrew-taptap.docs/INSTALL.mdkeepsgo install github.com/Gitlawb/zero/cmd/zero@latest, with a note, because every tagged release so far declares that module path.Intentionally unchanged:
X-AIMLAPI-Integration-Repo(Gitlawb/zero) andDefaultPartnerNameininternal/aimlapi: AIMLAPI attribution, pending a maintainer decision@twigpine/zeroonmain; the remaining@gitlawb/zeromentions are the legacy-package migration notes and detectionLICENSEcopyrightCHANGELOG.mdlinksGitlawb/...fixture strings ininternal/updateandinternal/clitestsParent issue: #1129
Why
The repository now lives at https://github.com/Twigpine/zero.
Verification
Gitlawb/zero→Twigpine/zerosubstitution (checked by pairing every diff hunk).gofmt -l,go vet ./...(GOOS=linux, darwin, windows),git diff HEAD --check,govulncheck: cleango run ./cmd/zero-release buildandsmoke: pass, version stamped 0.11.0 through the renamed-Xpathgo test:update,release,installtest,npmwrapper,doctor,aimlapi,providercatalog,configpass. Ingo test ./...on Windows, onlyinternal/cli,internal/gitsafeandinternal/zerogitfail, with the same tests and errors as unmodifiedmainon that machine (gitcannot openNULunder Git Bash, nochatgptprovider).🤖 Generated with Claude Code