Browse Source

bill-of-materials: initial commit

CoreOS projects are adding a machine parsable license file. The tool is
from https://github.com/coreos/license-bill-of-materials
Brandon Philips 7 years ago
parent
commit
22d406b596
3 changed files with 171 additions and 0 deletions
  1. 162 0
      bill-of-materials.json
  2. 6 0
      bill-of-materials.override.json
  3. 3 0
      dist/bill-of-materials.sh

+ 162 - 0
bill-of-materials.json

@@ -0,0 +1,162 @@
+[
+	{
+		"project": "github.com/coreos/flannel",
+		"license": "Apache License 2.0",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/aws/aws-sdk-go",
+		"license": "Apache License 2.0",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/blang/semver",
+		"license": "MIT License",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/coreos/etcd",
+		"license": "Apache License 2.0",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/coreos/go-iptables/iptables",
+		"license": "Apache License 2.0",
+		"confidence": 0.997
+	},
+	{
+		"project": "github.com/coreos/go-systemd",
+		"license": "Apache License 2.0",
+		"confidence": 0.997
+	},
+	{
+		"project": "github.com/coreos/pkg",
+		"license": "Apache License 2.0",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/davecgh/go-spew/spew",
+		"license": "ISC License",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/denverdino/aliyungo",
+		"license": "Apache License 2.0",
+		"confidence": 0.966
+	},
+	{
+		"project": "github.com/docker/distribution",
+		"license": "Apache License 2.0",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/emicklei/go-restful",
+		"license": "MIT License",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/ghodss/yaml",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.836
+	},
+	{
+		"project": "github.com/go-ini/ini",
+		"license": "Apache License 2.0",
+		"confidence": 0.997
+	},
+	{
+		"project": "github.com/gogo/protobuf",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.909
+	},
+	{
+		"project": "github.com/golang/glog",
+		"license": "Apache License 2.0",
+		"confidence": 0.997
+	},
+	{
+		"project": "github.com/google/gofuzz",
+		"license": "Apache License 2.0",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/jmespath/go-jmespath",
+		"license": "Apache License 2.0",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/jonboulle/clockwork",
+		"license": "Apache License 2.0",
+		"confidence": 1
+	},
+	{
+		"project": "github.com/juju/ratelimit",
+		"license": "GNU Lesser General Public License v3.0",
+		"confidence": 0.941
+	},
+	{
+		"project": "github.com/pborman/uuid",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.966
+	},
+	{
+		"project": "github.com/spf13/pflag",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.966
+	},
+	{
+		"project": "github.com/ugorji/go/codec",
+		"license": "MIT License",
+		"confidence": 0.995
+	},
+	{
+		"project": "github.com/vishvananda/netlink",
+		"license": "Apache License 2.0",
+		"confidence": 0.968
+	},
+	{
+		"project": "golang.org/x/net",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.966
+	},
+	{
+		"project": "golang.org/x/oauth2",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.966
+	},
+	{
+		"project": "google.golang.org/api",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.966
+	},
+	{
+		"project": "google.golang.org/api/googleapi/internal/uritemplates",
+		"license": "MIT License",
+		"confidence": 0.989
+	},
+	{
+		"project": "google.golang.org/cloud",
+		"license": "Apache License 2.0",
+		"confidence": 0.999
+	},
+	{
+		"project": "gopkg.in/inf.v0",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.975
+	},
+	{
+		"project": "gopkg.in/yaml.v2",
+		"license": "GNU Lesser General Public License v3.0",
+		"confidence": 0.953
+	},
+	{
+		"project": "k8s.io/kubernetes/pkg",
+		"license": "Apache License 2.0",
+		"confidence": 0.999
+	},
+	{
+		"project": "k8s.io/kubernetes/third_party/forked/golang/reflect",
+		"license": "BSD 3-clause \"New\" or \"Revised\" License",
+		"confidence": 0.966
+	}
+]

+ 6 - 0
bill-of-materials.override.json

@@ -0,0 +1,6 @@
+[
+	{
+		"project": "github.com/jmespath/go-jmespath",
+		"license": "Apache License 2.0"
+	}
+]

+ 3 - 0
dist/bill-of-materials.sh

@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+license-bill-of-materials -override-file bill-of-materials.override.json  github.com/coreos/flannel > bill-of-materials.json