Skip to content

bump vndr v0.1.0 to support versioned import paths#40359

Merged
cpuguy83 merged 1 commit intomoby:masterfrom
thaJeztah:bump_vndr
Jan 10, 2020
Merged

bump vndr v0.1.0 to support versioned import paths#40359
cpuguy83 merged 1 commit intomoby:masterfrom
thaJeztah:bump_vndr

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

With this change, go packages/modules that use versioned
import paths (github.com/foo/bar/v2), but don't use a directory
in the repository, can now be supported.

For example:

github.com/coreos/go-systemd/v22 v22.0.0

will vendor the github.com/coreos/go-systemd repository
into vendor/github.com/coreos/go-systemd/v22.

full diff: LK4D4/vndr@f5ab8fc...v0.1.0

With this change, go packages/modules that use versioned
import paths (github.com/foo/bar/v2), but don't use a directory
in the repository, can now be supported.

For example:

```
github.com/coreos/go-systemd/v22 v22.0.0
```

will vendor the github.com/coreos/go-systemd repository
into `vendor/github.com/coreos/go-systemd/v22`.

full diff: LK4D4/vndr@f5ab8fc...v0.1.0

- LK4D4/vndr#83 migrate bitbucket to api 2.0
    - fixes LK4D4/vndr#82 https://api.bitbucket.org/1.0/repositories/ww/goautoneg: 410 Gone
- LK4D4/vndr#86 Replace sort.Sort with sort.Strings
- LK4D4/vndr#87 support `github.com/coreos/go-systemd/v22`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Copy Markdown
Member Author

@cpuguy83 @AkihiroSuda ptal

@thaJeztah
Copy link
Copy Markdown
Member Author

trigged jenkins with the "force-validate" option to force running vendor-check

Copy link
Copy Markdown
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

https://api.bitbucket.org/1.0/repositories/ww/goautoneg: 410 Gone

3 participants