distribution/distribution

package https://github.com/mitchellh/osext imported in this project disappeared.

chanuei opened this issue · 3 comments

Description

Package https://github.com/mitchellh/osext imported in this project is not active now.

404 for check.

Reproduce

any browser to access https://github.com/mitchellh/osext

Expected behavior

The home page of project https://github.com/mitchellh/osext

registry version

any version

Additional Info

Please update to new git routine

After taking a quick look, this package seems neither be imported on main nor in the latest release. Which version of distribution are you using and where is the package imported?

It is still available via the Go proxy: https://pkg.go.dev/github.com/mitchellh/osext
and has been moved to https://github.com/kardianos/osext

Closing as per @katexochen comment.

This is what I got when I try to compile my project that has a transient dependency on distribution:

go: github.com/testcontainers/testcontainers-go@v0.29.1 requires
	github.com/Microsoft/hcsshim@v0.11.4 requires
	github.com/open-policy-agent/opa@v0.42.2 requires
	oras.land/oras-go@v1.2.0 requires
	github.com/distribution/distribution/v3@v3.0.0-20220526142353-ffbd94cbe269 requires
	github.com/mitchellh/osext@v0.0.0-20151018003038-5e2d6d41470f: invalid version: git ls-remote -q origin in /home/yoeight/go/pkg/mod/cache/vcs/94ed57c5b21c953d93b47487113db43a5c9b69fd990329ec70dc77348c4dd443: exit status 128:
	fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information

So to answer to your question, it seems that github.com/distribution/distribution/v3@v3.0.0-20220526142353-ffbd94cbe269 is the culprit