Skip to content

cmd/go/internal/modfetch: version before would have negative patch number: found an example. #35787

Description

In go.mod in github.com/moby/buildkit, I found this line:

github.com/containerd/containerd v1.4.0-0.20191014053712-acdcf13d5eaf

This is an invalid psedo version: It is in the form of "vX.Y.(Z+1)-0.yyyymmddhhmmss-abcdefabcdef" but (Z+1)=0. It is rejected by go tools.

I came through a comment in cmd/go/internal/modfetch/pseudo.go, saying interested in examples of invalid pseudo versions "vX.0.0-0". Though this is not exactly the case, I think it may still be of interests of determining futher development.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions