You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/05/19 05:20:20 UTC

[skywalking-nodejs] branch chore/license-eyes updated (9c3027e -> 1a11aaa)

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

kezhenxu94 pushed a change to branch chore/license-eyes
in repository https://gitbox.apache.org/repos/asf/skywalking-nodejs.git.


 discard 9c3027e  Add license-eye to check license headers
     new 1a11aaa  Add license-eye to check license headers

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (9c3027e)
            \
             N -- N -- N   refs/heads/chore/license-eyes (1a11aaa)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

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.


Summary of changes:
 .editorconfig => .github/workflows/license.yaml | 27 ++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)
 copy .editorconfig => .github/workflows/license.yaml (70%)

[skywalking-nodejs] 01/01: Add license-eye to check license headers

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

kezhenxu94 pushed a commit to branch chore/license-eyes
in repository https://gitbox.apache.org/repos/asf/skywalking-nodejs.git

commit 1a11aaa3d3dd568e603bba7792c8814e685c200a
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed May 19 13:17:22 2021 +0800

    Add license-eye to check license headers
---
 .dockerignore                       | 18 ++++++++++++++++++
 .github/workflows/license.yaml      | 36 ++++++++++++++++++++++++++++++++++++
 .gitignore                          |  2 +-
 .licenserc.yaml                     | 36 ++++++++++++++++++++++++++++++++++++
 tests/plugins/mongodb/init/init.js  | 19 +++++++++++++++++++
 tests/plugins/mongoose/init/init.js | 19 +++++++++++++++++++
 6 files changed, 129 insertions(+), 1 deletion(-)

diff --git a/.dockerignore b/.dockerignore
index 14fd8ec..65010c8 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -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.
+#
 node_modules/
 lib/
 .idea
diff --git a/.github/workflows/license.yaml b/.github/workflows/license.yaml
new file mode 100644
index 0000000..1900d6c
--- /dev/null
+++ b/.github/workflows/license.yaml
@@ -0,0 +1,36 @@
+#
+# 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.
+#
+
+name: License
+
+on:
+  pull_request:
+  push:
+    branches:
+      - master
+
+jobs:
+  License:
+    runs-on: ubuntu-18.04
+    timeout-minutes: 30
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Check License Header
+        uses: apache/skywalking-eyes@main
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
index dcaec07..d6ef811 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
 node_modules
 .idea
-/lib
+lib
 src/proto/
 *.log
 tsconfig.tsbuildinfo
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 0000000..7fe9705
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,36 @@
+#
+# 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.
+#
+header:
+  license:
+    spdx-id: Apache-2.0
+    copyright-owner: Apache Software Foundation
+
+  paths-ignore:
+    - 'dist'
+    - 'licenses'
+    - '**/*.md'
+    - '**/*.json'
+    - 'LICENSE'
+    - 'NOTICE'
+    - '.gitignore'
+    - '.gitmodules'
+    - '.prettierrc'
+    - 'lib'
+
+  comment: on-failure
diff --git a/tests/plugins/mongodb/init/init.js b/tests/plugins/mongodb/init/init.js
index 48ac0d3..e844ac5 100644
--- a/tests/plugins/mongodb/init/init.js
+++ b/tests/plugins/mongodb/init/init.js
@@ -1 +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.
+ *
+ */
 db.createCollection('docs');
diff --git a/tests/plugins/mongoose/init/init.js b/tests/plugins/mongoose/init/init.js
index 48ac0d3..e844ac5 100644
--- a/tests/plugins/mongoose/init/init.js
+++ b/tests/plugins/mongoose/init/init.js
@@ -1 +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.
+ *
+ */
 db.createCollection('docs');