You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2020/02/20 19:56:11 UTC

[lucene-site] branch master updated: LUCENE-9223 License headers (#14)

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-site.git


The following commit(s) were added to refs/heads/master by this push:
     new c084a5b  LUCENE-9223 License headers (#14)
c084a5b is described below

commit c084a5b2303159bbfaa54fb8b459edd4065c1da8
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Thu Feb 20 20:56:04 2020 +0100

    LUCENE-9223 License headers (#14)
    
    * Removing some unnecessary license headers from MD
    * Adding lincense headers to two JS files
---
 content/pages/solr/community.md                      | 16 ----------------
 content/pages/solr/downloads.md                      | 16 ----------------
 content/pages/solr/features.md                       | 16 ----------------
 content/pages/solr/guide.md                          | 16 ----------------
 content/pages/solr/index.md                          | 16 ----------------
 content/pages/solr/logos-and-assets.md               | 16 ----------------
 content/pages/solr/news.md                           | 16 ----------------
 content/pages/solr/quickstart.md                     | 16 ----------------
 content/pages/solr/resources.md                      | 16 ----------------
 content/solr/solr_news/2019-12-29-8-4-0-available.md | 16 ----------------
 content/solr/solr_news/2020-01-13-8-4-1-available.md | 16 ----------------
 themes/lucene/static/javascript/lucene/search.js     | 18 ++++++++++++++++++
 themes/lucene/static/javascript/solr/main.js         | 18 ++++++++++++++++++
 13 files changed, 36 insertions(+), 176 deletions(-)

diff --git a/content/pages/solr/community.md b/content/pages/solr/community.md
index 7a561b3..93501a9 100644
--- a/content/pages/solr/community.md
+++ b/content/pages/solr/community.md
@@ -2,22 +2,6 @@ Title: Community
 URL: solr/community.html
 save_as: solr/community.html
 template: solr/community
-Notice:    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.
 
 ## Apache Software Foundation ##
 
diff --git a/content/pages/solr/downloads.md b/content/pages/solr/downloads.md
index 8401c3d..667e01b 100644
--- a/content/pages/solr/downloads.md
+++ b/content/pages/solr/downloads.md
@@ -2,22 +2,6 @@ Title: Solr Downloads
 URL: solr/downloads.html
 save_as: solr/downloads.html
 template: solr/downloads
-Notice:    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.
 
 Official releases are usually created when the [developers]({filename}/pages/whoweare.md)
 feel there are sufficient changes, improvements and bug fixes to warrant a release.
diff --git a/content/pages/solr/features.md b/content/pages/solr/features.md
index 20e601a..fcd7884 100644
--- a/content/pages/solr/features.md
+++ b/content/pages/solr/features.md
@@ -2,19 +2,3 @@ Title: Features
 URL: solr/features.html
 save_as: solr/features.html
 template: solr/features
-Notice:    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.
diff --git a/content/pages/solr/guide.md b/content/pages/solr/guide.md
index 0de120a..db51c4a 100644
--- a/content/pages/solr/guide.md
+++ b/content/pages/solr/guide.md
@@ -2,22 +2,6 @@ Title: Solr Reference Guide
 URL: solr/guide/index.html
 save_as: solr/guide/index.html
 template: solr/page
-Notice:    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.
 
 # Apache Solr Reference Guide
 
diff --git a/content/pages/solr/index.md b/content/pages/solr/index.md
index 909dc97..5d968f2 100644
--- a/content/pages/solr/index.md
+++ b/content/pages/solr/index.md
@@ -3,19 +3,3 @@ URL: solr/index.html
 save_as: solr/index.html
 template: solr/index
 slug: solr-index
-Notice:    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.
diff --git a/content/pages/solr/logos-and-assets.md b/content/pages/solr/logos-and-assets.md
index 4de3b72..53d5d15 100644
--- a/content/pages/solr/logos-and-assets.md
+++ b/content/pages/solr/logos-and-assets.md
@@ -2,19 +2,3 @@ Title: Logos and Assets
 URL: solr/logos-and-assets.html
 save_as: solr/logos-and-assets.html
 template: solr/logos-and-assets
-Notice:    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.
diff --git a/content/pages/solr/news.md b/content/pages/solr/news.md
index 6f99dca..bbc7c46 100644
--- a/content/pages/solr/news.md
+++ b/content/pages/solr/news.md
@@ -2,19 +2,3 @@ Title: Solr News
 URL: solr/news.html
 save_as: solr/news.html
 template: solr/news
-Notice:    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.
diff --git a/content/pages/solr/quickstart.md b/content/pages/solr/quickstart.md
index 4d4ad4c..098996c 100644
--- a/content/pages/solr/quickstart.md
+++ b/content/pages/solr/quickstart.md
@@ -2,22 +2,6 @@ Title: Quickstart
 URL: solr/guide/solr-tutorial.html
 save_as: solr/guide/solr-tutorial.html
 template: solr/page
-Notice:    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.
 
 <!-- As of 2 Oct 2017, this page now automatically redirects to
         the Solr Reference Guide page solr/guide/solr-tutorial.html -->
diff --git a/content/pages/solr/resources.md b/content/pages/solr/resources.md
index 1eccfe2..99c54e9 100644
--- a/content/pages/solr/resources.md
+++ b/content/pages/solr/resources.md
@@ -2,22 +2,6 @@ Title: Resources
 URL: solr/resources.html
 save_as: solr/resources.html
 template: solr/resources
-Notice:    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.
 
 ## Tutorials ##
 
diff --git a/content/solr/solr_news/2019-12-29-8-4-0-available.md b/content/solr/solr_news/2019-12-29-8-4-0-available.md
index b00fc63..6d4f1ca 100644
--- a/content/solr/solr_news/2019-12-29-8-4-0-available.md
+++ b/content/solr/solr_news/2019-12-29-8-4-0-available.md
@@ -1,22 +1,6 @@
 Title: Apache Solr™ 8.4.0 available
 category: solr/news
 save_as:
-Notice:    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
-           .
-             https://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.
 
 The Lucene PMC is pleased to announce the release of Apache Solr 8.4.0.
 
diff --git a/content/solr/solr_news/2020-01-13-8-4-1-available.md b/content/solr/solr_news/2020-01-13-8-4-1-available.md
index 1061a48..f1cd0cc 100644
--- a/content/solr/solr_news/2020-01-13-8-4-1-available.md
+++ b/content/solr/solr_news/2020-01-13-8-4-1-available.md
@@ -1,22 +1,6 @@
 Title: Apache Solr™ 8.4.1 available
 category: solr/news
 save_as: 
-Notice:    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
-           .
-             https://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.
 
 The Lucene PMC is pleased to announce the release of Apache Solr 8.4.1.
 
diff --git a/themes/lucene/static/javascript/lucene/search.js b/themes/lucene/static/javascript/lucene/search.js
index 58249ad..7cafb80 100755
--- a/themes/lucene/static/javascript/lucene/search.js
+++ b/themes/lucene/static/javascript/lucene/search.js
@@ -1,3 +1,21 @@
+/*
+ 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.
+*/
 function initSearch(){
     var methods = {
         defaultValueActsAsHint: function(element){
diff --git a/themes/lucene/static/javascript/solr/main.js b/themes/lucene/static/javascript/solr/main.js
index 481807d..bd886bc 100644
--- a/themes/lucene/static/javascript/solr/main.js
+++ b/themes/lucene/static/javascript/solr/main.js
@@ -1,3 +1,21 @@
+/*
+ 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.
+*/
 ;(function() {
 
   /*