You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by er...@apache.org on 2023/02/23 09:24:54 UTC

[iotdb] branch bugfix/header-miss created (now 6b1815b15a)

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

ericpai pushed a change to branch bugfix/header-miss
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 6b1815b15a Fix Apache header and add rat-check in site CI

This branch includes the following new commits:

     new 6b1815b15a Fix Apache header and add rat-check in site CI

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: Fix Apache header and add rat-check in site CI

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ericpai pushed a commit to branch bugfix/header-miss
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 6b1815b15a8a5a78e3a9e7527cf2dab27f972f75
Author: EricPai <er...@EricPaideMacBook-Pro.local>
AuthorDate: Thu Feb 23 17:23:44 2023 +0800

    Fix Apache header and add rat-check in site CI
---
 .github/workflows/site-build.yml                      |  2 ++
 site/src/main/.eslintignore                           | 19 +++++++++++++++++++
 .../src/main/.vuepress/theme/components/RightMenu.vue | 17 +++++++++++++++++
 site/src/main/.vuepress/theme/styles/palette.styl     | 18 ++++++++++++++++++
 4 files changed, 56 insertions(+)

diff --git a/.github/workflows/site-build.yml b/.github/workflows/site-build.yml
index e2527f9f71..ff6f870e40 100644
--- a/.github/workflows/site-build.yml
+++ b/.github/workflows/site-build.yml
@@ -36,6 +36,8 @@ jobs:
           path: ~/.m2
           key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-m2-
+      - name: Check Apache Header
+        run: mvn apache-rat:check
       - name: Test compile website
         run: mvn -P site -P compile-site -P compile-site-1.0 -P compile-site-0.13 -P compile-site-0.12 -P compile-site-0.11 -P compile-site-0.10 -P compile-site-0.9 -P compile-site-0.8 compile -pl site
 
diff --git a/site/src/main/.eslintignore b/site/src/main/.eslintignore
index cb2f7e952c..0afd4c285c 100644
--- a/site/src/main/.eslintignore
+++ b/site/src/main/.eslintignore
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
 /dist
 /node_modules
 /public
diff --git a/site/src/main/.vuepress/theme/components/RightMenu.vue b/site/src/main/.vuepress/theme/components/RightMenu.vue
index 4d99fd4547..fecc3bdacc 100644
--- a/site/src/main/.vuepress/theme/components/RightMenu.vue
+++ b/site/src/main/.vuepress/theme/components/RightMenu.vue
@@ -1,3 +1,20 @@
+/*
+* 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.
+*/
 <template>
   <div class="right-menu-wrapper">
     <div class="right-menu-margin">
diff --git a/site/src/main/.vuepress/theme/styles/palette.styl b/site/src/main/.vuepress/theme/styles/palette.styl
index 1946d9a2d8..304065a1c7 100644
--- a/site/src/main/.vuepress/theme/styles/palette.styl
+++ b/site/src/main/.vuepress/theme/styles/palette.styl
@@ -1 +1,19 @@
+/*
+ * 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.
+ */
 $rightMenuWidth = 230px // 右侧菜单
\ No newline at end of file