Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions compare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash

libnetworkPath="/home/flaviocrisciani/macos/src/github.com/docker/libnetwork"
Copy link
Member

Choose a reason for hiding this comment

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

😇 Path doesn't exist on my machine; perhaps run this in a container? This could be a Make target, and have it fetch https://raw.githubusercontent.com/moby/moby/master/vendor.conf directly

Copy link
Member

Choose a reason for hiding this comment

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

Also see my "inception bot" wish-list here: moby/moby#35490

libnetworkvendor="/tmp/libnetworkVendor"
dockerPath="/home/flaviocrisciani/work/src/github.com/docker/docker"
dockervendor="/tmp/dockerVendor"

cat ${libnetworkPath}/vendor.conf | sort > $libnetworkvendor
cat ${dockerPath}/vendor.conf | sort > $dockervendor

declare -A vendorMap

while IFS= read -r var
do
if [[ "$var" == "" || $var == \#* ]]; then
continue
fi
key=$(echo $var | awk '{print $1}')
value=$(echo $var | awk '{print $2}')
vendorMap["$key"]=$value
done < "$dockervendor"

echo "${vendorMap[@]}"

while IFS= read -r var
do
if [[ "$var" == "" || $var == \#* ]]; then
continue
fi
key=$(echo $var | awk '{print $1}')
value=$(echo $var | awk '{print $2}')
if [[ $value != ${vendorMap["$key"]} ]]; then
RED='\033[0;31m' # Red Color
NC='\033[0m' # No Color
printf "$key --> ${RED}$value ${NC}== ${RED}${vendorMap["$key"]}${NC}\n"
fi
done < "$libnetworkvendor"
22 changes: 13 additions & 9 deletions vendor.conf
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
github.com/Azure/go-ansiterm d6e3b3328b783f23731bc4d058875b0371ff8109
github.com/BurntSushi/toml f706d00e3de6abe700c994cdd545a1a4915af060
github.com/Microsoft/go-winio v0.4.5
github.com/Microsoft/hcsshim v0.6.5
github.com/Microsoft/hcsshim v0.6.7
github.com/armon/go-metrics eb0af217e5e9747e41dd5303755356b62d28e3ec
github.com/armon/go-radix e39d623f12e8e41c7b5529e9a9dd67a1e2261f80
github.com/boltdb/bolt fff57c100f4dea1905678da7e90d92429dff2904
github.com/codegangsta/cli a65b733b303f0055f8d324d805f393cd3e7a7904
github.com/containerd/console 84eeaae905fa414d03e07bcd6c8d3f19e7cf180e
github.com/containerd/continuity 22694c680ee48fb8f50015b44618517e2bde77e8
github.com/containerd/continuity 35d55c5e8dd23b32037d56cf97174aff3efdfa83
github.com/coreos/etcd v3.2.1
github.com/coreos/go-semver v0.2.0
github.com/coreos/go-systemd v4
github.com/coreos/go-systemd v15
github.com/coreos/pkg v3
github.com/deckarep/golang-set ef32fa3046d9f249d399f98ebaf9be944430fd1d

github.com/docker/docker a3efe9722f34af5cf4443fe3a5c4e4e3e0457b54
github.com/docker/docker 20a42b1f5616b07df524965383528711d24cf6ea
github.com/docker/go-connections 3ede32e2033de7505e6500d6c868c2b9ed9f169d
github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9
github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1
Expand All @@ -35,19 +36,22 @@ github.com/mattn/go-shellwords v1.0.3
github.com/miekg/dns 75e6e86cc601825c5dbcd4e0c209eab180997cd7
github.com/mrunalp/fileutils ed869b029674c0e9ce4c0dfa781405c2d9946d08
github.com/opencontainers/go-digest a6d0ee40d4207ea02364bd3b9e8e77b9159ba1eb
github.com/opencontainers/image-spec 372ad780f63454fbbbbcc7cf80e5b90245c13e13
github.com/opencontainers/runc 0351df1c5a66838d0c392b4ac4cf9450de844e2d
github.com/opencontainers/runc b2567b37d7b75eb4cf325b77297b140ea686ce8f
github.com/cyphar/filepath-securejoin v0.2.1
github.com/opencontainers/runtime-spec v1.0.0
github.com/opencontainers/selinux v1.0.0-rc1
github.com/opencontainers/image-spec v1.0.0
github.com/opencontainers/selinux b29023b86e4a69d1b46b7e7b4e2b6fda03f0b9cd
github.com/samuel/go-zookeeper d0e0d8e11f318e000a8cc434616d69e329edc374
github.com/seccomp/libseccomp-golang 32f571b70023028bd57d9288c20efbcb237f3ce0
github.com/sirupsen/logrus v1.0.3
github.com/stretchr/testify dab07ac62d4905d3e48d17dc549c684ac3b7c15a
github.com/stretchr/testify 4d4bfba8f1d1027c4fdbe371823030df51419987
github.com/davecgh/go-spew 346938d642f2ec3594ed81d874461961cd0faa76
github.com/pmezard/go-difflib v1.0.0
github.com/syndtr/gocapability db04d3cc01c8b54962a58ec7e491717d06cfcc16
github.com/ugorji/go f1f1a805ed361a0e078bb537e4ea78cd37dcf065
github.com/vishvananda/netlink b2de5d10e38ecce8607e6b438b6d174f389a004e
github.com/vishvananda/netns 604eaf189ee867d8c147fafc28def2394e878d25
golang.org/x/crypto 558b6879de74bc843225cde5686419267ff707ca
golang.org/x/net 7dcfb8076726a3fdd9353b6b8a1f1b6be6811bd6
golang.org/x/sys 07c182904dbd53199946ba614a412c61d3c548f5
golang.org/x/sys 95c6576299259db960f6c5b9b69ea52422860fce
github.com/pkg/errors 839d9e913e063e28dfd0e6c7b7512793e0a48be9
22 changes: 22 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 14 additions & 9 deletions vendor/github.com/Microsoft/hcsshim/hnsendpoint.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions vendor/github.com/Microsoft/hcsshim/hnsnetwork.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 12 additions & 13 deletions vendor/github.com/Microsoft/hcsshim/hnspolicy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions vendor/github.com/Microsoft/hcsshim/legacy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/legacy18.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/legacy19.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 33 additions & 7 deletions vendor/github.com/coreos/go-systemd/dbus/dbus.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading