You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/02/12 23:26:15 UTC

[GitHub] rob05c closed pull request #1873: License fixes

rob05c closed pull request #1873: License fixes
URL: https://github.com/apache/incubator-trafficcontrol/pull/1873
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.dependency_license b/.dependency_license
new file mode 100644
index 0000000000..acfa12cb82
--- /dev/null
+++ b/.dependency_license
@@ -0,0 +1,140 @@
+# Documentation - These files are never code.
+README(\..*)?$, Docs
+NOTICE$, Docs
+VERSION$, Docs
+BUILD$, Docs
+DISCLAIMER, Docs
+CHANGELOG$, Docs
+\.md$, Docs
+\.txt$, Docs
+\.placeholder$, Empty
+
+# Uncommentable files
+#
+# These files cannot contain comments, so no header can be added.
+# They are nevertheless covered by the Apache license.
+\.gitignore$, Apache
+\.mailmap$, Apache
+\.gitattributes$, Apache
+\.classpath$, Apache
+\.pmd$, Apache
+\.project$, Apache
+^\.rat-excludes$, Apache
+RobotoSlab-Bold\.ttf$, Apache
+RobotoSlab-Regular\.ttf$, Apache
+\.cfg$, Apache
+\.json$, Apache
+\.csv$, Apache
+\.conf$, Apache
+\.prop$, Apache
+\.test$, Apache
+\.config(\.example)?$, Apache
+/\.bowerrc$, Apache
+/\.jshintrc$, Apache
+\.traffic_ops$, Apache # JSON with a specific format.
+\.dist$, Apache # JSON with a specific format.
+traffic_monitor_config\.js$, Apache # Actually JSON with a specific format.
+CrStates$, Apache # JSON with a specific format.
+^docs/.*\.(png|jpe?g|ico|gif)$, Apache
+favicon.(ico|png)$, Apache
+^traffic_ops/experimental/goto/testFiles/, Apache
+cron\.d/[^/]*$, Apache
+\.pem$, Apache # Single certificate file.
+
+# Images, created for this project or used under an Apache license.
+^misc/traffic-control-cdn/images/atc_logo\.png, Apache
+^misc/traffic-control-cdn/images/header_bkgd\.png, Apache
+^misc/traffic-control-cdn/images/main_bkgd\.png, Apache
+^misc/traffic-control-cdn/images/tc_logo\.png, Apache
+^misc/traffic-control-cdn/images/traffic_monitor_logo\.png, Apache
+^misc/traffic-control-cdn/images/traffic_operations_logo\.png, Apache
+^misc/traffic-control-cdn/images/traffic_portal_logo\.png, Apache
+^misc/traffic-control-cdn/images/traffic_router_logo\.png, Apache
+^misc/traffic-control-cdn/images/traffic_stats_logo\.png, Apache
+^traffic_monitor_java/src/main/webapp/tune(-grey)?\.png, Apache
+^traffic_ops/app/public/images/anchor\.gif, Apache
+^traffic_ops/app/public/images/bad\.png, Apache
+^traffic_ops/app/public/images/blank\.png, Apache
+^traffic_ops/app/public/images/clock-black., Apache
+^traffic_ops/app/public/images/clock\.png, Apache
+^traffic_ops/app/public/images/good\.png, Apache
+^traffic_ops/app/public/images/graph\.png, Apache
+^traffic_ops/app/public/images/info\.png, Apache
+^traffic_ops/app/public/images/input_field_background\.png, Apache
+^traffic_ops/app/public/images/na\.png, Apache
+^traffic_ops/app/public/images/notrun\.png, Apache
+^traffic_ops/app/public/images/tc_logo\.png, Apache
+^traffic_ops/app/public/images/tc_logo_c_only\.png, Apache
+^traffic_ops/app/public/images/traffic_operations_logo\.png, Apache
+^traffic_ops/app/public/images/warning\.png, Apache
+^traffic_ops/app/public/images/select2.*, Apache
+
+# Demo certificates
+ssl\.(crt|key)$, Apache
+/keystore, Apache
+COMODO.*\.crt$, Apache
+
+# Uncommentable files
+#
+# These files cannot contain comments, but are covered by separate
+# licenses. These licenses must be documented in the root LICENSE file.
+Inconsolata\.ttf$, SIL OFL 1.1
+Inconsolata-Bold\.ttf$, SIL OFL 1.1
+[Ff]ont[Aa]wesome[^\.]*\.([ot]tf|eot|woff2?)$, SIL OFL 1.1
+Lato-Bold\.ttf$, SIL OFL 1.1
+Lato-Regular\.ttf$, SIL OFL 1.1
+ssl-bundle\.crt$, MPL
+^traffic_portal/app/src/assets/images/sort_, MIT
+^traffic_ops/app/public/images/spinner-small\.gif$, WTFPL
+
+# Code dependencies
+#
+# These files could bear headers, but are part of dependent code and
+# so we present them for the most part unmodified. These licenses must
+# be documented in the root LICENSE file.
+[Ff]ont[Aa]wesome[^\.]*\.css, MIT
+select2.css, Apache
+select2.css, GPL/LGPL
+j[Mm]enu.*\.(css|js), MIT
+sphinx_rtd_theme/.*\.(html|css|css\.map|js|py)$, MIT
+bootstrap-theme\.css\.map, MIT
+datatables\.min, MIT
+GeoLite2-City.mmdb.gz, CC-A-SA
+jquery\.tree\.min\.css$, MIT
+jquery\.dataTables\.min\.(css|js)$, MIT
+^traffic_ops/traffic_ops_golang/vendor/github.com/basho/backoff/.*, MIT
+
+# Ignored - Do not report.
+\.DS_Store, Ignore # Created automatically OSX.
+^\.rat-excludes$, Ignore # False positives for basically everything.
+\.dependency_license$, Ignore # False positives in this file.
+
+# This file is created dynamically by the testing script itself, it is
+# not distributed, but if it were, it would be Apache, and the source
+# would be right with it.
+^infrastructure/test/license/license, Apache
+
+# Don't object to licenses in the license file itself.
+^LICENSE$, !GoBSD
+^LICENSE$, !MIT
+^LICENSE$, !BSD
+^LICENSE$, !X11
+^LICENSE$, !ISC
+
+# ... or in the documentation about the licenses.
+^infrastructure/test/license/README.md$, !BSD
+^infrastructure/test/license/README.md$, !GPL/LGPL
+^infrastructure/test/license/README.md$, !MIT
+^infrastructure/test/license/README.md$, !WTFPL
+^infrastructure/test/license/README.md$, !X11
+
+# License files are licensed under their own terms, don't attempt to detect them.
+^licenses/.*, Ignore
+
+# False positives
+licenseList\.go$, !GoBSD
+licenseList\.go$, !MIT
+licenseList\.go$, !BSD
+licenseList\.go$, !X11
+^traffic_ops/app/t_integration/extensions\.t$, !X11
+GeoLite2-City.mmdb.gz, !MIT
diff --git a/.gitignore b/.gitignore
index 61f168951b..f7bce08708 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,4 @@ traffic_router/*.log
 .dbInfo
 /dist
 *.pyc
+bin/docker-compose
diff --git a/LICENSE b/LICENSE
index 974b03e23c..59735229a0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -228,7 +228,7 @@ For the modernizr component:
 For the fontawesome component:
 @docs/source/_themes/sphinx_rtd_theme/static/fonts/FontAwesome.otf
 @docs/source/_themes/sphinx_rtd_theme/static/fonts/fontawesome-webfont.*
-@traffic_ops/experimental/ui/app/src/assets/fonts/[Ff]ont[Aa]wesome*
+@traffic_portal/app/src/assets/fonts/[Ff]ont[Aa]wesome*
 
 These binary fontawesome fonts are provided under the SIL Open Font License 1.1:
 ./licenses/SIL-1.1
@@ -256,7 +256,7 @@ For the bootstrap component:
 ./licenses/MIT-normalize
 
 For the sorttable component:
-@traffic_monitor_golang/traffic_monitor/static/sorttable.js
+@traffic_monitor/static/sorttable.js
 ./licenses/MIT-sorttable
 
 For the jQuery component:
@@ -273,9 +273,10 @@ For the jMenu component:
 
 For the DataTables component:
 @traffic_ops/app/public/js/jquery.dataTables.js
-@traffic_ops/experimental/ui/app/src/assets/css/jquery.dataTables.min.css
-@traffic_ops/experimental/ui/app/src/assets/js/dataTables.tableTools.js
-@traffic_ops/experimental/ui/app/src/assets/js/jquery.dataTables.min.js
+@traffic_portal/app/src/assets/css/jquery.dataTables.min.css
+@traffic_portal/app/src/assets/js/dataTables.tableTools.js
+@traffic_portal/app/src/assets/js/jquery.dataTables.min.js
+@traffic_portal/app/src/assets/images/sort_*
 ./licenses/MIT-datatables
 
 For the jquery.tree component:
@@ -283,37 +284,33 @@ For the jquery.tree component:
 ./licenses/MIT-jquery_tree
 
 For the ng-map component:
-@traffic_ops/experimental/ui/app/src/assets/js/ng-map_1.17.6.min.js
+@traffic_portal/app/src/assets/js/ng-map_1.17.6.min.js
 ./licenses/MIT-ng_map
 
 For the angular-loading-bar component:
-@traffic_ops/experimental/ui/app/src/styles/loading.scss
 @traffic_portal/app/src/styles/loading.scss
+@traffic_portal/v1/app/src/styles/loading.scss
 ./licenses/MIT-angular_loading_bar
 
 For the gentelella admin theme:
-@traffic_ops/experimental/ui/app/src/styles/theme.scss
+@traffic_portal/app/src/styles/theme.scss
 ./licenses/MIT-gentelella
 
 For the underscore component:
-@traffic_ops/experimental/ui/app/src/assets/js/underscore-min_1.8.3.js
+@traffic_portal/app/src/assets/js/underscore-min_1.8.3.js
 ./licenses/MIT-underscore
 
 For the selenium component:
 @infrastructure/test/ui/vendor/github.com/tebeka/selenium/*
 ./infrastructure/test/ui/vendor/github.com/tebeka/selenium/LICENSE.txt
 
-For the gmx component:
-@traffic_monitor_golang/vendor/github.com/davecheney/gmx/*
-./traffic_monitor_golang/vendor/github.com/davecheney/gmx/LICENCE
-
 For the stoppableListener component:
-@traffic_monitor_golang/vendor/github.com/hydrogen18/stoppableListener/*
-./traffic_monitor_golang/vendor/github.com/hydrogen18/stoppableListener/LICENSE
+@traffic_monitor/vendor/github.com/hydrogen18/stoppableListener/*
+./traffic_monitor/vendor/github.com/hydrogen18/stoppableListener/LICENSE
 
 For the fsnotify component:
-@traffic_monitor_golang/vendor/gopkg.in/fsnotify.v1/*
-./traffic_monitor_golang/vendor/gopkg.in/fsnotify.v1/LICENSE
+@traffic_monitor/vendor/gopkg.in/fsnotify.v1/*
+./traffic_monitor/vendor/gopkg.in/fsnotify.v1/LICENSE
 
 For the jwt-go component:
 @traffic_ops/experimental/traffic_ops_auth/vendor/github.com/dgrijalva/jwt-go/*
@@ -321,8 +318,13 @@ For the jwt-go component:
 
 For the pq component:
 @traffic_ops/experimental/traffic_ops_auth/vendor/github.com/lib/pq/*
+@traffic_ops/testing/api/vendor/github.com/lib/pq/*
 ./traffic_ops/experimental/traffic_ops_auth/vendor/github.com/lib/pq/LICENSE.md
 
+and also:
+@traffic_ops/traffic_ops_golang/vendor/github.com/lib/pq/*
+./traffic_ops/traffic_ops_golang/vendor/github.com/lib/pq/LICENSE.md
+
 For the influxdb component:
 @traffic_stats/vendor/github.com/influxdata/influxdb/*
 ./traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE
@@ -335,10 +337,7 @@ For the errors component:
 For the x/net component:
 @traffic_stats/vendor/golang.org/x/net/*
 ./traffic_stats/vendor/golang.org/x/net/LICENSE
-
-For the errgo component:
-@traffic_stats/vendor/gopkg.in/errgo.v1/*
-./traffic_stats/vendor/gopkg.in/errgo.v1/LICENSE
+./traffic_stats/vendor/golang.org/x/net/PATENTS
 
 For the MaxMind DB GeoLite2 Database:
 @traffic_router/core/src/test/resources/geo/GeoLite2-City.mmdb.gz
@@ -349,7 +348,7 @@ For the gofmt github hook:
 ./licenses/BSD-go
 
 For the Select2 component:
-@traffic_ops/app/public/*/select2.*
+@traffic_ops/app/public/*/select2*
 This dual-licensed component is herein licensed under the Apache 2.0 license.
 
 Copyright (c) 2012-2015 Kevin Brown, Igor Vaynberg, and Select2 contributors
@@ -363,7 +362,7 @@ For the IPv6 Perl Module component:
 ./licenses/ISC-netpacket_ipv6
 
 Several subsections of main.css are under the MIT license, as noted in the file:
-@traffic_ops/experimental/ui/app/src/styles/main.scss
+@traffic_portal/app/src/styles/main.scss
 @traffic_portal/app/src/styles/main.scss
 
     For the bootstrap-vertical-tabs component:
@@ -384,5 +383,52 @@ The invalid_passwords.txt file is from the Projects/OWASP SecLists Project provi
 ./licenses/MIT-SecLists
 
 For the go-sqlmock component:
-@traffic_ops/traffic_ops_golang/vendor/gopkg.in/DATA-DOG/go-sqlmock/*
-./traffic_ops/traffic_ops_golang/vendor/gopkg.in/DATA-DOG/go-sqlmock/LICENSE
+@traffic_ops/traffic_ops_golang/vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/*
+./traffic_ops/traffic_ops_golang/vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/LICENSE
+
+For the go-jwx component:
+@traffic_ops/traffic_ops_golang/vendor/github.com/lestrrat/go-jwx/*
+./traffic_ops/traffic_ops_golang/vendor/github.com/lestrrat/go-jwx/LICENSE
+
+For the protobuf component:
+@traffic_ops/traffic_ops_golang/vendor/github.com/golang/protobuf/*
+./traffic_ops/traffic_ops_golang/vendor/github.com/golang/protobuf/LICENSE
+
+For the sqlx component:
+@traffic_ops/traffic_ops_golang/vendor/github.com/jmoiron/sqlx/*
+@traffic_ops/testing/api/vendor/github.com/jmoiron/sqlx/*
+./traffic_ops/traffic_ops_golang/vendor/github.com/jmoiron/sqlx/LICENSE
+
+For the backoff component:
+@traffic_ops/traffic_ops_golang/vendor/github.com/basho/backoff/*
+./traffic_ops/traffic_ops_golang/vendor/github.com/basho/backoff/README.md
+
+The riak-go-client component is used under the Apache license:
+@traffic_ops/traffic_ops_golang/vendor/github.com/basho/riak-go-client/*
+./traffic_ops/traffic_ops_golang/vendor/github.com/basho/riak-go-client/LICENSE
+
+The x/crypto library is used under the BSD License from the Go Authors:
+@traffic_ops/traffic_ops_golang/vendor/golang.org/x/crypto/*
+@traffic_ops/testing/api/vendor/golang.org/x/crypto/*
+./traffic_ops/traffic_ops_golang/vendor/golang.org/x/crypto/LICENSE
+./traffic_ops/traffic_ops_golang/vendor/golang.org/x/crypto/PATENTS
+
+The x/net library is used under the BSD License from the Go Authors:
+@traffic_ops/testing/api/vendor/golang.org/x/net/*
+./traffic_ops/testing/api/vendor/golang.org/x/net/LICENSE
+
+The envconfig component is used under the MIT license:
+@traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/*
+./traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/LICENSE
+
+The govalidator component is used under the MIT license:
+@traffic_ops/traffic_ops_golang/vendor/github.com/asaskevich/govalidator/*
+./traffic_ops/traffic_ops_golang/vendor/github.com/asaskevich/govalidator/LICENSE
+
+The ozzo-validation component is used under the MIT license:
+@traffic_ops/traffic_ops_golang/vendor/github.com/go-ozzo/ozzo-validation/*
+./traffic_ops/traffic_ops_golang/vendor/github.com/go-ozzo/ozzo-validation/LICENSE
+
+The spinner-small.gif is used under the WTFPL license:
+@traffic_ops/app/public/images/spinner-small.gif
+./licenses/WTFPL
diff --git a/licenses/WTFPL b/licenses/WTFPL
new file mode 100644
index 0000000000..77dea88b8d
--- /dev/null
+++ b/licenses/WTFPL
@@ -0,0 +1,15 @@
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+                    Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sa...@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. You just DO WHAT THE FUCK YOU WANT TO.
+
+
diff --git a/traffic_ops/app/lib/Schema/Result/ApiCapability.pm b/traffic_ops/app/lib/Schema/Result/ApiCapability.pm
index f5ec12b6af..cffe08119e 100644
--- a/traffic_ops/app/lib/Schema/Result/ApiCapability.pm
+++ b/traffic_ops/app/lib/Schema/Result/ApiCapability.pm
@@ -142,4 +142,19 @@ __PACKAGE__->belongs_to(
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
+#
+#
+# Licensed 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.
+#
+#
 1;
diff --git a/traffic_ops/app/lib/Schema/Result/Capability.pm b/traffic_ops/app/lib/Schema/Result/Capability.pm
index d636726df6..f877ee7d8f 100644
--- a/traffic_ops/app/lib/Schema/Result/Capability.pm
+++ b/traffic_ops/app/lib/Schema/Result/Capability.pm
@@ -106,4 +106,19 @@ __PACKAGE__->has_many(
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
+#
+#
+# Licensed 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.
+#
+#
 1;
diff --git a/traffic_ops/app/lib/Schema/Result/ProfileTypeValue.pm b/traffic_ops/app/lib/Schema/Result/ProfileTypeValue.pm
index 0d1b50d771..8ab648c060 100644
--- a/traffic_ops/app/lib/Schema/Result/ProfileTypeValue.pm
+++ b/traffic_ops/app/lib/Schema/Result/ProfileTypeValue.pm
@@ -66,4 +66,19 @@ __PACKAGE__->add_columns(
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
+#
+#
+# Licensed 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.
+#
+#
 1;
diff --git a/traffic_ops/app/lib/Schema/Result/RoleCapability.pm b/traffic_ops/app/lib/Schema/Result/RoleCapability.pm
index 6154ebd51b..5fef770201 100644
--- a/traffic_ops/app/lib/Schema/Result/RoleCapability.pm
+++ b/traffic_ops/app/lib/Schema/Result/RoleCapability.pm
@@ -96,4 +96,19 @@ __PACKAGE__->belongs_to(
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
+#
+#
+# Licensed 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.
+#
+#
 1;
diff --git a/traffic_ops/app/lib/Schema/Result/Tenant.pm b/traffic_ops/app/lib/Schema/Result/Tenant.pm
index 3dadffe4c4..646e2c9186 100644
--- a/traffic_ops/app/lib/Schema/Result/Tenant.pm
+++ b/traffic_ops/app/lib/Schema/Result/Tenant.pm
@@ -183,4 +183,19 @@ __PACKAGE__->has_many(
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7I7o08tTBHjshtXVypmOUw
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
+#
+#
+# Licensed 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.
+#
+#
 1;
diff --git a/traffic_ops/app/lib/Schema/Result/UserRole.pm b/traffic_ops/app/lib/Schema/Result/UserRole.pm
index 38a694e134..d2b1a6cc62 100644
--- a/traffic_ops/app/lib/Schema/Result/UserRole.pm
+++ b/traffic_ops/app/lib/Schema/Result/UserRole.pm
@@ -96,4 +96,19 @@ __PACKAGE__->belongs_to(
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
+#
+#
+# Licensed 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.
+#
+#
 1;


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services