Skip to content

proxy.golang.org: support for go-import subdir #75212

@criccomini

Description

@criccomini

What is the URL of the page with the issue?

https://pkg.go.dev/slatedb.io/slatedb-go

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Screenshot

No response

What did you do?

My package module documentation is not visible at:

https://pkg.go.dev/slatedb.io/slatedb-go

https://slatedb.io/slatedb-go serves:

<!DOCTYPE html><html lang="en"> <head><meta name="go-import" content="slatedb.io/slatedb-go git https://github.com/slatedb/slatedb slatedb-go/go"><meta name="go-source" content="slatedb.io/slatedb-go https://github.com/slatedb/slatedb https://github.com/slatedb/slatedb/tree/main/slatedb-go/go{/dir} https://github.com/slatedb/slatedb/blob/main/slatedb-go/go{/dir}/{file}#L{line}"><title>SlateDB Go module</title><script type="module" src="/_astro/page.7qqag-5g.js"></script></head> <main> <h1>SlateDB Go module</h1> <p>
--
Vanity import path for the Go module. Repository:
<a href="https://github.com/slatedb/slatedb/tree/main/slatedb-go/go">github.com/slatedb/slatedb/slatedb-go/go</a> </p> </main> </html>

Of note are these two meta tags:

<meta name="go-import" content="slatedb.io/slatedb-go git https://github.com/slatedb/slatedb slatedb-go/go">
<meta name="go-source" content="slatedb.io/slatedb-go https://github.com/slatedb/slatedb https://github.com/slatedb/slatedb/tree/main/slatedb-go/go{/dir} https://github.com/slatedb/slatedb/blob/main/slatedb-go/go{/dir}/{file}#L{line}">

The go-import includes the new subdir field from Go 1.25.0. I have tagged https://github.com/slatedb/slatedb with slatedb-go/go/v0.8.0.

This works:

 GOPRIVATE=slatedb.io go get slatedb.io/slatedb-go/@v0.8.0       
go: downloading slatedb.io/slatedb-go v0.8.0
go: added slatedb.io/slatedb-go v0.8.0

This works:

% go get slatedb.io/[email protected]
go: downloading slatedb.io/slatedb-go v0.8.0

This does not work:

% GOPROXY=https://proxy.golang.org GO111MODULE=on go get slatedb.io/[email protected]
go: slatedb.io/[email protected]: reading https://proxy.golang.org/slatedb.io/slatedb-go/@v/v0.8.0.mod: 404 Not Found
	server response: not found: slatedb.io/[email protected]: unrecognized import path "slatedb.io/slatedb-go": parse https://slatedb.io

I also tried the web UI to trigger a fetch:

https://pkg.go.dev/slatedb.io/slatedb-go

Doesn't work either.

I think either pkg.go.dev, sum.golang.org, or proxy.golang.org is in some weird state.

What did you see happen?

Just says Oops! We couldn't find “slatedb.io/slatedb-go”.

What did you expect to see?

I expected to click the "request slatedb.io/slatedb-go" button and have it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsiteproxy.golang.org

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions