Skip to content

Wrong module returned from the proxy.golang.org #1071

@samm-git

Description

@samm-git

Describe the bug

Hi,

I am FreeBSD maintainer of the victorialogs port. I tried to update port to 1.44.0 and found that proxy.golang.org returns wrong go.mod for the VictoriaLogs:

curl -v 'https://proxy.golang.org/github.com/!victoria!metrics/!victoria!logs/@v/v1.44.0.mod'

module github.com/VictoriaMetrics/VictoriaMetrics

require (
	cloud.google.com/go v0.68.0 // indirect
	cloud.google.com/go/storage v1.12.0
	github.com/VictoriaMetrics/fastcache v1.5.7

	// Do not use the original github.com/valyala/fasthttp because of issues
	// like https://github.com/valyala/fasthttp/commit/996610f021ff45fdc98c2ce7884d5fa4e7f9199b
	github.com/VictoriaMetrics/fasthttp v1.0.7
	github.com/VictoriaMetrics/metrics v1.12.3
	github.com/VictoriaMetrics/metricsql v0.7.1
	github.com/aws/aws-sdk-go v1.35.5
	github.com/cespare/xxhash/v2 v2.1.1
	github.com/golang/snappy v0.0.2
	github.com/klauspost/compress v1.11.1
	github.com/stretchr/testify v1.5.1 // indirect
	github.com/valyala/fastjson v1.6.1
	github.com/valyala/fastrand v1.0.0
	github.com/valyala/fasttemplate v1.2.1
	github.com/valyala/gozstd v1.8.3
	github.com/valyala/histogram v1.1.2
	github.com/valyala/quicktemplate v1.6.3
	go.opencensus.io v0.22.5 // indirect
	golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0 // indirect
	golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
	golang.org/x/sys v0.0.0-20201008064518-c1f3e3309c71
	golang.org/x/tools v0.0.0-20201008025239-9df69603baec // indirect
	google.golang.org/api v0.32.0
	google.golang.org/genproto v0.0.0-20201007142714-5c0e72c5e71e // indirect
	gopkg.in/yaml.v2 v2.3.0
)

go 1.13

This go.mod is for the /VictoriaMetrics/VictoriaMetrics not for VictoriaLogs. This makes package build failing

To Reproduce

curl 'https://proxy.golang.org/github.com/!victoria!metrics/!victoria!logs/@v/v1.44.0.mod'

Version

1.44.0

Logs

No response

Screenshots

No response

Used command-line flags

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions