Skip to content

v1.4.8 - issue with go.mod [gopkg.in no longer supported] #328

@matzhouse

Description

@matzhouse

Which operating system (GOOS) and version are you using?

Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:        19.10
Codename:       eoan

Please describe the issue that occurred.

Hi, I'm not entirely sure this is your problem but I thought I would bring it up here anyway.
It seems that as you guys have moved away from pkg.in, when you bumped the version to 1.4.8 it also made pkg.in bump it's version to that.

As you have referenced your github url in the go.mod file, anything that is referencing pkg.in/fsnotify.v1 in an import is now broken.

Here is an example

go get: upgrading gopkg.in/[email protected]: gopkg.in/[email protected]: invalid version: go.mod has non-....v1 module path "github.com/fsnotify/fsnotify" at revision v1.4.8
ERROR: Service 'ginkgo-base' failed to build: The command '/bin/sh -c go get -u github.com/onsi/ginkgo/ginkgo && go get -u github.com/onsi/gomega/... && export PATH=$PATH:$HOME/gopath/bin' returned a non-zero code: 1

As I said at the top, I'm not really sure this is your problem but I suspect others will come looking for answers, so here it is.

The only thing you might have done would be to bump the version to 2 so the v1 would have stayed on 1.4.7 and not broken things in the wild.

If I've got anything wrong about the above please accept my apologies :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions