Merge pull request #22116 from david-mcmahon/license-tool

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2016-03-02 07:14:40 -08:00
commit 6dbdcfe78f
7 changed files with 34422 additions and 135 deletions

358
Godeps/.license_file_state generated Normal file
View File

@ -0,0 +1,358 @@
# These files have been checked upstream and are either missing or have no
# valuable license/copyright info in them
# To regenerate this list, remove this file and rerun update-godep-licenses.sh
#
bitbucket.org/ww/goautoneg/master/LICENSE
bitbucket.org/ww/goautoneg/master/LICENSE.code
bitbucket.org/ww/goautoneg/master/LICENSE.txt
bitbucket.org/ww/goautoneg/master/LICENSE.md
raw.githubusercontent.com/appc/cni/master/NOTICE
raw.githubusercontent.com/appc/cni/master/NOTICE.txt
raw.githubusercontent.com/appc/cni/master/README
raw.githubusercontent.com/appc/cni/master/README.md
raw.githubusercontent.com/appc/spec/master/NOTICE
raw.githubusercontent.com/appc/spec/master/NOTICE.txt
raw.githubusercontent.com/appc/spec/master/README
raw.githubusercontent.com/appc/spec/master/README.md
raw.githubusercontent.com/armon/go-metrics/master/NOTICE
raw.githubusercontent.com/armon/go-metrics/master/NOTICE.txt
raw.githubusercontent.com/armon/go-metrics/master/README
raw.githubusercontent.com/armon/go-metrics/master/README.md
raw.githubusercontent.com/beorn7/perks/master/LICENSE
raw.githubusercontent.com/beorn7/perks/master/LICENSE.code
raw.githubusercontent.com/beorn7/perks/master/LICENSE.txt
raw.githubusercontent.com/beorn7/perks/master/LICENSE.md
raw.githubusercontent.com/beorn7/perks/master/NOTICE
raw.githubusercontent.com/beorn7/perks/master/NOTICE.txt
raw.githubusercontent.com/beorn7/perks/master/README
raw.githubusercontent.com/blang/semver/master/NOTICE
raw.githubusercontent.com/blang/semver/master/NOTICE.txt
raw.githubusercontent.com/blang/semver/master/README
raw.githubusercontent.com/blang/semver/master/README.md
raw.githubusercontent.com/boltdb/bolt/master/NOTICE
raw.githubusercontent.com/boltdb/bolt/master/NOTICE.txt
raw.githubusercontent.com/boltdb/bolt/master/README
raw.githubusercontent.com/boltdb/bolt/master/README.md
raw.githubusercontent.com/camlistore/go4/master/NOTICE
raw.githubusercontent.com/camlistore/go4/master/NOTICE.txt
raw.githubusercontent.com/camlistore/go4/master/README
raw.githubusercontent.com/camlistore/go4/master/README.md
raw.githubusercontent.com/ClusterHQ/flocker-go/master/NOTICE
raw.githubusercontent.com/ClusterHQ/flocker-go/master/NOTICE.txt
raw.githubusercontent.com/ClusterHQ/flocker-go/master/README
raw.githubusercontent.com/ClusterHQ/flocker-go/master/README.md
raw.githubusercontent.com/codegangsta/negroni/master/NOTICE
raw.githubusercontent.com/codegangsta/negroni/master/NOTICE.txt
raw.githubusercontent.com/codegangsta/negroni/master/README
raw.githubusercontent.com/codegangsta/negroni/master/README.md
raw.githubusercontent.com/coreos/go-etcd/master/NOTICE
raw.githubusercontent.com/coreos/go-etcd/master/NOTICE.txt
raw.githubusercontent.com/coreos/go-etcd/master/README
raw.githubusercontent.com/coreos/go-etcd/master/README.md
raw.githubusercontent.com/coreos/go-semver/master/NOTICE
raw.githubusercontent.com/coreos/go-semver/master/NOTICE.txt
raw.githubusercontent.com/coreos/go-semver/master/README
raw.githubusercontent.com/coreos/go-semver/master/README.md
raw.githubusercontent.com/coreos/go-systemd/master/NOTICE
raw.githubusercontent.com/coreos/go-systemd/master/NOTICE.txt
raw.githubusercontent.com/coreos/go-systemd/master/README
raw.githubusercontent.com/coreos/go-systemd/master/README.md
raw.githubusercontent.com/coreos/rkt/master/NOTICE
raw.githubusercontent.com/coreos/rkt/master/NOTICE.txt
raw.githubusercontent.com/coreos/rkt/master/README
raw.githubusercontent.com/coreos/rkt/master/README.md
raw.githubusercontent.com/cpuguy83/go-md2man/master/NOTICE
raw.githubusercontent.com/cpuguy83/go-md2man/master/NOTICE.txt
raw.githubusercontent.com/cpuguy83/go-md2man/master/README
raw.githubusercontent.com/cpuguy83/go-md2man/master/README.md
raw.githubusercontent.com/davecgh/go-spew/master/NOTICE
raw.githubusercontent.com/davecgh/go-spew/master/NOTICE.txt
raw.githubusercontent.com/davecgh/go-spew/master/README
raw.githubusercontent.com/davecgh/go-spew/master/README.md
raw.githubusercontent.com/daviddengcn/go-colortext/master/NOTICE
raw.githubusercontent.com/daviddengcn/go-colortext/master/NOTICE.txt
raw.githubusercontent.com/daviddengcn/go-colortext/master/README
raw.githubusercontent.com/daviddengcn/go-colortext/master/README.md
raw.githubusercontent.com/dgrijalva/jwt-go/master/NOTICE
raw.githubusercontent.com/dgrijalva/jwt-go/master/NOTICE.txt
raw.githubusercontent.com/dgrijalva/jwt-go/master/README
raw.githubusercontent.com/dgrijalva/jwt-go/master/README.md
raw.githubusercontent.com/elazarl/go-bindata-assetfs/master/NOTICE
raw.githubusercontent.com/elazarl/go-bindata-assetfs/master/NOTICE.txt
raw.githubusercontent.com/elazarl/go-bindata-assetfs/master/README
raw.githubusercontent.com/elazarl/go-bindata-assetfs/master/README.md
raw.githubusercontent.com/elazarl/goproxy/master/NOTICE
raw.githubusercontent.com/elazarl/goproxy/master/NOTICE.txt
raw.githubusercontent.com/elazarl/goproxy/master/README
raw.githubusercontent.com/elazarl/goproxy/master/README.md
raw.githubusercontent.com/emicklei/go-restful/master/NOTICE
raw.githubusercontent.com/emicklei/go-restful/master/NOTICE.txt
raw.githubusercontent.com/emicklei/go-restful/master/README
raw.githubusercontent.com/emicklei/go-restful/master/README.md
raw.githubusercontent.com/evanphx/json-patch/master/NOTICE
raw.githubusercontent.com/evanphx/json-patch/master/NOTICE.txt
raw.githubusercontent.com/evanphx/json-patch/master/README
raw.githubusercontent.com/evanphx/json-patch/master/README.md
raw.githubusercontent.com/fsouza/go-dockerclient/master/NOTICE
raw.githubusercontent.com/fsouza/go-dockerclient/master/NOTICE.txt
raw.githubusercontent.com/fsouza/go-dockerclient/master/README
raw.githubusercontent.com/fsouza/go-dockerclient/master/README.md
raw.githubusercontent.com/garyburd/redigo/master/NOTICE
raw.githubusercontent.com/garyburd/redigo/master/NOTICE.txt
raw.githubusercontent.com/garyburd/redigo/master/README
raw.githubusercontent.com/garyburd/redigo/master/README.md
raw.githubusercontent.com/ghodss/yaml/master/NOTICE
raw.githubusercontent.com/ghodss/yaml/master/NOTICE.txt
raw.githubusercontent.com/ghodss/yaml/master/README
raw.githubusercontent.com/ghodss/yaml/master/README.md
raw.githubusercontent.com/godbus/dbus/master/NOTICE
raw.githubusercontent.com/godbus/dbus/master/NOTICE.txt
raw.githubusercontent.com/godbus/dbus/master/README
raw.githubusercontent.com/godbus/dbus/master/README.md
raw.githubusercontent.com/gogo/protobuf/master/NOTICE
raw.githubusercontent.com/gogo/protobuf/master/NOTICE.txt
raw.githubusercontent.com/go-ini/ini/master/NOTICE
raw.githubusercontent.com/go-ini/ini/master/NOTICE.txt
raw.githubusercontent.com/go-ini/ini/master/README
raw.githubusercontent.com/go-ini/ini/master/README.md
raw.githubusercontent.com/golang/glog/master/NOTICE
raw.githubusercontent.com/golang/glog/master/NOTICE.txt
raw.githubusercontent.com/golang/glog/master/README
raw.githubusercontent.com/golang/glog/master/README.md
raw.githubusercontent.com/golang/groupcache/master/NOTICE
raw.githubusercontent.com/golang/groupcache/master/NOTICE.txt
raw.githubusercontent.com/golang/groupcache/master/README
raw.githubusercontent.com/golang/groupcache/master/README.md
raw.githubusercontent.com/golang/protobuf/master/NOTICE
raw.githubusercontent.com/golang/protobuf/master/NOTICE.txt
raw.githubusercontent.com/golang/protobuf/master/README
raw.githubusercontent.com/google/btree/master/NOTICE
raw.githubusercontent.com/google/btree/master/NOTICE.txt
raw.githubusercontent.com/google/btree/master/README
raw.githubusercontent.com/google/btree/master/README.md
raw.githubusercontent.com/google/cadvisor/master/NOTICE
raw.githubusercontent.com/google/cadvisor/master/NOTICE.txt
raw.githubusercontent.com/google/cadvisor/master/README
raw.githubusercontent.com/google/cadvisor/master/README.md
raw.githubusercontent.com/google/gofuzz/master/NOTICE
raw.githubusercontent.com/google/gofuzz/master/NOTICE.txt
raw.githubusercontent.com/google/gofuzz/master/README
raw.githubusercontent.com/google/gofuzz/master/README.md
raw.githubusercontent.com/gorilla/context/master/NOTICE
raw.githubusercontent.com/gorilla/context/master/NOTICE.txt
raw.githubusercontent.com/gorilla/context/master/README
raw.githubusercontent.com/gorilla/context/master/README.md
raw.githubusercontent.com/gorilla/mux/master/NOTICE
raw.githubusercontent.com/gorilla/mux/master/NOTICE.txt
raw.githubusercontent.com/gorilla/mux/master/README
raw.githubusercontent.com/gorilla/mux/master/README.md
raw.githubusercontent.com/hashicorp/golang-lru/master/NOTICE
raw.githubusercontent.com/hashicorp/golang-lru/master/NOTICE.txt
raw.githubusercontent.com/hashicorp/golang-lru/master/README
raw.githubusercontent.com/hashicorp/golang-lru/master/README.md
raw.githubusercontent.com/hashicorp/go-msgpack/master/NOTICE
raw.githubusercontent.com/hashicorp/go-msgpack/master/NOTICE.txt
raw.githubusercontent.com/hashicorp/go-msgpack/master/README
raw.githubusercontent.com/hashicorp/go-msgpack/master/README.md
raw.githubusercontent.com/hashicorp/raft/master/NOTICE
raw.githubusercontent.com/hashicorp/raft/master/NOTICE.txt
raw.githubusercontent.com/hashicorp/raft/master/README
raw.githubusercontent.com/hashicorp/raft/master/README.md
raw.githubusercontent.com/hashicorp/raft-boltdb/master/NOTICE
raw.githubusercontent.com/hashicorp/raft-boltdb/master/NOTICE.txt
raw.githubusercontent.com/hashicorp/raft-boltdb/master/README
raw.githubusercontent.com/hashicorp/raft-boltdb/master/README.md
raw.githubusercontent.com/hawkular/hawkular-client-go/master/NOTICE
raw.githubusercontent.com/hawkular/hawkular-client-go/master/NOTICE.txt
raw.githubusercontent.com/hawkular/hawkular-client-go/master/README
raw.githubusercontent.com/hawkular/hawkular-client-go/master/README.md
raw.githubusercontent.com/imdario/mergo/master/NOTICE
raw.githubusercontent.com/imdario/mergo/master/NOTICE.txt
raw.githubusercontent.com/imdario/mergo/master/README
raw.githubusercontent.com/imdario/mergo/master/README.md
raw.githubusercontent.com/inconshreveable/mousetrap/master/NOTICE
raw.githubusercontent.com/inconshreveable/mousetrap/master/NOTICE.txt
raw.githubusercontent.com/inconshreveable/mousetrap/master/README
raw.githubusercontent.com/inconshreveable/mousetrap/master/README.md
raw.githubusercontent.com/influxdb/influxdb/master/NOTICE
raw.githubusercontent.com/influxdb/influxdb/master/NOTICE.txt
raw.githubusercontent.com/influxdb/influxdb/master/README
raw.githubusercontent.com/influxdb/influxdb/master/README.md
raw.githubusercontent.com/jmespath/go-jmespath/master/NOTICE
raw.githubusercontent.com/jmespath/go-jmespath/master/NOTICE.txt
raw.githubusercontent.com/jmespath/go-jmespath/master/README
raw.githubusercontent.com/jmespath/go-jmespath/master/README.md
raw.githubusercontent.com/jonboulle/clockwork/master/NOTICE
raw.githubusercontent.com/jonboulle/clockwork/master/NOTICE.txt
raw.githubusercontent.com/jonboulle/clockwork/master/README
raw.githubusercontent.com/jonboulle/clockwork/master/README.md
raw.githubusercontent.com/juju/ratelimit/master/NOTICE
raw.githubusercontent.com/juju/ratelimit/master/NOTICE.txt
raw.githubusercontent.com/juju/ratelimit/master/README
raw.githubusercontent.com/juju/ratelimit/master/README.md
raw.githubusercontent.com/kardianos/osext/master/NOTICE
raw.githubusercontent.com/kardianos/osext/master/NOTICE.txt
raw.githubusercontent.com/kardianos/osext/master/README
raw.githubusercontent.com/kardianos/osext/master/README.md
raw.githubusercontent.com/kr/pty/master/NOTICE
raw.githubusercontent.com/kr/pty/master/NOTICE.txt
raw.githubusercontent.com/kr/pty/master/README
raw.githubusercontent.com/kr/pty/master/README.md
raw.githubusercontent.com/miekg/dns/master/NOTICE
raw.githubusercontent.com/miekg/dns/master/NOTICE.txt
raw.githubusercontent.com/miekg/dns/master/README
raw.githubusercontent.com/miekg/dns/master/README.md
raw.githubusercontent.com/mistifyio/go-zfs/master/NOTICE
raw.githubusercontent.com/mistifyio/go-zfs/master/NOTICE.txt
raw.githubusercontent.com/mistifyio/go-zfs/master/README
raw.githubusercontent.com/mistifyio/go-zfs/master/README.md
raw.githubusercontent.com/mitchellh/mapstructure/master/NOTICE
raw.githubusercontent.com/mitchellh/mapstructure/master/NOTICE.txt
raw.githubusercontent.com/mitchellh/mapstructure/master/README
raw.githubusercontent.com/mitchellh/mapstructure/master/README.md
raw.githubusercontent.com/mvdan/xurls/master/NOTICE
raw.githubusercontent.com/mvdan/xurls/master/NOTICE.txt
raw.githubusercontent.com/mvdan/xurls/master/README
raw.githubusercontent.com/mvdan/xurls/master/README.md
raw.githubusercontent.com/mxk/go-flowrate/master/NOTICE
raw.githubusercontent.com/mxk/go-flowrate/master/NOTICE.txt
raw.githubusercontent.com/mxk/go-flowrate/master/README
raw.githubusercontent.com/mxk/go-flowrate/master/README.md
raw.githubusercontent.com/onsi/ginkgo/master/NOTICE
raw.githubusercontent.com/onsi/ginkgo/master/NOTICE.txt
raw.githubusercontent.com/onsi/ginkgo/master/README
raw.githubusercontent.com/onsi/ginkgo/master/README.md
raw.githubusercontent.com/onsi/gomega/master/NOTICE
raw.githubusercontent.com/onsi/gomega/master/NOTICE.txt
raw.githubusercontent.com/onsi/gomega/master/README
raw.githubusercontent.com/onsi/gomega/master/README.md
raw.githubusercontent.com/pborman/uuid/master/NOTICE
raw.githubusercontent.com/pborman/uuid/master/NOTICE.txt
raw.githubusercontent.com/pborman/uuid/master/README
raw.githubusercontent.com/pborman/uuid/master/README.md
raw.githubusercontent.com/pmezard/go-difflib/master/NOTICE
raw.githubusercontent.com/pmezard/go-difflib/master/NOTICE.txt
raw.githubusercontent.com/pmezard/go-difflib/master/README
raw.githubusercontent.com/pmezard/go-difflib/master/README.md
raw.githubusercontent.com/rackspace/gophercloud/master/NOTICE
raw.githubusercontent.com/rackspace/gophercloud/master/NOTICE.txt
raw.githubusercontent.com/rackspace/gophercloud/master/README
raw.githubusercontent.com/rackspace/gophercloud/master/README.md
raw.githubusercontent.com/russross/blackfriday/master/NOTICE
raw.githubusercontent.com/russross/blackfriday/master/NOTICE.txt
raw.githubusercontent.com/russross/blackfriday/master/README
raw.githubusercontent.com/russross/blackfriday/master/README.md
raw.githubusercontent.com/samuel/go-zookeeper/master/NOTICE
raw.githubusercontent.com/samuel/go-zookeeper/master/NOTICE.txt
raw.githubusercontent.com/samuel/go-zookeeper/master/README
raw.githubusercontent.com/samuel/go-zookeeper/master/README.md
raw.githubusercontent.com/scalingdata/gcfg/master/NOTICE
raw.githubusercontent.com/scalingdata/gcfg/master/NOTICE.txt
raw.githubusercontent.com/scalingdata/gcfg/master/README
raw.githubusercontent.com/scalingdata/gcfg/master/README.md
raw.githubusercontent.com/seccomp/libseccomp-golang/master/NOTICE
raw.githubusercontent.com/seccomp/libseccomp-golang/master/NOTICE.txt
raw.githubusercontent.com/seccomp/libseccomp-golang/master/README
raw.githubusercontent.com/seccomp/libseccomp-golang/master/README.md
raw.githubusercontent.com/shurcooL/sanitized_anchor_name/master/NOTICE
raw.githubusercontent.com/shurcooL/sanitized_anchor_name/master/NOTICE.txt
raw.githubusercontent.com/shurcooL/sanitized_anchor_name/master/README
raw.githubusercontent.com/shurcooL/sanitized_anchor_name/master/README.md
raw.githubusercontent.com/Sirupsen/logrus/master/NOTICE
raw.githubusercontent.com/Sirupsen/logrus/master/NOTICE.txt
raw.githubusercontent.com/Sirupsen/logrus/master/README
raw.githubusercontent.com/Sirupsen/logrus/master/README.md
raw.githubusercontent.com/skynetservices/skydns/master/NOTICE
raw.githubusercontent.com/skynetservices/skydns/master/NOTICE.txt
raw.githubusercontent.com/skynetservices/skydns/master/README
raw.githubusercontent.com/skynetservices/skydns/master/README.md
raw.githubusercontent.com/spf13/cobra/master/NOTICE
raw.githubusercontent.com/spf13/cobra/master/NOTICE.txt
raw.githubusercontent.com/spf13/cobra/master/README
raw.githubusercontent.com/spf13/cobra/master/README.md
raw.githubusercontent.com/spf13/pflag/master/NOTICE
raw.githubusercontent.com/spf13/pflag/master/NOTICE.txt
raw.githubusercontent.com/spf13/pflag/master/README
raw.githubusercontent.com/spf13/pflag/master/README.md
raw.githubusercontent.com/stretchr/objx/master/NOTICE
raw.githubusercontent.com/stretchr/objx/master/NOTICE.txt
raw.githubusercontent.com/stretchr/objx/master/README
raw.githubusercontent.com/stretchr/objx/master/README.md
raw.githubusercontent.com/stretchr/objx/master/LICENSE
raw.githubusercontent.com/stretchr/objx/master/LICENSE.code
raw.githubusercontent.com/stretchr/objx/master/LICENSE.txt
raw.githubusercontent.com/stretchr/testify/master/NOTICE
raw.githubusercontent.com/stretchr/testify/master/NOTICE.txt
raw.githubusercontent.com/stretchr/testify/master/README
raw.githubusercontent.com/syndtr/gocapability/master/NOTICE
raw.githubusercontent.com/syndtr/gocapability/master/NOTICE.txt
raw.githubusercontent.com/syndtr/gocapability/master/README
raw.githubusercontent.com/syndtr/gocapability/master/README.md
raw.githubusercontent.com/ugorji/go/master/NOTICE
raw.githubusercontent.com/ugorji/go/master/NOTICE.txt
raw.githubusercontent.com/ugorji/go/master/README
raw.githubusercontent.com/ugorji/go/master/README.md
raw.githubusercontent.com/vishvananda/netlink/master/NOTICE
raw.githubusercontent.com/vishvananda/netlink/master/NOTICE.txt
raw.githubusercontent.com/vishvananda/netlink/master/README
raw.githubusercontent.com/vishvananda/netlink/master/README.md
raw.githubusercontent.com/xiang90/probing/master/NOTICE
raw.githubusercontent.com/xiang90/probing/master/NOTICE.txt
raw.githubusercontent.com/xiang90/probing/master/README
raw.githubusercontent.com/xiang90/probing/master/README.md
raw.githubusercontent.com/xyproto/simpleredis/master/NOTICE
raw.githubusercontent.com/xyproto/simpleredis/master/NOTICE.txt
raw.githubusercontent.com/xyproto/simpleredis/master/README
raw.githubusercontent.com/xyproto/simpleredis/master/README.md
golang.org/x/crypto/master/NOTICE
golang.org/x/crypto/master/NOTICE.txt
golang.org/x/crypto/master/README
golang.org/x/crypto/master/README.md
golang.org/x/exp/master/NOTICE
golang.org/x/exp/master/NOTICE.txt
golang.org/x/exp/master/README
golang.org/x/exp/master/README.md
golang.org/x/net/master/NOTICE
golang.org/x/net/master/NOTICE.txt
golang.org/x/net/master/README
golang.org/x/net/master/README.md
golang.org/x/oauth2/master/NOTICE
golang.org/x/oauth2/master/NOTICE.txt
golang.org/x/oauth2/master/README
golang.org/x/oauth2/master/README.md
golang.org/x/sys/master/NOTICE
golang.org/x/sys/master/NOTICE.txt
golang.org/x/sys/master/README
golang.org/x/sys/master/README.md
golang.org/x/tools/master/NOTICE
golang.org/x/tools/master/NOTICE.txt
golang.org/x/tools/master/README
golang.org/x/tools/master/README.md
google.golang.org/api/master/NOTICE
google.golang.org/api/master/NOTICE.txt
google.golang.org/api/master/README
google.golang.org/api/master/README.md
google.golang.org/cloud/master/NOTICE
google.golang.org/cloud/master/NOTICE.txt
google.golang.org/cloud/master/README
google.golang.org/cloud/master/README.md
google.golang.org/grpc/master/NOTICE
google.golang.org/grpc/master/NOTICE.txt
google.golang.org/grpc/master/README
google.golang.org/grpc/master/README.md
gopkg.in/natefinch/master/NOTICE
gopkg.in/natefinch/master/NOTICE.txt
gopkg.in/natefinch/master/README
gopkg.in/natefinch/master/README.md
gopkg.in/yaml.v2/master/NOTICE
gopkg.in/yaml.v2/master/NOTICE.txt
gopkg.in/yaml.v2/master/README
gopkg.in/yaml.v2/master/README.md
k8s.io/heapster/master/NOTICE
k8s.io/heapster/master/NOTICE.txt
k8s.io/heapster/master/README
k8s.io/heapster/master/README.md
speter.net/go/master/NOTICE
speter.net/go/master/NOTICE.txt
speter.net/go/master/README
speter.net/go/master/README.md

33876
Godeps/LICENSES generated Normal file

File diff suppressed because it is too large Load Diff

112
Godeps/LICENSES.md generated
View File

@ -1,112 +0,0 @@
Dependency Licenses
-------------------
Package | License
------- | -------
bitbucket.org/bertimus9/systemstat | MITname
bitbucket.org/ww/goautoneg | spdxBSD3
github.com/abbot/go-http-auth | Apache-2
github.com/appc/cni | Apache-2
github.com/appc/spec | Apache-2
github.com/armon/go-metrics | MITname
github.com/aws/aws-sdk-go | Apache-2
github.com/beorn7/perks/quantile | MIT?
github.com/blang/semver | MITname
github.com/boltdb/bolt | MITname
github.com/camlistore/go4 | Apache-2
github.com/ClusterHQ/flocker-go | Apache-2
github.com/codegangsta/negroni | MITname
github.com/coreos/etcd | Apache-2
github.com/coreos/go-etcd | Apache-2
github.com/coreos/go-oidc | Apache-2
github.com/coreos/go-semver | Apache-2
github.com/coreos/go-systemd | Apache-2
github.com/coreos/pkg | Apache-2
github.com/coreos/rkt | MITname
github.com/cpuguy83/go-md2man | MITname
github.com/davecgh/go-spew | MIToldwithoutSellandNoDocumentationRequi
github.com/daviddengcn/go-colortext | BSD?
github.com/dgrijalva/jwt-go | spdxMIT
github.com/docker/docker | Apache-2
github.com/docker/docker/pkg/symlink | spdxBSD3
github.com/docker/go-units | Apache-2
github.com/docker/spdystream | SeeFile
github.com/elazarl/go-bindata-assetfs | spdxBSD2
github.com/elazarl/goproxy | BSDWarr
github.com/emicklei/go-restful | MITname
github.com/evanphx/json-patch | BSDWarr
github.com/fsouza/go-dockerclient | spdxBSD2
github.com/garyburd/redigo/internal | ApachesPermLim
github.com/garyburd/redigo/redis | ApachesPermLim
github.com/ghodss/yaml | MITname
github.com/go-ini/ini | Apache-2
github.com/godbus/dbus | spdxBSD2
github.com/gogo/protobuf | spdxBSD3
github.com/golang/glog | Apache-2
github.com/golang/groupcache | Apache-2
github.com/golang/protobuf | spdxBSD3
github.com/google/btree | Apache-2
github.com/google/cadvisor | Apache-2
github.com/google/gofuzz | Apache-2
github.com/gorilla/context | spdxBSD3
github.com/gorilla/mux | spdxBSD3
github.com/hashicorp/go-msgpack | spdxBSD3
github.com/hashicorp/golang-lru | IntelPart08
github.com/hashicorp/raft | IntelPart08
github.com/hashicorp/raft-boltdb | IntelPart08
github.com/hawkular/hawkular-client-go | Apache-2
github.com/imdario/mergo | spdxBSD3
github.com/inconshreveable/mousetrap | Apache-2
github.com/influxdb/influxdb | MITname
github.com/jmespath/go-jmespath | Apache-2
github.com/jonboulle/clockwork | Apache-2
github.com/juju/ratelimit | LesserExceptionGPLVer3-TOOLONG
github.com/kardianos/osext | spdxBSD3
github.com/kr/pty | spdxMIT
github.com/matttproud/golang_protobuf_extensions | Apache-2
github.com/mesos/mesos-go | Apache-2
github.com/miekg/dns | spdxBSD3
github.com/mistifyio/go-zfs | Apache-2
github.com/mitchellh/mapstructure | MITname
github.com/mvdan/xurls | spdxBSD3
github.com/mxk/go-flowrate | spdxBSD3
github.com/onsi/ginkgo | spdxMIT
github.com/onsi/gomega | spdxMIT
github.com/opencontainers/runc | Apache-2
github.com/pborman/uuid | spdxBSD3
github.com/pmezard/go-difflib | BSD3
github.com/prometheus/client_golang | Apache-2
github.com/prometheus/client_model | Apache-2
github.com/prometheus/common/expfmt | Apache-2
github.com/prometheus/common/model | Apache-2
github.com/prometheus/procfs | Apache-2
github.com/rackspace/gophercloud | Apache-2
github.com/russross/blackfriday | AsIsVariant2-TOOLONG
github.com/samuel/go-zookeeper | spdxBSD3
github.com/scalingdata/gcfg | spdxBSD2
github.com/seccomp/libseccomp-golang | AllRights-TOOLONG
github.com/shurcooL/sanitized_anchor_name | MIT?
github.com/Sirupsen/logrus | MITname
github.com/skynetservices/skydns | MITname
github.com/spf13/cobra | Apache-2
github.com/spf13/pflag | spdxBSD3
github.com/stretchr/objx | MIT?
github.com/stretchr/testify | spdxMIT
github.com/syndtr/gocapability | spdxBSD2
github.com/ugorji/go | MITname
github.com/vishvananda/netlink | Apache-2
github.com/xiang90/probing | MITname
github.com/xyproto/simpleredis | MITname
golang.org/x/crypto | spdxBSD3
golang.org/x/exp | spdxBSD3
golang.org/x/net | spdxBSD3
golang.org/x/oauth2 | spdxBSD3
golang.org/x/sys | spdxBSD3
golang.org/x/tools | spdxBSD3
google.golang.org/api | spdxBSD3
google.golang.org/cloud | Apache-2
google.golang.org/grpc | spdxBSD3
gopkg.in/natefinch/lumberjack.v2 | MITname
gopkg.in/yaml.v2 | LesserExceptionGPLVer3-TOOLONG
k8s.io/heapster | Apache-2
speter.net/go/exp/math/dec/inf | spdxBSD2

View File

@ -1035,7 +1035,7 @@ function kube::release::package_full_tarball() {
cp -R "${KUBE_ROOT}/examples" "${release_stage}/" cp -R "${KUBE_ROOT}/examples" "${release_stage}/"
cp -R "${KUBE_ROOT}/docs" "${release_stage}/" cp -R "${KUBE_ROOT}/docs" "${release_stage}/"
cp "${KUBE_ROOT}/README.md" "${release_stage}/" cp "${KUBE_ROOT}/README.md" "${release_stage}/"
cp "${KUBE_ROOT}/LICENSE" "${release_stage}/" cp "${KUBE_ROOT}/Godeps/LICENSES" "${release_stage}/"
cp "${KUBE_ROOT}/Vagrantfile" "${release_stage}/" cp "${KUBE_ROOT}/Vagrantfile" "${release_stage}/"
mkdir -p "${release_stage}/contrib/completions/bash" mkdir -p "${release_stage}/contrib/completions/bash"
cp "${KUBE_ROOT}/contrib/completions/bash/kubectl" "${release_stage}/contrib/completions/bash" cp "${KUBE_ROOT}/contrib/completions/bash/kubectl" "${release_stage}/contrib/completions/bash"

View File

@ -228,9 +228,8 @@ It is sometimes expedient to manually fix the /Godeps/godeps.json file to minimi
Please send dependency updates in separate commits within your PR, for easier reviewing. Please send dependency updates in separate commits within your PR, for easier reviewing.
6) If you updated the Godeps, please also update `Godeps/LICENSES.md` by running `hack/update-godep-licenses.sh`. 6) If you updated the Godeps, please also update `Godeps/LICENSES` by running `hack/update-godep-licenses.sh`.
_If Godep does not automatically vendor the proper license file for a new dependency, be sure to add an exception entry to `hack/update-godep-licenses.sh`._
## Unit tests ## Unit tests

View File

@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash
# Copyright 2015 The Kubernetes Authors All rights reserved. # Copyright 2015 The Kubernetes Authors All rights reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
@ -16,30 +15,196 @@
# Update the Godeps/LICENSES.md document. # Update the Godeps/LICENSES.md document.
# Generates a table of Godep dependencies and their license. # Generates a table of Godep dependencies and their license.
# Requires: #
# docker
# mesosphere/godep-licenses (docker image) - source: https://github.com/mesosphere/godep-licenses
# Usage: # Usage:
# Run every time a license file is added/modified within /Godeps to update /Godeps/LICENSES.md. # $0 [--create-missing] [/path/to/licenses]
# Add exceptions (-e <repo>:<license>) for any dependency (project) vendored by Godep #
# that has a known license that isn't vendored by Godep or can't be found by godep-licenses. # --create-missing will write the files that only exist upstream, locally.
# This option is mostly used for testing as we cannot check-in any of the
# additionally created files into the godep auto-generated tree.
#
# Run every time a license file is added/modified within /Godeps to
# update /Godeps/LICENSES
set -o errexit set -o errexit
set -o nounset set -o nounset
set -o pipefail set -o pipefail
KUBE_ROOT="${KUBE_ROOT:-$(cd "$(dirname "${BASH_SOURCE}")/.." && pwd -P)}" ###############################################################################
# Manage the state of LICENSE/COPYRIGHT files
# Default operation is to check to see if a file is in the state file.
#
# @optparam -a Add the file to the state file
# @param file The file to check or add
# @return 1 when no file is found in state file
#
file_state () {
local add=0
case "$1" in
-a) add=1;shift ;;
esac
local file=$1
# If we're ignoring state, then return 1
((CREATE_MISSING)) && return 1
# initialize if step 1
if ((add)); then
echo "${file}" >> ${GODEPS_STATE}
return 0
fi
# Get return code from grep itself
# Redirect stderr so that a missing state file returns 1 quietly
LANG=C egrep -wq "^${file}$" ${GODEPS_STATE} 2>/dev/null
}
###############################################################################
# Process package content
#
# @param package The incoming package name
# @param type The type of content (LICENSE or COPYRIGHT)
#
process_content () {
local package=$1
local type=$2
local f
local package_root
local ensure_pattern
local package_root_url
local dir_root
local find_maxdepth
local find_names
local -a local_files=()
local -a remote_files=()
# Necessary to expand {}
case ${type} in
LICENSE) remote_files=(LICENSE{,.code,.txt,.md})
find_names=(-iname 'licen[sc]e*')
find_maxdepth=1
# Sadly inconsistent in the wild, but mostly license files
# containing copyrights, but no readme/notice files containing
# licenses (except to "see license file")
ensure_pattern="License|Copyright"
;;
# We search readmes for copyrights and this includes notice files as well
# Look in as many places as we find files matching
COPYRIGHT) remote_files=(NOTICE{,.txt} README{,.md})
find_names=(-iname 'notice*' -o -iname 'readme*')
find_maxdepth=3
ensure_pattern="Copyright"
;;
esac
# Start search at package root
case ${package} in
github.com/*|golang.org/*|bitbucket.org/*)
package_root=$(echo ${package} |awk -F/ '{print $1"/"$2"/"$3 }')
;;
*)
package_root=$(echo ${package} |awk -F/ '{print $1"/"$2 }')
;;
esac
# if github.com, rewrite package root url, otherwise take as is
package_root_url="${package_root/github.com/raw.githubusercontent.com}"
# Find LOCAL files first - only root and package level
for dir_root in ${package} ${package_root}; do
# One (set) of these is fine
local_files+=($(find ${GODEPS_SRC}/${dir_root} -xdev -follow \
-maxdepth ${find_maxdepth} -type f "${find_names[@]}"))
done
# Uniquely sort the array
IFS=$'\n' local_files=($(sort -u <<<"${local_files[*]-}"))
unset IFS
for f in ${local_files[@]-}; do
# Find some copyright info in any file and break
egrep -wq "${ensure_pattern}" ${f} && \
FILE_CONTENT[${package}-${type}]="$(cat ${f})" && break
done
# When nothing is set at the package level, try package_root
: ${FILE_CONTENT[${package}-${type}]:="${FILE_CONTENT[${package_root}-${type}]-}"}
if [[ -z "${FILE_CONTENT[${package}-${type}]-}" ]]; then
for f in ${remote_files[@]}; do
file_state "${package_root_url}/master/${f}" && continue
if ! FILE_CONTENT[${package}-${type}]="$(\
curl --fail -s https://${package_root_url}/master/${f})" || \
! $(echo "${FILE_CONTENT[${package}-${type}]-}" |\
egrep -qw "${ensure_pattern}") ||
[[ "${FILE_CONTENT[${package}-${type}]-}" =~ \<\ *html ]] ; then
((CREATE_MISSING)) || file_state -a "${package_root_url}/master/${f}"
continue
fi
if [[ -n "${FILE_CONTENT[${package}-${type}]-}" ]]; then
if ((CREATE_MISSING)); then
mkdir -p ${GODEPS_SRC}/${package_root}
echo "${FILE_CONTENT[${package}-${type}]}" \
> ${GODEPS_SRC}/${package_root}/${f}
fi
break
fi
done
fi
}
#############################################################################
# MAIN
#############################################################################
KUBE_ROOT="${KUBE_ROOT:-$(cd "$(dirname "${BASH_SOURCE}")/.." && pwd -P)}"
cd "${KUBE_ROOT}" cd "${KUBE_ROOT}"
exec docker run --rm -i -v "${KUBE_ROOT}:/repo" mesosphere/godep-licenses:latest -p /repo \ # If CREATE_MISSING=1, the state file is ignored
-e github.com/abbot/go-http-auth:Apache-2 \ CREATE_MISSING=0
-e github.com/beorn7/perks/quantile:MIT? \ if [[ ${1-} == "--create-missing" ]]; then
-e github.com/daviddengcn/go-colortext:BSD? \ CREATE_MISSING=1
-e github.com/docker/docker/pkg/symlink:spdxBSD3 \ shift
-e github.com/shurcooL/sanitized_anchor_name:MIT? \ fi
-e github.com/spf13/cobra:Apache-2 \
-e github.com/stretchr/objx:MIT? \ # Place to store the state of not-found files so we don't curl too much
-e github.com/docker/spdystream:SeeFile \ GODEPS_STATE="Godeps/.license_file_state"
-e gopkg.in/yaml.v2:LesserExceptionGPLVer3-TOOLONG \
-o md > Godeps/LICENSES.md GODEPS_LICENSE_FILE=${1:-"Godeps/LICENSES"}
GODEPS_SRC="Godeps/_workspace/src"
declare -Ag FILE_CONTENT
# Put the K8S LICENSE on top
(
echo "================================================================================"
echo "= Kubernetes licensed under: ="
echo
cat ${KUBE_ROOT}/LICENSE
) > ${GODEPS_LICENSE_FILE}
# Loop through every package in Godeps.json
for PACKAGE in $(cat Godeps/Godeps.json |\
jq -r ".Deps[].ImportPath" |sort -f); do
process_content ${PACKAGE} LICENSE
process_content ${PACKAGE} COPYRIGHT
# display content
echo
echo "================================================================================"
echo "= ${GODEPS_SRC}/${PACKAGE} licensed under: ="
echo
if [[ -z "${FILE_CONTENT[${PACKAGE}-LICENSE]-}" &&
-z "${FILE_CONTENT[${PACKAGE}-COPYRIGHT]-}" ]]; then
echo "UNKNOWN"
else
if [[ -n "${FILE_CONTENT[${PACKAGE}-LICENSE]-}" ]]; then
echo "${FILE_CONTENT[${PACKAGE}-LICENSE]-}"
echo
fi
if [[ -n "${FILE_CONTENT[${PACKAGE}-COPYRIGHT]-}" ]]; then
echo "${FILE_CONTENT[${PACKAGE}-COPYRIGHT]-}" | sed -n '/Copyright /,$p'
fi
fi
done >> ${GODEPS_LICENSE_FILE}

View File

@ -36,13 +36,14 @@ function cleanup {
} }
trap cleanup EXIT trap cleanup EXIT
cp -r "${KUBE_ROOT}/LICENSE" "${_tmpdir}/"
cp -r "${KUBE_ROOT}/Godeps" "${_tmpdir}/Godeps" cp -r "${KUBE_ROOT}/Godeps" "${_tmpdir}/Godeps"
# Update Godep Licenses # Update Godep Licenses
KUBE_ROOT="${_tmpdir}" "${KUBE_ROOT}/hack/update-godep-licenses.sh" KUBE_ROOT="${_tmpdir}" "${KUBE_ROOT}/hack/update-godep-licenses.sh"
# Compare Godep Licenses # Compare Godep Licenses
if ! _out="$(diff -Naupr ${KUBE_ROOT}/Godeps/LICENSES.md ${_tmpdir}/Godeps/LICENSES.md)"; then if ! _out="$(diff -Naupr ${KUBE_ROOT}/Godeps/LICENSES ${_tmpdir}/Godeps/LICENSES)"; then
echo "Your godep licenses file is out of date. Run hack/update-godep-licenses.sh and commit the results." echo "Your godep licenses file is out of date. Run hack/update-godep-licenses.sh and commit the results."
echo "${_out}" echo "${_out}"
exit 1 exit 1