Skip to content

Commit 8fc2dc0

Browse files
committed
chore(vanity): rename target dappcore/go (lowercase) + keep dappco.re/go/core compat
Snider renamed github.com/dAppCore/core → github.com/dAppCore/go. Vanity URL meta tags lowercase the github URL (dappcore/go) per the directive "the go needs lowercase urls dappco.re/go btw or it breaks". Two entries point at the renamed repo: * dappco.re/go (root index.html) — new canonical path * dappco.re/go/core (go/core/index.html) — backwards-compat alias Old consumers with `import "dappco.re/go/core"` keep compiling — the meta tag resolves to the renamed repo and the repo's go.mod still says `module dappco.re/go/core`. The new `dappco.re/go` import path becomes valid once the repo's go.mod flips from `module dappco.re/go/core` → `module dappco.re/go`. That flip is a breaking change for existing consumers and should ride on a deliberate version bump.
1 parent 109d483 commit 8fc2dc0

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

go/core/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<meta name="go-import" content="dappco.re/go/core git https://github.com/dAppCore/core.git">
5-
<meta name="go-source" content="dappco.re/go/core https://github.com/dAppCore/core https://github.com/dAppCore/core/tree/main{/dir} https://github.com/dAppCore/core/blob/main{/dir}/{file}#L{line}">
6-
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/core">
4+
<meta name="go-import" content="dappco.re/go/core git https://github.com/dappcore/go.git">
5+
<meta name="go-source" content="dappco.re/go/core https://github.com/dappcore/go https://github.com/dappcore/go/tree/main{/dir} https://github.com/dappcore/go/blob/main{/dir}/{file}#L{line}">
6+
<meta http-equiv="refresh" content="0; url=https://github.com/dappcore/go">
77
</head>
88
<body>
9-
Redirecting to <a href="https://github.com/dAppCore/core">github.com/dAppCore/core</a>...
9+
Redirecting to <a href="https://github.com/dappcore/go">github.com/dappcore/go</a>...
10+
<p>Note: <code>dappco.re/go/core</code> is the legacy import path. New code should import <code>dappco.re/go</code>. Both vanity paths resolve to the same renamed <code>dAppCore/go</code> repo so existing consumers keep compiling.</p>
1011
</body>
1112
</html>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<meta name="go-import" content="dappco.re/go git https://github.com/dAppCore/go.git">
4+
<meta name="go-import" content="dappco.re/go git https://github.com/dappcore/go.git">
55
<meta name="go-import" content="dappco.re/php git https://github.com/dAppCore/php.git">
66
<meta name="go-import" content="dappco.re/ts git https://github.com/dAppCore/ts.git">
77
<meta name="go-import" content="dappco.re/agent git https://github.com/dAppCore/agent.git">

0 commit comments

Comments
 (0)