Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
bump vndr v0.1.0 to support versioned import paths
Browse files Browse the repository at this point in the history
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@b177b58...v0.1.0

- LK4D4/vndr#79 Add more clear messages around clone failures
- LK4D4/vndr#80 add riscv64 support
- 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 <[email protected]>
(cherry picked from commit 7904c23df8cbb8cd8b4c8c3e197c61e91e81548b)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Upstream-commit: 950dcedd97f04d2ae9431312fc1256eca6b0e325
Component: cli
  • Loading branch information
thaJeztah committed Apr 20, 2020
1 parent 256e26c commit c69ca2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/cli/dockerfiles/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ FROM golang:${GO_VERSION}-alpine

RUN apk add -U git make bash coreutils ca-certificates curl

ARG VNDR_SHA=b177b583eb9d44bd5abfca3083a4aeb971b75861
# v0.1.0
ARG VNDR_SHA=d385c05e4c23b602dd16b3d2a1a6c710919bf02f
RUN go get -d github.com/LK4D4/vndr && \
cd /go/src/github.com/LK4D4/vndr && \
git checkout -q "$VNDR_SHA" && \
Expand Down

0 comments on commit c69ca2c

Please sign in to comment.