You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by jo...@apache.org on 2021/09/09 19:02:33 UTC

[incubator-age] branch master updated: fix: (drivers) add ASF license on drivers. (#114)

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

joshinnis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a34ba3  fix: (drivers) add ASF license on drivers. (#114)
8a34ba3 is described below

commit 8a34ba3c0886c972553c2ef9264cafcd443b0888
Author: Alex Kwak <ta...@kakao.com>
AuthorDate: Fri Sep 10 04:02:29 2021 +0900

    fix: (drivers) add ASF license on drivers. (#114)
    
    Awesome, thanks for the help
---
 drivers/jdbc/.gitattributes                        | 17 ++++-
 drivers/jdbc/.gitignore                            | 18 +++++
 .../jdbc/gradle/wrapper/gradle-wrapper.properties  | 17 +++++
 drivers/jdbc/settings.gradle.kts                   | 18 +++--
 drivers/nodejs/.eslintrc.js                        | 19 +++++
 drivers/nodejs/.gitignore                          | 19 +++++
 drivers/nodejs/src/antlr4/Agtype.interp            | 57 ---------------
 drivers/nodejs/src/antlr4/Agtype.tokens            | 32 ---------
 drivers/nodejs/src/antlr4/AgtypeLexer.interp       | 81 ----------------------
 drivers/nodejs/src/antlr4/AgtypeLexer.tokens       | 32 ---------
 10 files changed, 102 insertions(+), 208 deletions(-)

diff --git a/drivers/jdbc/.gitattributes b/drivers/jdbc/.gitattributes
index 00a51af..46c9899 100644
--- a/drivers/jdbc/.gitattributes
+++ b/drivers/jdbc/.gitattributes
@@ -1,6 +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
 #
-# https://help.github.com/articles/dealing-with-line-endings/
+#    http://www.apache.org/licenses/LICENSE-2.0
 #
-# These are explicitly windows files and should use crlf
+# 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.
+
 *.bat           text eol=crlf
 
diff --git a/drivers/jdbc/.gitignore b/drivers/jdbc/.gitignore
index d3f3b15..37fc9a2 100644
--- a/drivers/jdbc/.gitignore
+++ b/drivers/jdbc/.gitignore
@@ -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.
+
+
 # Ignore Gradle Wapper
 gradle/wrapper/gradle-wrapper.jar
 
diff --git a/drivers/jdbc/gradle/wrapper/gradle-wrapper.properties b/drivers/jdbc/gradle/wrapper/gradle-wrapper.properties
index f371643..3cd913f 100644
--- a/drivers/jdbc/gradle/wrapper/gradle-wrapper.properties
+++ b/drivers/jdbc/gradle/wrapper/gradle-wrapper.properties
@@ -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.
+
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
diff --git a/drivers/jdbc/settings.gradle.kts b/drivers/jdbc/settings.gradle.kts
index ffcfd16..fd8d493 100644
--- a/drivers/jdbc/settings.gradle.kts
+++ b/drivers/jdbc/settings.gradle.kts
@@ -1,10 +1,20 @@
 /*
- * This file was generated by the Gradle 'init' task.
+ * 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
  *
- * The settings file is used to specify which projects to include in your build.
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
- * Detailed information about configuring a multi-project build in Gradle can be found
- * in the user manual at https://docs.gradle.org/7.0/userguide/multi_project_builds.html
+ * 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.
  */
 
 rootProject.name = "age-jdbc"
diff --git a/drivers/nodejs/.eslintrc.js b/drivers/nodejs/.eslintrc.js
index 2988cae..9ce4c3b 100644
--- a/drivers/nodejs/.eslintrc.js
+++ b/drivers/nodejs/.eslintrc.js
@@ -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.
+ */
+
 module.exports = {
   env: {
     es2021: true,
diff --git a/drivers/nodejs/.gitignore b/drivers/nodejs/.gitignore
index a150556..cb5307b 100644
--- a/drivers/nodejs/.gitignore
+++ b/drivers/nodejs/.gitignore
@@ -1,6 +1,25 @@
+# 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
 /yarn.lock
 /package-lock.json
+src/antlr4/*.tokens
+src/antlr4/*.interp
 
 # it will be create on "prepare" step.
 /dist
diff --git a/drivers/nodejs/src/antlr4/Agtype.interp b/drivers/nodejs/src/antlr4/Agtype.interp
deleted file mode 100644
index c364b57..0000000
--- a/drivers/nodejs/src/antlr4/Agtype.interp
+++ /dev/null
@@ -1,57 +0,0 @@
-token literal names:
-null
-'true'
-'false'
-'null'
-'{'
-','
-'}'
-':'
-'['
-']'
-'::'
-'-'
-'Infinity'
-'NaN'
-null
-null
-null
-null
-null
-null
-
-token symbolic names:
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-IDENT
-STRING
-INTEGER
-RegularFloat
-ExponentFloat
-WS
-
-rule names:
-agType
-agValue
-value
-obj
-pair
-array
-typeAnnotation
-floatLiteral
-
-
-atn:
-[3, 51485, 51898, 1421, 44986, 20307, 1543, 60043, 49729, 3, 21, 82, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 5, 3, 24, 10, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 5, 4, 34, 10, 4, 3, 5, 3, 5, 3, 5, 3, 5, 7, 5, 40, 10, 5, 12, 5, 14, 5, 43, 11, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 49, 10, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 7, 7, 59, 10, 7, 12, 7, 14, 7, 62, 11, 7, 3, 7, 3, 7, 3, 7,  [...]
\ No newline at end of file
diff --git a/drivers/nodejs/src/antlr4/Agtype.tokens b/drivers/nodejs/src/antlr4/Agtype.tokens
deleted file mode 100644
index 193f8c9..0000000
--- a/drivers/nodejs/src/antlr4/Agtype.tokens
+++ /dev/null
@@ -1,32 +0,0 @@
-T__0=1
-T__1=2
-T__2=3
-T__3=4
-T__4=5
-T__5=6
-T__6=7
-T__7=8
-T__8=9
-T__9=10
-T__10=11
-T__11=12
-T__12=13
-IDENT=14
-STRING=15
-INTEGER=16
-RegularFloat=17
-ExponentFloat=18
-WS=19
-'true'=1
-'false'=2
-'null'=3
-'{'=4
-','=5
-'}'=6
-':'=7
-'['=8
-']'=9
-'::'=10
-'-'=11
-'Infinity'=12
-'NaN'=13
diff --git a/drivers/nodejs/src/antlr4/AgtypeLexer.interp b/drivers/nodejs/src/antlr4/AgtypeLexer.interp
deleted file mode 100644
index ae4b0b4..0000000
--- a/drivers/nodejs/src/antlr4/AgtypeLexer.interp
+++ /dev/null
@@ -1,81 +0,0 @@
-token literal names:
-null
-'true'
-'false'
-'null'
-'{'
-','
-'}'
-':'
-'['
-']'
-'::'
-'-'
-'Infinity'
-'NaN'
-null
-null
-null
-null
-null
-null
-
-token symbolic names:
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-null
-IDENT
-STRING
-INTEGER
-RegularFloat
-ExponentFloat
-WS
-
-rule names:
-T__0
-T__1
-T__2
-T__3
-T__4
-T__5
-T__6
-T__7
-T__8
-T__9
-T__10
-T__11
-T__12
-IDENT
-STRING
-ESC
-UNICODE
-HEX
-SAFECODEPOINT
-INTEGER
-INT
-RegularFloat
-ExponentFloat
-DECIMAL
-SCIENTIFIC
-WS
-
-channel names:
-DEFAULT_TOKEN_CHANNEL
-HIDDEN
-
-mode names:
-DEFAULT_MODE
-
-atn:
-[3, 51485, 51898, 1421, 44986, 20307, 1543, 60043, 49729, 2, 21, 185, 8, 1, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, [...]
\ No newline at end of file
diff --git a/drivers/nodejs/src/antlr4/AgtypeLexer.tokens b/drivers/nodejs/src/antlr4/AgtypeLexer.tokens
deleted file mode 100644
index 193f8c9..0000000
--- a/drivers/nodejs/src/antlr4/AgtypeLexer.tokens
+++ /dev/null
@@ -1,32 +0,0 @@
-T__0=1
-T__1=2
-T__2=3
-T__3=4
-T__4=5
-T__5=6
-T__6=7
-T__7=8
-T__8=9
-T__9=10
-T__10=11
-T__11=12
-T__12=13
-IDENT=14
-STRING=15
-INTEGER=16
-RegularFloat=17
-ExponentFloat=18
-WS=19
-'true'=1
-'false'=2
-'null'=3
-'{'=4
-','=5
-'}'=6
-':'=7
-'['=8
-']'=9
-'::'=10
-'-'=11
-'Infinity'=12
-'NaN'=13