metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ceste...@apache.org
Subject incubator-metron git commit: METRON-84 Update license/notices with appropriate 3rd party bundled notices closes apache/incubator-metron#57
Date Tue, 22 Mar 2016 16:23:22 GMT
Repository: incubator-metron
Updated Branches:
  refs/heads/master e5dbec576 -> 379c9522a


METRON-84 Update license/notices with appropriate 3rd party bundled notices closes apache/incubator-metron#57


Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/379c9522
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/379c9522
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/379c9522

Branch: refs/heads/master
Commit: 379c9522ac284ade801412d22730e8ed69872cd9
Parents: e5dbec5
Author: cestella <cestella@gmail.com>
Authored: Tue Mar 22 12:23:16 2016 -0400
Committer: cstella <cestella@gmail.com>
Committed: Tue Mar 22 12:23:16 2016 -0400

----------------------------------------------------------------------
 LICENSE                                  | 20 +++++++++++++
 metron-ui/lib/public/vendor/LICENSE.json |  6 ++--
 notices_dumper.py                        | 42 +++++++++++++++++++++++++++
 3 files changed, 65 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/379c9522/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index 5c304d1..9b674e3 100644
--- a/LICENSE
+++ b/LICENSE
@@ -199,3 +199,23 @@ Apache License
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
+
+This product bundles filesaver 2013-01-23, which is available under a "MIT" license.
+This product bundles angular-dragdrop 1.0.4, which is available under a "MIT" license.
+This product bundles modernizr 2.6.1, which is available under a "MIT" license.
+This product bundles bindonce 0.2.1, which is available under a "MIT" license.
+This product bundles moment 2.1.0, which is available under a "MIT" license.
+This product bundles jquery-ui 1.10.3, which is available under a "MIT" license.
+This product bundles angular 1.1.5, which is available under a "MIT" license.
+This product bundles jquery 1.8.0, which is available under a "MIT" license.
+This product bundles elasticjs 1.1.1, which is available under a "MIT" license.
+This product bundles angular-strap 0.7.5, which is available under a "MIT" license.
+This product bundles lodash 2.4.1, which is available under a "MIT" license.
+This product bundles require 2.1.8, which is available under a "MIT" license.
+This product bundles flot 0.8.1, which is available under a "MIT" license.
+This product bundles leaflet 0.6, which is available under a "2-Clause BSD" license.
+This product bundles jvectormap 1.2.2, which is available under a "MIT" license.
+This product bundles timepicker 0.2.6, which is available under a "MIT" license.
+This product bundles blob 2013-06-20, which is available under a "MIT" license.
+This product bundles numeral 1.5.2, which is available under a "MIT" license.
+This product bundles chromath 0.0.5, which is available under a "MIT" license.

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/379c9522/metron-ui/lib/public/vendor/LICENSE.json
----------------------------------------------------------------------
diff --git a/metron-ui/lib/public/vendor/LICENSE.json b/metron-ui/lib/public/vendor/LICENSE.json
index 2adbae2..2c3318f 100755
--- a/metron-ui/lib/public/vendor/LICENSE.json
+++ b/metron-ui/lib/public/vendor/LICENSE.json
@@ -77,14 +77,14 @@
   },
   "lodash": {
     "version":"2.4.1",
-    "license":"https://github.com/lodash/lodash/blob/2.4.1/LICENSE.txt"
+    "license":"MIT"
   },
   "leaflet": {
     "version":"0.6",
-    "license":"https://github.com/Leaflet/Leaflet/blob/v0.6/LICENSE"
+    "license":"2-Clause BSD"
   },
   "jvectormap": {
     "version":"1.2.2",
     "license":"MIT"
   }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/379c9522/notices_dumper.py
----------------------------------------------------------------------
diff --git a/notices_dumper.py b/notices_dumper.py
new file mode 100644
index 0000000..00ad80b
--- /dev/null
+++ b/notices_dumper.py
@@ -0,0 +1,42 @@
+
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+import json
+import sys
+
+def merge_dicts(*dict_args):
+    result = {}
+    for dictionary in dict_args:
+        result.update(dictionary)
+    return result
+
+def get_statement(component, version, license):
+    #This product bundles SuperWidget 1.2.3, which is available under a
+    #"3-clause BSD" license.
+    s = "This product bundles " + component + " " + version \
+      + ", which is available under a \"" + license + "\" license."
+    return s
+
+licenses = {}
+for i in xrange(1, len(sys.argv)):
+    with open(sys.argv[i]) as f:
+        license_summary = f.read()
+        licenses = merge_dicts(licenses, json.loads(license_summary))
+for component, value in licenses.iteritems():
+    if not(value['license'].startswith("Apache")):
+        print get_statement(component, value['version'], value['license'])
+


Mime
View raw message