[tinkerpop] branch TINKERPOP-2978-3 updated: temporarily disable unit test for reverse

2023-10-18 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch TINKERPOP-2978-3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/TINKERPOP-2978-3 by this push:
 new ad3949c764 temporarily disable unit test for reverse
ad3949c764 is described below

commit ad3949c764db303930a1ba9e6b9d1859a36ff5fc
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Wed Oct 18 00:29:36 2023 -0700

temporarily disable unit test for reverse
---
 .../process/traversal/step/map/ReverseStepTest.java| 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/ReverseStepTest.java
 
b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/ReverseStepTest.java
index f9cd341524..875f0481e2 100644
--- 
a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/ReverseStepTest.java
+++ 
b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/ReverseStepTest.java
@@ -50,13 +50,13 @@ public class ReverseStepTest extends StepTest {
 __.inject("hello world", "test", "no.123", null, 
"").reverse().toList().toArray());
 }
 
-@Test
-public void shouldAcceptPrimitiveArrayTraverser() {
-List result = (List) __.__(new long[] {10L, 7L}).reverse().next();
-assertEquals(7L, result.get(0));
-assertEquals(10L, result.get(1));
-assertEquals(2, result.size());
-}
+//@Test
+//public void shouldAcceptPrimitiveArrayTraverser() {
+//List result = (List) __.__(new long[] {10L, 7L}).reverse().next();
+//assertEquals(7L, result.get(0));
+//assertEquals(10L, result.get(1));
+//assertEquals(2, result.size());
+//}
 
 @Test
 public void shouldAcceptObjectArrayTraverser() {



[tinkerpop] branch add-http-gremlin-python updated (931bdd6168 -> 033453d6af)

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a change to branch add-http-gremlin-python
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


from 931bdd6168 update str translation to use repr()
 add 033453d6af fix python translator & add additional types

No new revisions were added by this update.

Summary of changes:
 .../traversal/translator/GroovyTranslator.java |   2 +-
 .../traversal/translator/GroovyTranslatorTest.java |  15 ++
 .../python/gremlin_python/process/translator.py| 121 -
 .../driver/test_driver_remote_connection_http.py   |  26 +-
 .../main/python/tests/process/test_translator.py   | 276 -
 5 files changed, 305 insertions(+), 135 deletions(-)



[tinkerpop] branch add-http-gremlin-python updated (033453d6af -> 0bf9fec0a5)

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a change to branch add-http-gremlin-python
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


omit 033453d6af fix python translator & add additional types
omit 931bdd6168 update str translation to use repr()
omit ce29c41390 nit remove un-needed comments
 new 0bf9fec0a5 fix python translator & add additional types

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   (033453d6af)
\
 N -- N -- N   refs/heads/add-http-gremlin-python (0bf9fec0a5)

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:
 .../src/main/python/gremlin_python/process/translator.py| 13 -
 1 file changed, 13 deletions(-)



[tinkerpop] 01/01: fix python translator & add additional types

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch add-http-gremlin-python
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 0bf9fec0a5f31699a4535149c61c314ff6dfb910
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Wed Oct 18 00:51:31 2023 -0700

fix python translator & add additional types
---
 .../traversal/translator/GroovyTranslator.java |   2 +-
 .../traversal/translator/GroovyTranslatorTest.java |  15 ++
 .../gremlin_python/driver/aiohttp/transport.py |   3 -
 .../main/python/gremlin_python/driver/client.py|   1 -
 .../python/gremlin_python/process/translator.py| 110 +++-
 .../driver/test_driver_remote_connection_http.py   |  26 +-
 .../main/python/tests/process/test_translator.py   | 276 -
 7 files changed, 293 insertions(+), 140 deletions(-)

diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GroovyTranslator.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GroovyTranslator.java
index 7fea7eb829..d87c841514 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GroovyTranslator.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GroovyTranslator.java
@@ -186,7 +186,7 @@ public final class GroovyTranslator implements 
Translator.ScriptTranslator {
 if (NumberHelper.isPositiveInfinity(o))
 return (o instanceof Double ? "Double" : "Float") + 
".POSITIVE_INFINITY";
 if (NumberHelper.isNegativeInfinity(o))
-return (o instanceof Double ? "Double" : "Float") + 
".POSITIVE_INFINITY";
+return (o instanceof Double ? "Double" : "Float") + 
".NEGATIVE_INFINITY";
 
 return o + (o instanceof Double ? "d" : "f");
 }
diff --git 
a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GroovyTranslatorTest.java
 
b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GroovyTranslatorTest.java
index b9910fbbc8..082c6cf353 100644
--- 
a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GroovyTranslatorTest.java
+++ 
b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GroovyTranslatorTest.java
@@ -212,6 +212,21 @@ public class GroovyTranslatorTest {
 assertTranslation("Scope.local", Scope.local);
 }
 
+@Test
+public void shouldTranslateNaN() {
+assertTranslation("Double.NaN", Double.NaN);
+}
+
+@Test
+public void shouldTranslatePosInf() {
+assertTranslation("Double.POSITIVE_INFINITY", 
Double.POSITIVE_INFINITY);
+}
+
+@Test
+public void shouldTranslateNegInf() {
+assertTranslation("Double.NEGATIVE_INFINITY", 
Double.NEGATIVE_INFINITY);
+}
+
 @Test
 public void shouldIncludeCustomTypeTranslationForSomethingSilly() throws 
Exception {
 final SillyClass notSillyEnough = SillyClass.from("not silly enough", 
100);
diff --git 
a/gremlin-python/src/main/python/gremlin_python/driver/aiohttp/transport.py 
b/gremlin-python/src/main/python/gremlin_python/driver/aiohttp/transport.py
index 4b9ead23cc..c5facb9120 100644
--- a/gremlin-python/src/main/python/gremlin_python/driver/aiohttp/transport.py
+++ b/gremlin-python/src/main/python/gremlin_python/driver/aiohttp/transport.py
@@ -169,9 +169,6 @@ class AiohttpHTTPTransport(AbstractBaseTransport):
 self._ssl_context = self._aiohttp_kwargs.pop("ssl_options")
 self._enable_ssl = True
 
-# if "ssl_options" in self._aiohttp_kwargs:
-# self._aiohttp_kwargs["ssl_context"] = 
self._aiohttp_kwargs.pop("ssl_options")
-
 def __del__(self):
 # Close will only actually close if things are left open, so this is 
safe to call.
 # Clean up any connection resources and close the event loop.
diff --git a/gremlin-python/src/main/python/gremlin_python/driver/client.py 
b/gremlin-python/src/main/python/gremlin_python/driver/client.py
index 6ad9fd5517..74d90a32d0 100644
--- a/gremlin-python/src/main/python/gremlin_python/driver/client.py
+++ b/gremlin-python/src/main/python/gremlin_python/driver/client.py
@@ -59,7 +59,6 @@ class Client:
 transport_kwargs["max_content_length"] = 10 * 1024 * 1024
 if message_serializer is None:
 message_serializer = serializer.GraphBinarySerializersV1()
-# message_serializer = serializer.GraphSONMessageSerializer()
 
 self._message_serializer = message_serializer
 self._username = username
diff --git 
a/gremlin-python/src/main/python/gremlin_python/process/translator.py 
b/gremlin-python/src/main/python/gremlin_python/process/translator.py
index 9f29e44eb3..e3e04d34fa 100755
--- a/gremlin-python/src/m

[tinkerpop] branch add-http-gremlin-python updated (0bf9fec0a5 -> db9bc0e047)

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a change to branch add-http-gremlin-python
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


omit 0bf9fec0a5 fix python translator & add additional types
 add db9bc0e047 fix python translator & add additional types

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   (0bf9fec0a5)
\
 N -- N -- N   refs/heads/add-http-gremlin-python (db9bc0e047)

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.

No new revisions were added by this update.

Summary of changes:
 .../src/main/python/gremlin_python/process/translator.py   | 10 --
 .../python/tests/driver/test_driver_remote_connection_http.py  |  6 +++---
 2 files changed, 3 insertions(+), 13 deletions(-)



Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV [tinkerpop]

2023-10-18 Thread via GitHub


spmallette commented on code in PR #2298:
URL: https://github.com/apache/tinkerpop/pull/2298#discussion_r1363646423


##
gremlin-driver/src/main/java/example/Example.java:
##
@@ -0,0 +1,157 @@
+/*
+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.
+*/
+
+package example;
+
+// Common imports
+import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal;
+import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
+
+import static 
org.apache.tinkerpop.gremlin.process.traversal.AnonymousTraversalSource.traversal;
+import static org.apache.tinkerpop.gremlin.process.traversal.P.*;
+import static org.apache.tinkerpop.gremlin.structure.T.*;
+import static org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.*;
+
+import org.apache.tinkerpop.gremlin.driver.Client;
+import org.apache.tinkerpop.gremlin.driver.Cluster;
+import org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection;
+import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__;
+import org.apache.tinkerpop.gremlin.structure.Edge;
+import org.apache.tinkerpop.gremlin.structure.Graph;
+import org.apache.tinkerpop.gremlin.structure.Vertex;
+import org.apache.tinkerpop.gremlin.structure.io.AbstractIoRegistry;
+import org.apache.tinkerpop.gremlin.structure.io.IoRegistry;
+import org.apache.tinkerpop.gremlin.structure.io.binary.TypeSerializerRegistry;
+import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory;
+import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
+import org.apache.tinkerpop.gremlin.util.MessageSerializer;
+import org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1;
+
+import java.lang.reflect.Array;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+public class Example {
+
+public static void main(String[] args) throws Exception {
+connectionExample();
+basicGremlinExample();
+modernTraversalExample();
+}
+
+public static void connectionExample() throws Exception {

Review Comment:
   i like that this is showing different ways to connect, but is it confusing 
that "g" is just being reassigned over and over again?  `g.close()` only 
releases resources on the last "g" - maybe folks might misuse this example as a 
pattern for creating "g" somehow? maybe not a big deal for an example i guess. 
the C# version only uses one initialization of "g" and comments the other out. 
perhaps this java example should work this way too? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump org.scala-lang:scala-reflect from 2.11.8 to 2.13.12 [tinkerpop]

2023-10-18 Thread via GitHub


spmallette closed pull request #2234: Bump org.scala-lang:scala-reflect from 
2.11.8 to 2.13.12
URL: https://github.com/apache/tinkerpop/pull/2234


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump org.scala-lang:scala-reflect from 2.11.8 to 2.13.12 [tinkerpop]

2023-10-18 Thread via GitHub


spmallette commented on PR #2234:
URL: https://github.com/apache/tinkerpop/pull/2234#issuecomment-1768214710

   given the future of neo4j skipping - 
https://lists.apache.org/thread/lxn4s9fs8rzggm0jlnffnphfpqnpn3h8


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump org.scala-lang:scala-reflect from 2.11.8 to 2.13.12 [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] commented on PR #2234:
URL: https://github.com/apache/tinkerpop/pull/2234#issuecomment-1768214789

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. If you'd rather skip all updates until the next 
major or minor version, let me know by commenting `@dependabot ignore this 
major version` or `@dependabot ignore this minor version`. You can also ignore 
all major, minor, or patch releases for a dependency by adding an [`ignore` 
condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore)
 with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch dependabot/maven/3.5-dev/org.scala-lang-scala-reflect-2.13.12 deleted (was 88f949c4fa)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/3.5-dev/org.scala-lang-scala-reflect-2.13.12
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was 88f949c4fa Bump org.scala-lang:scala-reflect from 2.11.8 to 2.13.12

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV [tinkerpop]

2023-10-18 Thread via GitHub


FlorianHockmann commented on code in PR #2298:
URL: https://github.com/apache/tinkerpop/pull/2298#discussion_r1363815625


##
gremlin-dotnet/example/Example.cs:
##
@@ -0,0 +1,133 @@
+/*
+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.
+*/
+
+using Gremlin;
+using Gremlin.Net.Driver;
+using Gremlin.Net.Driver.Remote;
+using Gremlin.Net.Structure.IO.GraphSON;
+using Gremlin.Net.Process.Traversal;
+
+// Common imports
+using static Gremlin.Net.Process.Traversal.AnonymousTraversalSource;
+using static Gremlin.Net.Process.Traversal.__;
+using static Gremlin.Net.Process.Traversal.P;
+using static Gremlin.Net.Process.Traversal.Order;
+using static Gremlin.Net.Process.Traversal.Operator;
+using static Gremlin.Net.Process.Traversal.Pop;
+using static Gremlin.Net.Process.Traversal.Scope;
+using static Gremlin.Net.Process.Traversal.TextP;
+using static Gremlin.Net.Process.Traversal.Column;
+using static Gremlin.Net.Process.Traversal.Direction;
+using static Gremlin.Net.Process.Traversal.Cardinality;
+using static Gremlin.Net.Process.Traversal.CardinalityValue;
+using static Gremlin.Net.Process.Traversal.T;
+
+
+ConnectionExample();
+BasicGremlinExample();
+ModernTraversalExample();
+
+static void ConnectionExample()
+{
+var server = new GremlinServer("localhost", 8182);
+
+// Connecting to the server
+// using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+
+// Connecting to the server with customized configurations
+using var remoteConnection = new DriverRemoteConnection(new GremlinClient(
+new GremlinServer(hostname:"localhost", port:8182, enableSsl:false, 
username:"", password:"")), "g");
+
+// Specifying a serializer
+var client = new GremlinClient(server, new GraphSON3MessageSerializer());
+
+// Creating the graph traversal
+var g = Traversal().WithRemote(remoteConnection);
+}
+
+static void BasicGremlinExample()
+{
+var server = new GremlinServer("localhost", 8182);
+using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+var g = Traversal().WithRemote(remoteConnection);
+
+// Basic Gremlin: adding and retrieving data
+var v1 = g.AddV("person").Property("name", "marko").Next();
+var v2 = g.AddV("person").Property("name", "stephen").Next();
+var v3 = g.AddV("person").Property("name", "vadas").Next();
+
+// Be sure to use a terminating step like next() or iterate() so that the 
traversal "executes"
+// Iterate() does not return any data and is used to just generate 
side-effects (i.e. write data to the database)
+g.V(v1).AddE("knows").To(v2).Property("weight", 0.75).Iterate();
+g.V(v1).AddE("knows").To(v3).Property("weight", 0.75).Iterate();
+
+// Retrieve the data from the "marko" vertex
+var marko = 
g.V().Has("person","name","marko").Values("name").Next();
+Console.WriteLine("name: " + marko);
+
+// Find the "marko" vertex and then traverse to the people he "knows" and 
return their data
+var peopleMarkoKnows = 
g.V().Has("person","name","marko").Out("knows").Values("name").ToList();
+foreach (var person in peopleMarkoKnows)
+{
+Console.WriteLine("marko knows " + person);
+}
+}
+
+static void ModernTraversalExample()
+{
+var server = new GremlinServer("localhost", 8182);
+using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+var g = Traversal().WithRemote(remoteConnection);
+
+/*
+This example requires the Modern toy graph to be preloaded upon launching 
the Gremlin server.
+For details, see 
https://tinkerpop.apache.org/docs/current/reference/#gremlin-server-docker-image
 and use
+conf/gremlin-server-modern.yaml.
+*/
+var e1 = g.V(1).BothE().ToList(); // (1)
+var e2 = g.V(1).BothE().Where(OtherV().HasId(2)).ToList(); // (2)
+var v1 = g.V(1).Next();
+var v2 = g.V(2).Next();
+var e3 = g.V(v1).BothE().Where(OtherV().Is(v2)).ToList(); // (3)
+var e4 = g.V(v1).OutE().Where(InV().Is(v2)).ToList(); // (4)
+var e5 = g.V(1).OutE().Where(InV().Has(T.Id, Within(2, 3))).ToList(); // 
(5)

Review Comment:
   (nitpick) Any reason why this can't be `HasId(Within(2, 3))` instead?



##
gremlin-d

Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV 3.6 [tinkerpop]

2023-10-18 Thread via GitHub


FlorianHockmann commented on code in PR #2299:
URL: https://github.com/apache/tinkerpop/pull/2299#discussion_r1363830656


##
gremlin-dotnet/example/example.csproj:
##
@@ -0,0 +1,14 @@
+
+
+  
+Exe
+net7.0
+enable
+enable
+  
+
+  
+

Review Comment:
   Shouldn't this be a `3.6.x` version? But then I'm not sure how to get this 
up to date. If we let Dependabot handle it, then it will always use the latest 
version, irrespective of the branch.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump xunit from 2.4.2 to 2.5.3 in /gremlin-dotnet [tinkerpop]

2023-10-18 Thread via GitHub


FlorianHockmann merged PR #2294:
URL: https://github.com/apache/tinkerpop/pull/2294


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch 3.5-dev updated (8688ef61c0 -> 873a47dcad)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


from 8688ef61c0 Bump @types/node from 20.5.0 to 20.8.6 in /gremlint (#2290)
 add 501337ae8a Bump xunit from 2.4.2 to 2.5.3 in /gremlin-dotnet
 add b10347762c Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit-2.5.3' into 3.5-dev
 add 1e51ac8665 Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in 
/gremlin-dotnet
 add 873a47dcad Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3' into 
3.5-dev

No new revisions were added by this update.

Summary of changes:
 .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj| 4 ++--
 .../Gremlin.Net.Template.IntegrationTest.csproj   | 4 ++--
 gremlin-dotnet/test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)



[tinkerpop] 01/01: Merge branch '3.6-dev'

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 78075f37a5b38e8a120186cd0f0c7b71680b44f2
Merge: 3fd6e78662 3a5dedb3f5
Author: Florian Hockmann 
AuthorDate: Wed Oct 18 15:02:54 2023 +0200

Merge branch '3.6-dev'

 .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj| 4 ++--
 .../Gremlin.Net.Template.IntegrationTest.csproj   | 4 ++--
 gremlin-dotnet/test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --cc 
gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj
index 3a6e7fd422,6f008a8927..d79690df90
--- 
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj
+++ 
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj
@@@ -19,11 -15,10 +19,11 @@@
  
  
  
- 
- 
+ 
+ 
  
  
 +


  



Re: [PR] Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in /gremlin-dotnet [tinkerpop]

2023-10-18 Thread via GitHub


FlorianHockmann merged PR #2288:
URL: https://github.com/apache/tinkerpop/pull/2288


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch 3.6-dev updated (9c1002054c -> 3a5dedb3f5)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch 3.6-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


from 9c1002054c Merge branch '3.5-dev' into 3.6-dev
 add 501337ae8a Bump xunit from 2.4.2 to 2.5.3 in /gremlin-dotnet
 add b10347762c Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit-2.5.3' into 3.5-dev
 add 1e51ac8665 Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in 
/gremlin-dotnet
 add 873a47dcad Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3' into 
3.5-dev
 add 3a5dedb3f5 Merge branch '3.5-dev' into 3.6-dev

No new revisions were added by this update.

Summary of changes:
 .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj| 4 ++--
 .../Gremlin.Net.Template.IntegrationTest.csproj   | 4 ++--
 gremlin-dotnet/test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)



[tinkerpop] branch dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3 deleted (was 1e51ac8665)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch 
dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was 1e51ac8665 Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in 
/gremlin-dotnet

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



[tinkerpop] branch dependabot/nuget/gremlin-dotnet/3.5-dev/xunit-2.5.3 deleted (was 501337ae8a)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch 
dependabot/nuget/gremlin-dotnet/3.5-dev/xunit-2.5.3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was 501337ae8a Bump xunit from 2.4.2 to 2.5.3 in /gremlin-dotnet

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



[tinkerpop] branch master updated (3fd6e78662 -> 78075f37a5)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


from 3fd6e78662 Upgrade docs/gremlint node to 18 and npm audit fix (#2295)
 add 501337ae8a Bump xunit from 2.4.2 to 2.5.3 in /gremlin-dotnet
 add b10347762c Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit-2.5.3' into 3.5-dev
 add 1e51ac8665 Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in 
/gremlin-dotnet
 add 873a47dcad Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3' into 
3.5-dev
 add 3a5dedb3f5 Merge branch '3.5-dev' into 3.6-dev
 new 78075f37a5 Merge branch '3.6-dev'

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:
 .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj| 4 ++--
 .../Gremlin.Net.Template.IntegrationTest.csproj   | 4 ++--
 gremlin-dotnet/test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)



[tinkerpop] branch 3.6-dev updated (3a5dedb3f5 -> 76b4cfab3b)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch 3.6-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


from 3a5dedb3f5 Merge branch '3.5-dev' into 3.6-dev
 add 96ac0ac81a Bump gherkin from 26.0.3 to 27.0.0 in /gremlin-dotnet
 add eb1962db2a Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/gherkin-27.0.0' into 3.5-dev
 add d0a19dbc9c Bump BenchmarkDotNet from 0.13.8 to 0.13.9 in 
/gremlin-dotnet
 add 733bec970b Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/BenchmarkDotNet-0.13.9' into 3.5-dev
 add 76b4cfab3b Merge branch '3.5-dev' into 3.6-dev

No new revisions were added by this update.

Summary of changes:
 .../test/Gremlin.Net.Benchmarks/Gremlin.Net.Benchmarks.csproj   | 2 +-
 .../test/Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



[tinkerpop] 01/01: Merge branch '3.6-dev'

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 1222c257b6861b4d535ee8c8090832618efee3ea
Merge: 78075f37a5 76b4cfab3b
Author: Florian Hockmann 
AuthorDate: Wed Oct 18 15:41:11 2023 +0200

Merge branch '3.6-dev'

 .../test/Gremlin.Net.Benchmarks/Gremlin.Net.Benchmarks.csproj   | 2 +-
 .../test/Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)




[tinkerpop] branch master updated (78075f37a5 -> 1222c257b6)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


from 78075f37a5 Merge branch '3.6-dev'
 add 96ac0ac81a Bump gherkin from 26.0.3 to 27.0.0 in /gremlin-dotnet
 add eb1962db2a Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/gherkin-27.0.0' into 3.5-dev
 add d0a19dbc9c Bump BenchmarkDotNet from 0.13.8 to 0.13.9 in 
/gremlin-dotnet
 add 733bec970b Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/BenchmarkDotNet-0.13.9' into 3.5-dev
 add 76b4cfab3b Merge branch '3.5-dev' into 3.6-dev
 new 1222c257b6 Merge branch '3.6-dev'

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:
 .../test/Gremlin.Net.Benchmarks/Gremlin.Net.Benchmarks.csproj   | 2 +-
 .../test/Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



[tinkerpop] branch dependabot/nuget/gremlin-dotnet/3.5-dev/gherkin-27.0.0 deleted (was 96ac0ac81a)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch 
dependabot/nuget/gremlin-dotnet/3.5-dev/gherkin-27.0.0
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was 96ac0ac81a Bump gherkin from 26.0.3 to 27.0.0 in /gremlin-dotnet

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



[tinkerpop] branch 3.5-dev updated (873a47dcad -> 733bec970b)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


from 873a47dcad Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3' into 
3.5-dev
 add 96ac0ac81a Bump gherkin from 26.0.3 to 27.0.0 in /gremlin-dotnet
 add eb1962db2a Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/gherkin-27.0.0' into 3.5-dev
 add d0a19dbc9c Bump BenchmarkDotNet from 0.13.8 to 0.13.9 in 
/gremlin-dotnet
 add 733bec970b Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/BenchmarkDotNet-0.13.9' into 3.5-dev

No new revisions were added by this update.

Summary of changes:
 .../test/Gremlin.Net.Benchmarks/Gremlin.Net.Benchmarks.csproj   | 2 +-
 .../test/Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



[tinkerpop] branch dependabot/nuget/gremlin-dotnet/3.5-dev/BenchmarkDotNet-0.13.9 deleted (was d0a19dbc9c)

2023-10-18 Thread florianhockmann
This is an automated email from the ASF dual-hosted git repository.

florianhockmann pushed a change to branch 
dependabot/nuget/gremlin-dotnet/3.5-dev/BenchmarkDotNet-0.13.9
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was d0a19dbc9c Bump BenchmarkDotNet from 0.13.8 to 0.13.9 in 
/gremlin-dotnet

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



Re: [PR] Bump BenchmarkDotNet from 0.13.8 to 0.13.9 in /gremlin-dotnet [tinkerpop]

2023-10-18 Thread via GitHub


FlorianHockmann merged PR #2273:
URL: https://github.com/apache/tinkerpop/pull/2273


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump gherkin from 26.0.3 to 27.0.0 in /gremlin-dotnet [tinkerpop]

2023-10-18 Thread via GitHub


FlorianHockmann merged PR #2243:
URL: https://github.com/apache/tinkerpop/pull/2243


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch dependabot/maven/3.5-dev/io.fabric8-docker-maven-plugin-0.43.4 created (now 236023f9a8)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/3.5-dev/io.fabric8-docker-maven-plugin-0.43.4
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


  at 236023f9a8 Bump io.fabric8:docker-maven-plugin from 0.42.0 to 0.43.4

No new revisions were added by this update.



[PR] Bump io.fabric8:docker-maven-plugin from 0.42.0 to 0.43.4 [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] opened a new pull request, #2300:
URL: https://github.com/apache/tinkerpop/pull/2300

   Bumps 
[io.fabric8:docker-maven-plugin](https://github.com/fabric8io/docker-maven-plugin)
 from 0.42.0 to 0.43.4.
   
   Release notes
   Sourced from https://github.com/fabric8io/docker-maven-plugin/releases";>io.fabric8:docker-maven-plugin's
 releases.
   
   0.43.4 (2023-08-18)
   
   Always pass --config option for latest versions of Docker 
CLI (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1701";>1701)
   
   0.43.3 (2023-08-13)
   
   Only add --config to buildx command string when 
authentication credentials are coming from outside sources
   Remove hardcoded --node value while creating buildx 
builder
   
   0.43.2 (2023-07-29)
   
   Make --config from buildx command string generation 
optional (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1673";>1673)
 https://github.com/robfrank";>@​robfrank
   
   0.43.1 (2023-07-28)
   
   Resolve registry auth URL by registry ID (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1688";>1688)
 https://github.com/wajda";>@​wajda
   Allow 'host-gateway' as non-resolvable hostname in extraHosts (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1527";>1527)
 https://github.com/azaaiman";>@​azaaiman
   Bump guava from 31.1-jre to 32.0.1-jre (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1686";>1686)
 https://github.com/dependabot";>@​dependabot
   Bump jib-core from 0.23.0 to 0.24.0 (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1686";>1686)
 https://github.com/rohanKanojia";>@​rohanKanojia
   Fix unauthorized error with buildx needing multiple credentials (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1583";>1583)
 https://github.com/eocantu";>@​eocantu
   Add logger to HTTP ping checker (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1689";>1689)
 https://github.com/ryanrishi";>@​ryanrishi
   
   0.43.0 (2023-05-20)
   
   Make buildx build single non-native platform if requested (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1665";>1665)
 https://github.com/martyvona";>@​martyvona
   Support for buildx option to disable attestations (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1661";>1661)
 https://github.com/chonton";>@​chonton
   
   0.42.1 (2023-04-06)
   
   Update Jnr Jffi dependency to v1.3.11 (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1660";>1660)
 https://github.com/rohanKanojia";>@​rohanKanojia
   Update run platform documentation (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1652";>1652)
 https://github.com/chonton";>@​chonton
   buildx should split platforms by comma as documented (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1651";>1651)
 https://github.com/chonton";>@​chonton
   
   
   
   
   Changelog
   Sourced from https://github.com/fabric8io/docker-maven-plugin/blob/master/doc/changelog.md";>io.fabric8:docker-maven-plugin's
 changelog.
   
   ChangeLog
   
   
   0.44-SNAPSHOT:
   
   
   0.43.4 (2023-08-18):
   
   Always pass --config option for latest versions of Docker 
CLI (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1701";>1701)
   
   
   
   0.43.3 (2023-08-13):
   
   Only add --config to buildx command string when 
authentication credentials are coming from outside sources
   Remove hardcoded --node value while creating buildx 
builder
   
   
   
   0.43.2 (2023-07-29):
   
   Make --config from buildx command string generation 
optional (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1673";>1673)
 https://github.com/robfrank";>@​robfrank
   
   
   
   0.43.1 (2023-07-28):
   
   Resolve registry auth URL by registry ID (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1688";>1688)
 https://github.com/wajda";>@​wajda
   Allow 'host-gateway' as non-resolvable hostname in extraHosts (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1527";>1527)
 https://github.com/azaaiman";>@​azaaiman
   Bump guava from 31.1-jre to 32.0.1-jre (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1686";>1686)
 https://github.com/dependabot";>@​dependabot
   Bump jib-core from 0.23.0 to 0.24.0 (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1686";>1686)
 https://github.com/rohanKanojia";>@​rohanKanojia
   Fix unauthorized error with buildx needing multiple credentials (https://redirect.github.com/fabric8io/docker-maven-plugin/issues/1583";>1583)
 https://github.com/eocantu";>@​eocantu
   Add logger to HTTP ping checker (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1689";>1689)
 https://github.com/ryanrishi";>@​ryanrishi
   
   
   
   0.43.0 (2023-05-20):
   
   Make buildx build single non-native platform if requested (https://redirect.github.com/fabric8io/docker-maven-plugin/pull/1665";>1665)
 https://

Re: [PR] Bump @types/node from 20.5.0 to 20.8.6 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] closed pull request #2292: Bump @types/node from 20.5.0 to 
20.8.6 in /docs/gremlint
URL: https://github.com/apache/tinkerpop/pull/2292


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @types/node from 20.5.0 to 20.8.6 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] commented on PR #2292:
URL: https://github.com/apache/tinkerpop/pull/2292#issuecomment-1768596775

   Superseded by #2301.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch dependabot/npm_and_yarn/docs/gremlint/master/types/node-20.8.6 deleted (was 9bcb8bd4c3)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/npm_and_yarn/docs/gremlint/master/types/node-20.8.6
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was 9bcb8bd4c3 Bump @types/node from 20.5.0 to 20.8.6 in /docs/gremlint

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



[PR] Bump @types/node from 20.5.0 to 20.8.7 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] opened a new pull request, #2301:
URL: https://github.com/apache/tinkerpop/pull/2301

   Bumps 
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
 from 20.5.0 to 20.8.7.
   
   Commits
   
   See full diff in https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node";>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=20.5.0&new-version=20.8.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch dependabot/npm_and_yarn/docs/gremlint/master/types/node-20.8.7 created (now e7993365a9)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/npm_and_yarn/docs/gremlint/master/types/node-20.8.7
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


  at e7993365a9 Bump @types/node from 20.5.0 to 20.8.7 in /docs/gremlint

No new revisions were added by this update.



Re: [PR] Upgrade node to 18 in docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


FlorianHockmann commented on PR #2295:
URL: https://github.com/apache/tinkerpop/pull/2295#issuecomment-1768610421

   The smoke test is currently failing on `master` and the error message sounds 
to me like it could be related to this PR:
   ```
   Error:  The archive file 
/home/runner/.m2/repository/com/github/eirslett/node/18.17.0/node-18.17.0-linux-x64.tar.gz
 is corrupted and will be deleted. Please try the build again.
   ```
   
   although the check seems to have passed for the commit from this PR. Any 
idea what could be the problem here?
   
   All other commits after this PR was merged are just Dependabot .NET updates 
so I don't think that they could have caused this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @types/node from 20.5.0 to 20.8.7 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


codecov-commenter commented on PR #2301:
URL: https://github.com/apache/tinkerpop/pull/2301#issuecomment-1768663958

   ## 
[Codecov](https://app.codecov.io/gh/apache/tinkerpop/pull/2301?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   > Merging 
[#2301](https://app.codecov.io/gh/apache/tinkerpop/pull/2301?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 (e799336) into 
[master](https://app.codecov.io/gh/apache/tinkerpop/commit/3fd6e786626e38847dcb2cc3f0f1edc264c27e99?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 (3fd6e78) will **not change** coverage.
   > Report is 12 commits behind head on master.
   > The diff coverage is `n/a`.
   
   ```diff
   @@Coverage Diff@@
   ## master#2301   +/-   ##
   =
 Coverage 76.12%   76.12%   
   + Complexity1274212739-3 
   =
 Files  1037 1037   
 Lines 6050860508   
 Branches   7117 7117   
   =
 Hits  4606046060   
   + Misses1199711992-5 
   - Partials   2451 2456+5 
   ```
   
   
   [see 7 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/tinkerpop/pull/2301/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: We’re building smart automated test selection to slash your CI/CD 
build times. [Learn 
more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Fix Java driver HTTP connection request not encoding all args [tinkerpop]

2023-10-18 Thread via GitHub


vkagamlyk commented on PR #2284:
URL: https://github.com/apache/tinkerpop/pull/2284#issuecomment-1768905341

   VOTE +1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] TINKERPOP-2811 Fixed bug with hasId() order for ElementIdStrategy [tinkerpop]

2023-10-18 Thread via GitHub


vkagamlyk commented on PR #2293:
URL: https://github.com/apache/tinkerpop/pull/2293#issuecomment-1768916321

   VOTE+1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Change substring() to use `startIndex, endIndex` instead of `startIndex, length` [tinkerpop]

2023-10-18 Thread via GitHub


vkagamlyk commented on PR #2296:
URL: https://github.com/apache/tinkerpop/pull/2296#issuecomment-1768931024

   VOTE +1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Upgrade node to 18 in docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


Cole-Greer commented on PR #2295:
URL: https://github.com/apache/tinkerpop/pull/2295#issuecomment-1768952207

   I don't think this PR was the cause of this error. It's a random failure 
I've seen before although the frequency has grown to an alarming level. I just 
pulled this error out of a failed run on 3.6-dev from a few hours ago:
   ```
   [INFO] Unpacking 
/home/runner/.m2/repository/com/github/eirslett/node/16.20.0/node-16.20.0-linux-x64.tar.gz
 into 
/home/runner/work/tinkerpop/tinkerpop/gremlin-javascript/src/main/javascript/gremlin-javascript/node/tmp
   Error:  The archive file 
/home/runner/.m2/repository/com/github/eirslett/node/16.20.0/node-16.20.0-linux-x64.tar.gz
 is corrupted and will be deleted. Please try the build again.
   ```
   This PR is just updating the node version for docs/gremlint, which as far as 
I know is not tested in our CI at the moment. It appears that this error is 
originating from gremlin-javascript. I think more investigation is needed here 
to find out how to prevent the node download from corrupting so frequently.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


ryn5 commented on PR #2249:
URL: https://github.com/apache/tinkerpop/pull/2249#issuecomment-1769004260

   Seems to be failing on unrelated tests.  Local build runs fine, so a rerun 
of tests should pass. @dependabot recreate


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] commented on PR #2249:
URL: https://github.com/apache/tinkerpop/pull/2249#issuecomment-1769004298

   Sorry, only users with push access can use that command.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


Cole-Greer commented on PR #2249:
URL: https://github.com/apache/tinkerpop/pull/2249#issuecomment-1769137614

   @dependabot rebase


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch dependabot/npm_and_yarn/docs/gremlint/master/testing-library/user-event-14.5.1 updated (fd04cea97f -> 2baa7e1495)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/npm_and_yarn/docs/gremlint/master/testing-library/user-event-14.5.1
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


omit fd04cea97f Bump @testing-library/user-event from 14.4.3 to 14.5.1 in 
/docs/gremlint
 add a0cf823bf6 Implement asString(), length(), toLower(), and toUpper() 
String Functions (#2205)
 add e1fb289eaa add trim(), lTrim(), rTrim(), and reverse() string 
functions (#2227)
 add 88a75a795c add replace(), split(), and substring() string functions 
(#2232)
 add d9bc32714b Added back method to TinkerHelper that were removed for 
3.7.0
 add e444e771cf Checked graph features for metaproperties before writing 
them with graphbinary CTR
 add 8da7169ebf [TINKERPOP-2978] Date functions (#2223)
 add 45c8d78a98 Fix JS Direction import (#2259)
 add 5933fbd53e Merge branch '3.5-dev' into 3.6-dev
 add d32ed8512a Merge branch '3.6-dev'
 add af47e8d6e6 TINKERPOP-2978 Implement all() and any() steps.
 add 2bcdb66fda Merge pull request #2228
 add a489e7b034 CTR remove doc update to wrong branch
 add cf21f5df1b Merge branch '3.5-dev' into 3.6-dev
 add 9c0f89b740 CTR fix js import reference doc
 add e9d26f7c38 Merge branch '3.6-dev'
 add 38d8f2e130 TINKERPOP-2994 Fixed mergeV/E usage with PartitionStrategy
 add 69a3253a56 Merge branch 'TINKERPOP-2994' into 3.6-dev
 add 3c779ac02a Merge branch '3.6-dev'
 add 896e75eb94 Regenerated test code after previous merge CTR
 add ca5b9c85a3 js: DriverRemoteConnection: allow custom agent (#2240)
 add 4173f4250b [TINKERPOP-2972] ProjectStep does not allow keys specified 
in a query to be duplicate (#2217)
 add fe70dfb0d7 Merge branch '3.6-dev'
 add 974b4505d2 CTR make translator tests for SubgraphStrategy ignore 
parameter order
 add 70b7b0d8be Merge branch '3.6-dev'
 add 2a623272e9 Bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 in 
/gremlin-dotnet
 add ea0bbed85a Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.1' into 
3.5-dev
 add 5c8ec9150d Merge branch '3.5-dev' into 3.6-dev
 add 1e3c881d9f Merge branch '3.6-dev'
 add 652e4eda91 CTR Fix Python User Agent Test
 add 89934d20da TINKERPOP-2724 Enabled some more gherkin tests around Path
 add b110ffe88e Merge branch '3.6-dev'
 add 7be80b3082 TINKERPOP-3000 Fixed bug in union() start
 add 097b32e917 TINKERPOP-3001 Fixed config setting when reading driver 
settings from InputStream
 add 32cbbae6bc Merge branch '3.6-dev'
 add 73efcb32b5 Update CHANGELOG CTR
 add 02eec919c3 Updated CHANGELOG CTR
 add dadb90e5dd Added PuppyGraph logo
 add f624e37394 Added PuppyGraph CTR
 add 4230c97f83 Add support for testing sets in results for feature tests. 
(#2279)
 add 32ec7f97c0 Merge branch '3.6-dev'
 add 83f7f76d13 Change typescript support to the more recent 
DefinitelyTyped CTR
 add 700b7e7784 Added post-release step for release manager to consider 
typescript CTR
 add aa42d746b2 Bump github.com/cucumber/godog from 0.12.6 to 0.13.0 in 
/gremlin-go (#2214)
 add 06bb17d23b Bump golang.org/x/text from 0.12.0 to 0.13.0 in /gremlin-go 
(#2230)
 add 8688ef61c0 Bump @types/node from 20.5.0 to 20.8.6 in /gremlint (#2290)
 add 9c1002054c Merge branch '3.5-dev' into 3.6-dev
 add c5488fa19a Merge branch '3.6-dev'
 add 3fd6e78662 Upgrade docs/gremlint node to 18 and npm audit fix (#2295)
 add 501337ae8a Bump xunit from 2.4.2 to 2.5.3 in /gremlin-dotnet
 add b10347762c Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit-2.5.3' into 3.5-dev
 add 1e51ac8665 Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in 
/gremlin-dotnet
 add 873a47dcad Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3' into 
3.5-dev
 add 3a5dedb3f5 Merge branch '3.5-dev' into 3.6-dev
 add 78075f37a5 Merge branch '3.6-dev'
 add 96ac0ac81a Bump gherkin from 26.0.3 to 27.0.0 in /gremlin-dotnet
 add eb1962db2a Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/gherkin-27.0.0' into 3.5-dev
 add d0a19dbc9c Bump BenchmarkDotNet from 0.13.8 to 0.13.9 in 
/gremlin-dotnet
 add 733bec970b Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/BenchmarkDotNet-0.13.9' into 3.5-dev
 add 76b4cfab3b Merge branch '3.5-dev' into 3.6-dev
 add 1222c257b6 Merge branch '3.6-dev'
 add 2baa7e1495 Bump @testing-library/user-event from 14.4.3 to 14.5.1 in 
/docs/gremlint

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   (fd04cea97f)
\
 N -- N -- N   
r

Re: [PR] [TINKERPOP-2979] added datetime() [tinkerpop]

2023-10-18 Thread via GitHub


Cole-Greer commented on PR #2289:
URL: https://github.com/apache/tinkerpop/pull/2289#issuecomment-1769140871

   LGTM, VOTE +1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Change substring() to use `startIndex, endIndex` instead of `startIndex, length` [tinkerpop]

2023-10-18 Thread via GitHub


Cole-Greer commented on PR #2296:
URL: https://github.com/apache/tinkerpop/pull/2296#issuecomment-1769145784

   LGTM, VOTE +1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV [tinkerpop]

2023-10-18 Thread via GitHub


ryn5 commented on code in PR #2298:
URL: https://github.com/apache/tinkerpop/pull/2298#discussion_r1364398315


##
gremlin-dotnet/example/Example.cs:
##
@@ -0,0 +1,133 @@
+/*
+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.
+*/
+
+using Gremlin;
+using Gremlin.Net.Driver;
+using Gremlin.Net.Driver.Remote;
+using Gremlin.Net.Structure.IO.GraphSON;
+using Gremlin.Net.Process.Traversal;
+
+// Common imports
+using static Gremlin.Net.Process.Traversal.AnonymousTraversalSource;
+using static Gremlin.Net.Process.Traversal.__;
+using static Gremlin.Net.Process.Traversal.P;
+using static Gremlin.Net.Process.Traversal.Order;
+using static Gremlin.Net.Process.Traversal.Operator;
+using static Gremlin.Net.Process.Traversal.Pop;
+using static Gremlin.Net.Process.Traversal.Scope;
+using static Gremlin.Net.Process.Traversal.TextP;
+using static Gremlin.Net.Process.Traversal.Column;
+using static Gremlin.Net.Process.Traversal.Direction;
+using static Gremlin.Net.Process.Traversal.Cardinality;
+using static Gremlin.Net.Process.Traversal.CardinalityValue;
+using static Gremlin.Net.Process.Traversal.T;
+
+
+ConnectionExample();
+BasicGremlinExample();
+ModernTraversalExample();
+
+static void ConnectionExample()
+{
+var server = new GremlinServer("localhost", 8182);
+
+// Connecting to the server
+// using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+
+// Connecting to the server with customized configurations
+using var remoteConnection = new DriverRemoteConnection(new GremlinClient(
+new GremlinServer(hostname:"localhost", port:8182, enableSsl:false, 
username:"", password:"")), "g");
+
+// Specifying a serializer
+var client = new GremlinClient(server, new GraphSON3MessageSerializer());
+
+// Creating the graph traversal
+var g = Traversal().WithRemote(remoteConnection);
+}
+
+static void BasicGremlinExample()
+{
+var server = new GremlinServer("localhost", 8182);
+using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+var g = Traversal().WithRemote(remoteConnection);
+
+// Basic Gremlin: adding and retrieving data
+var v1 = g.AddV("person").Property("name", "marko").Next();
+var v2 = g.AddV("person").Property("name", "stephen").Next();
+var v3 = g.AddV("person").Property("name", "vadas").Next();
+
+// Be sure to use a terminating step like next() or iterate() so that the 
traversal "executes"
+// Iterate() does not return any data and is used to just generate 
side-effects (i.e. write data to the database)
+g.V(v1).AddE("knows").To(v2).Property("weight", 0.75).Iterate();
+g.V(v1).AddE("knows").To(v3).Property("weight", 0.75).Iterate();
+
+// Retrieve the data from the "marko" vertex
+var marko = 
g.V().Has("person","name","marko").Values("name").Next();
+Console.WriteLine("name: " + marko);
+
+// Find the "marko" vertex and then traverse to the people he "knows" and 
return their data
+var peopleMarkoKnows = 
g.V().Has("person","name","marko").Out("knows").Values("name").ToList();
+foreach (var person in peopleMarkoKnows)
+{
+Console.WriteLine("marko knows " + person);
+}
+}
+
+static void ModernTraversalExample()
+{
+var server = new GremlinServer("localhost", 8182);
+using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+var g = Traversal().WithRemote(remoteConnection);
+
+/*
+This example requires the Modern toy graph to be preloaded upon launching 
the Gremlin server.
+For details, see 
https://tinkerpop.apache.org/docs/current/reference/#gremlin-server-docker-image
 and use
+conf/gremlin-server-modern.yaml.
+*/
+var e1 = g.V(1).BothE().ToList(); // (1)
+var e2 = g.V(1).BothE().Where(OtherV().HasId(2)).ToList(); // (2)
+var v1 = g.V(1).Next();
+var v2 = g.V(2).Next();
+var e3 = g.V(v1).BothE().Where(OtherV().Is(v2)).ToList(); // (3)
+var e4 = g.V(v1).OutE().Where(InV().Is(v2)).ToList(); // (4)
+var e5 = g.V(1).OutE().Where(InV().Has(T.Id, Within(2, 3))).ToList(); // 
(5)

Review Comment:
   These traversal examples were taken and adapted from 
https://tinkerpop.apache.org/docs/3.7.0/recipes/, 

Re: [PR] Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


codecov-commenter commented on PR #2249:
URL: https://github.com/apache/tinkerpop/pull/2249#issuecomment-1769164051

   ## 
[Codecov](https://app.codecov.io/gh/apache/tinkerpop/pull/2249?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   > Merging 
[#2249](https://app.codecov.io/gh/apache/tinkerpop/pull/2249?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 (2baa7e1) into 
[master](https://app.codecov.io/gh/apache/tinkerpop/commit/1222c257b6861b4d535ee8c8090832618efee3ea?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 (1222c25) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   ```diff
   @@   Coverage Diff   @@
   ##   master#2249   +/-   ##
   ===
 Coverage   71.11%   71.11%   
   ===
 Files  25   25   
 Lines3895 3895   
   ===
 Hits 2770 2770   
 Misses934  934   
 Partials  191  191   
   ```
   
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD 
build times. [Learn 
more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV [tinkerpop]

2023-10-18 Thread via GitHub


ryn5 commented on code in PR #2298:
URL: https://github.com/apache/tinkerpop/pull/2298#discussion_r1364427479


##
gremlin-dotnet/example/.gitignore:
##
@@ -0,0 +1 @@
+/Gremlin.Net.3.7.0/

Review Comment:
   The directory is created when running `nuget install Gremlin.Net` as 
recommended in the docs when getting started, but it seems that this command 
isn't needed to run the examples so I'll be removing the gitignore entirely



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump actions/checkout from 3 to 4 [tinkerpop]

2023-10-18 Thread via GitHub


Cole-Greer commented on PR #2231:
URL: https://github.com/apache/tinkerpop/pull/2231#issuecomment-1769193467

   @dependabot rebase


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch dependabot/github_actions/3.5-dev/actions/checkout-4 updated (91fc2669dd -> b7fa3b0b10)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/github_actions/3.5-dev/actions/checkout-4
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


omit 91fc2669dd Bump actions/checkout from 3 to 4
 add d83c15187a Bump BenchmarkDotNet from 0.13.7 to 0.13.8 in 
/gremlin-dotnet
 add 45c8d78a98 Fix JS Direction import (#2259)
 add a489e7b034 CTR remove doc update to wrong branch
 add 2a623272e9 Bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 in 
/gremlin-dotnet
 add ea0bbed85a Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.1' into 
3.5-dev
 add aa42d746b2 Bump github.com/cucumber/godog from 0.12.6 to 0.13.0 in 
/gremlin-go (#2214)
 add 06bb17d23b Bump golang.org/x/text from 0.12.0 to 0.13.0 in /gremlin-go 
(#2230)
 add 8688ef61c0 Bump @types/node from 20.5.0 to 20.8.6 in /gremlint (#2290)
 add 501337ae8a Bump xunit from 2.4.2 to 2.5.3 in /gremlin-dotnet
 add b10347762c Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit-2.5.3' into 3.5-dev
 add 1e51ac8665 Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in 
/gremlin-dotnet
 add 873a47dcad Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3' into 
3.5-dev
 add 96ac0ac81a Bump gherkin from 26.0.3 to 27.0.0 in /gremlin-dotnet
 add eb1962db2a Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/gherkin-27.0.0' into 3.5-dev
 add d0a19dbc9c Bump BenchmarkDotNet from 0.13.8 to 0.13.9 in 
/gremlin-dotnet
 add 733bec970b Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/BenchmarkDotNet-0.13.9' into 3.5-dev
 add b7fa3b0b10 Bump actions/checkout from 3 to 4

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   (91fc2669dd)
\
 N -- N -- N   
refs/heads/dependabot/github_actions/3.5-dev/actions/checkout-4 (b7fa3b0b10)

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.

No new revisions were added by this update.

Summary of changes:
 .../Gremlin.Net.Benchmarks.csproj  |  2 +-
 .../Gremlin.Net.IntegrationTest.csproj |  6 +--
 .../Gremlin.Net.Template.IntegrationTest.csproj|  4 +-
 .../Gremlin.Net.UnitTest.csproj|  4 +-
 gremlin-go/go.mod  | 12 +++---
 gremlin-go/go.sum  | 48 +-
 gremlint/package-lock.json | 34 +++
 7 files changed, 59 insertions(+), 51 deletions(-)



Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV [tinkerpop]

2023-10-18 Thread via GitHub


ryn5 commented on code in PR #2298:
URL: https://github.com/apache/tinkerpop/pull/2298#discussion_r1364434069


##
gremlin-dotnet/example/Example.cs:
##
@@ -0,0 +1,133 @@
+/*
+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.
+*/
+
+using Gremlin;
+using Gremlin.Net.Driver;
+using Gremlin.Net.Driver.Remote;
+using Gremlin.Net.Structure.IO.GraphSON;
+using Gremlin.Net.Process.Traversal;
+
+// Common imports
+using static Gremlin.Net.Process.Traversal.AnonymousTraversalSource;
+using static Gremlin.Net.Process.Traversal.__;
+using static Gremlin.Net.Process.Traversal.P;
+using static Gremlin.Net.Process.Traversal.Order;
+using static Gremlin.Net.Process.Traversal.Operator;
+using static Gremlin.Net.Process.Traversal.Pop;
+using static Gremlin.Net.Process.Traversal.Scope;
+using static Gremlin.Net.Process.Traversal.TextP;
+using static Gremlin.Net.Process.Traversal.Column;
+using static Gremlin.Net.Process.Traversal.Direction;
+using static Gremlin.Net.Process.Traversal.Cardinality;
+using static Gremlin.Net.Process.Traversal.CardinalityValue;
+using static Gremlin.Net.Process.Traversal.T;
+
+
+ConnectionExample();
+BasicGremlinExample();
+ModernTraversalExample();

Review Comment:
   Added async/awaits to the two results in BasicGremlinExample()



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV [tinkerpop]

2023-10-18 Thread via GitHub


ryn5 commented on code in PR #2298:
URL: https://github.com/apache/tinkerpop/pull/2298#discussion_r1364440466


##
gremlin-driver/src/main/java/example/Example.java:
##
@@ -0,0 +1,157 @@
+/*
+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.
+*/
+
+package example;
+
+// Common imports
+import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal;
+import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
+
+import static 
org.apache.tinkerpop.gremlin.process.traversal.AnonymousTraversalSource.traversal;
+import static org.apache.tinkerpop.gremlin.process.traversal.P.*;
+import static org.apache.tinkerpop.gremlin.structure.T.*;
+import static org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.*;
+
+import org.apache.tinkerpop.gremlin.driver.Client;
+import org.apache.tinkerpop.gremlin.driver.Cluster;
+import org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection;
+import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__;
+import org.apache.tinkerpop.gremlin.structure.Edge;
+import org.apache.tinkerpop.gremlin.structure.Graph;
+import org.apache.tinkerpop.gremlin.structure.Vertex;
+import org.apache.tinkerpop.gremlin.structure.io.AbstractIoRegistry;
+import org.apache.tinkerpop.gremlin.structure.io.IoRegistry;
+import org.apache.tinkerpop.gremlin.structure.io.binary.TypeSerializerRegistry;
+import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory;
+import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
+import org.apache.tinkerpop.gremlin.util.MessageSerializer;
+import org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1;
+
+import java.lang.reflect.Array;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+public class Example {
+
+public static void main(String[] args) throws Exception {
+connectionExample();
+basicGremlinExample();
+modernTraversalExample();
+}
+
+public static void connectionExample() throws Exception {

Review Comment:
   The C# example commented out 1 of 2 connections because `using var` doesn't 
allow reassignment, but I think you're right in that maybe it would be clearer 
to comment out other examples so that each connection can have a proper 
declaration.  I'll make this change consistent across all the GLVs.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Upgrade node to 18 in docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


xiazcy commented on PR #2295:
URL: https://github.com/apache/tinkerpop/pull/2295#issuecomment-1769212855

   I would also think this is just a burst of nodejs server issue. I just 
re-ran the actions for 3.6 and master they all past.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump io.fabric8:docker-maven-plugin from 0.42.0 to 0.43.4 [tinkerpop]

2023-10-18 Thread via GitHub


codecov-commenter commented on PR #2300:
URL: https://github.com/apache/tinkerpop/pull/2300#issuecomment-1769217823

   ## 
[Codecov](https://app.codecov.io/gh/apache/tinkerpop/pull/2300?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   > Merging 
[#2300](https://app.codecov.io/gh/apache/tinkerpop/pull/2300?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 (236023f) into 
[3.5-dev](https://app.codecov.io/gh/apache/tinkerpop/commit/733bec970b2ea17b464d4931d40bc39e40ec4b98?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 (733bec9) will **increase** coverage by `0.02%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@  Coverage Diff  @@
   ## 3.5-dev#2300  +/-   ##
   =
   + Coverage  69.93%   69.95%   +0.02% 
   - Complexity  9031 9033   +2 
   =
 Files866  842  -24 
 Lines  4106837619-3449 
 Branches5476 5476  
   =
   - Hits   2872026318-2402 
   + Misses 10449 9578 -871 
   + Partials1899 1723 -176 
   ```
   
   
   [see 29 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/tinkerpop/pull/2300/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: We’re building smart automated test selection to slash your CI/CD 
build times. [Learn 
more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch master updated: Squashed docs/gremlint dependabots:

2023-10-18 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
 new ed9b6c5aa8 Squashed docs/gremlint dependabots:
ed9b6c5aa8 is described below

commit ed9b6c5aa861bf863e47b0622215324aa49b5336
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 28 14:41:35 2023 +

Squashed docs/gremlint dependabots:

Bump web-vitals from 3.4.0 to 3.5.0 in /docs/gremlint

Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals) from 3.4.0 
to 3.5.0.
- 
[Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md)
- 
[Commits](https://github.com/GoogleChrome/web-vitals/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: web-vitals
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 

Bump @types/node from 20.5.0 to 20.8.6 in /docs/gremlint

Bumps 
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
 from 20.5.0 to 20.8.6.
- [Release 
notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- 
[Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 

Bump styled-components from 6.0.7 to 6.1.0 in /docs/gremlint

Bumps 
[styled-components](https://github.com/styled-components/styled-components) 
from 6.0.7 to 6.1.0.
- [Release 
notes](https://github.com/styled-components/styled-components/releases)
- 
[Commits](https://github.com/styled-components/styled-components/compare/v6.0.7...v6.1.0)

---
updated-dependencies:
- dependency-name: styled-components
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 

Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /docs/gremlint

Bumps 
[@testing-library/user-event](https://github.com/testing-library/user-event) 
from 14.4.3 to 14.5.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- 
[Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- 
[Commits](https://github.com/testing-library/user-event/compare/v14.4.3...v14.5.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 

Bump @types/node from 20.5.0 to 20.8.7 in /docs/gremlint

Bumps 
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
 from 20.5.0 to 20.8.7.
- [Release 
notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- 
[Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 
---
 docs/gremlint/package-lock.json | 344 ++--
 docs/gremlint/package.json  |   8 +-
 2 files changed, 52 insertions(+), 300 deletions(-)

diff --git a/docs/gremlint/package-lock.json b/docs/gremlint/package-lock.json
index 3ba73b91d6..e370f9915a 100644
--- a/docs/gremlint/package-lock.json
+++ b/docs/gremlint/package-lock.json
@@ -16,16 +16,16 @@
 "react-dom": "^17.0.2",
 "react-scripts": "^5.0.1",
 "sharp-router": "^4.1.5",
-"styled-components": "^6.0.7",
+"styled-components": "^6.1.0",
 "typescript": "^4.7.3",
-"web-vitals": "^3.4.0"
+"web-vitals": "^3.5.0"
   },
   "devDependencies": {
 "@testing-library/jest-dom": "^6.1.0",
 "@testing-library/react": "^12.1.5",
-"@testing-library/user-event": "^14.4.3",
+"@testing-library/user-event": "^14.5.1",
 "@types/jest": "^29.5.4",
-"@types/node": "^20.5.0",
+"@types/node": "^20.8.7",
 "@types/react": "^17.0.38",
 "@types/react-dom": "^17.0.11",
 "@types/styled-components": "^5.1.26",
@@ -67,78 +67,6 @@
 "node": ">=6.0.0"
   }
 },
-"node_modules/@babel/cli": {
-  "version": "7.22.9",
-  "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.22.9.tgz";,
-  "integrity": 
"sha512-nb2O7AThqRo7/E53EGiuAkMaRbb7J5Qp3RvN+dmua1U+kydm0oznkhqbTEG15yk26G/C3yL6OdZjzgl+DMXVVA==",
-  "dependenci

Re: [PR] Bump web-vitals from 3.4.0 to 3.5.0 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] commented on PR #2266:
URL: https://github.com/apache/tinkerpop/pull/2266#issuecomment-1769246515

   Looks like web-vitals is up-to-date now, so this is no longer needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump styled-components from 6.0.7 to 6.1.0 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] commented on PR #2291:
URL: https://github.com/apache/tinkerpop/pull/2291#issuecomment-1769246544

   Looks like styled-components is up-to-date now, so this is no longer needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump web-vitals from 3.4.0 to 3.5.0 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] closed pull request #2266: Bump web-vitals from 3.4.0 to 3.5.0 
in /docs/gremlint
URL: https://github.com/apache/tinkerpop/pull/2266


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump styled-components from 6.0.7 to 6.1.0 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] closed pull request #2291: Bump styled-components from 6.0.7 to 
6.1.0 in /docs/gremlint
URL: https://github.com/apache/tinkerpop/pull/2291


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @types/node from 20.5.0 to 20.8.7 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] commented on PR #2301:
URL: https://github.com/apache/tinkerpop/pull/2301#issuecomment-1769246592

   Looks like @types/node is up-to-date now, so this is no longer needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @types/node from 20.5.0 to 20.8.7 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] closed pull request #2301: Bump @types/node from 20.5.0 to 
20.8.7 in /docs/gremlint
URL: https://github.com/apache/tinkerpop/pull/2301


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch dependabot/npm_and_yarn/docs/gremlint/master/types/node-20.8.7 deleted (was e7993365a9)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/npm_and_yarn/docs/gremlint/master/types/node-20.8.7
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was e7993365a9 Bump @types/node from 20.5.0 to 20.8.7 in /docs/gremlint

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



[tinkerpop] branch dependabot/npm_and_yarn/docs/gremlint/master/web-vitals-3.5.0 deleted (was e83998d665)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/npm_and_yarn/docs/gremlint/master/web-vitals-3.5.0
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was e83998d665 Bump web-vitals from 3.4.0 to 3.5.0 in /docs/gremlint

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



[tinkerpop] branch dependabot/npm_and_yarn/docs/gremlint/master/styled-components-6.1.0 deleted (was 5c21060240)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/npm_and_yarn/docs/gremlint/master/styled-components-6.1.0
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was 5c21060240 Bump styled-components from 6.0.7 to 6.1.0 in /docs/gremlint

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



Re: [PR] Change substring() to use `startIndex, endIndex` instead of `startIndex, length` [tinkerpop]

2023-10-18 Thread via GitHub


xiazcy commented on PR #2296:
URL: https://github.com/apache/tinkerpop/pull/2296#issuecomment-1769247433

   VOTE +1, thanks for the update!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


Cole-Greer commented on PR #2249:
URL: https://github.com/apache/tinkerpop/pull/2249#issuecomment-1769248085

   Upgraded in 
https://github.com/apache/tinkerpop/commit/ed9b6c5aa861bf863e47b0622215324aa49b5336.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch dependabot/npm_and_yarn/docs/gremlint/master/testing-library/user-event-14.5.1 deleted (was 2baa7e1495)

2023-10-18 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/npm_and_yarn/docs/gremlint/master/testing-library/user-event-14.5.1
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 was 2baa7e1495 Bump @testing-library/user-event from 14.4.3 to 14.5.1 in 
/docs/gremlint

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



Re: [PR] Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


dependabot[bot] commented on PR #2249:
URL: https://github.com/apache/tinkerpop/pull/2249#issuecomment-1769248159

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. If you'd rather skip all updates until the next 
major or minor version, let me know by commenting `@dependabot ignore this 
major version` or `@dependabot ignore this minor version`. You can also ignore 
all major, minor, or patch releases for a dependency by adding an [`ignore` 
condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore)
 with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /docs/gremlint [tinkerpop]

2023-10-18 Thread via GitHub


Cole-Greer closed pull request #2249: Bump @testing-library/user-event from 
14.4.3 to 14.5.1 in /docs/gremlint
URL: https://github.com/apache/tinkerpop/pull/2249


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch TINKERPOP-2978-3 updated (ad3949c764 -> 735f1e6d55)

2023-10-18 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a change to branch TINKERPOP-2978-3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 discard ad3949c764 temporarily disable unit test for reverse
 discard 77cde1445e Implement list functions.
 new 735f1e6d55 Implement list functions.

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   (ad3949c764)
\
 N -- N -- N   refs/heads/TINKERPOP-2978-3 (735f1e6d55)

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:
 .../traversal/dsl/graph/GraphTraversal.java| 26 +++---
 .../gremlin/test/features/map/Combine.feature  |  8 +++
 .../gremlin/test/features/map/Difference.feature   |  9 
 .../gremlin/test/features/map/Disjunct.feature | 11 +++--
 .../gremlin/test/features/map/Intersect.feature| 11 +
 .../gremlin/test/features/map/Join.feature |  8 ---
 .../gremlin/test/features/map/Merge.feature| 10 +
 .../gremlin/test/features/map/Product.feature  |  7 ++
 .../gremlin/test/features/map/Reverse.feature  |  2 ++
 .../tinkergraph/TinkerGraphFeatureTest.java|  2 +-
 10 files changed, 71 insertions(+), 23 deletions(-)



Re: [PR] [TINKERPOP-2979] added datetime() [tinkerpop]

2023-10-18 Thread via GitHub


xiazcy commented on PR #2289:
URL: https://github.com/apache/tinkerpop/pull/2289#issuecomment-1769252834

   VOTE +1. As a nit aside, should we also update the reference doc part that 
mentions `datetime()`? I think this was mentioned somewhere under Gremlin 
Groovy.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch TINKERPOP-2978-3 updated (735f1e6d55 -> 5da6785a39)

2023-10-18 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a change to branch TINKERPOP-2978-3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 discard 735f1e6d55 Implement list functions.
 new 5da6785a39 Implement list functions.

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   (735f1e6d55)
\
 N -- N -- N   refs/heads/TINKERPOP-2978-3 (5da6785a39)

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:
 .../grammar/TraversalMethodVisitorTest.java|  31 ++-
 .../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs | 218 ++---
 gremlin-go/driver/cucumber/gremlin.go  | 218 ++---
 .../gremlin-javascript/test/cucumber/gremlin.js| 218 ++---
 gremlin-python/src/main/python/radish/gremlin.py   | 218 ++---
 .../gremlin/test/features/map/Combine.feature  |   1 +
 .../gremlin/test/features/map/Difference.feature   |   1 +
 .../gremlin/test/features/map/Disjunct.feature |   1 +
 .../gremlin/test/features/map/Intersect.feature|   1 +
 .../gremlin/test/features/map/Join.feature |   1 +
 .../gremlin/test/features/map/Merge.feature|   1 +
 .../gremlin/test/features/map/Product.feature  |   1 +
 12 files changed, 468 insertions(+), 442 deletions(-)



Re: [PR] [TINKERPOP-3004] improve GremlinValueComparator performance [tinkerpop]

2023-10-18 Thread via GitHub


xiazcy commented on PR #2282:
URL: https://github.com/apache/tinkerpop/pull/2282#issuecomment-1769345105

   VOTE +1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch TINKERPOP-2978-3 updated: revert collectionutil

2023-10-18 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch TINKERPOP-2978-3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/TINKERPOP-2978-3 by this push:
 new a4da4fcc43 revert collectionutil
a4da4fcc43 is described below

commit a4da4fcc4369bb2eb503b379d8bbb0da0bffd081
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Wed Oct 18 14:22:05 2023 -0700

revert collectionutil

remove traversal constructor, fix typo, remove unused file
---
 .../process/traversal/step/map/CombineStep.java| 10 +--
 .../process/traversal/step/map/DifferenceStep.java | 10 +--
 .../process/traversal/step/map/DisjunctStep.java   | 10 +--
 .../process/traversal/step/map/IntersectStep.java  | 10 +--
 .../process/traversal/step/map/ProductStep.java| 10 +--
 .../traversal/step/map/TraversalMergeStep.java | 10 +--
 .../tinkerpop/gremlin/util/CollectionUtil.java |  2 -
 .../traversal/step/map/ReverseLocalStepTest.java   | 79 --
 gremlin-go/driver/anonymousTraversal.go|  6 +-
 .../tinkerpop/gremlin/features/StepDefinition.java |  6 --
 10 files changed, 33 insertions(+), 120 deletions(-)

diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/CombineStep.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/CombineStep.java
index 9bf9161ed0..7ee8a1bb5f 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/CombineStep.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/CombineStep.java
@@ -41,12 +41,12 @@ public final class CombineStep extends 
ScalarMapStep> implement
 
 public CombineStep(final Traversal.Admin traversal, final Object values) {
 super(traversal);
-parameterItems = values;
-}
 
-public CombineStep(final Traversal.Admin traversal, final Traversal 
value) {
-super(traversal);
-valueTraversal = integrateChild(value.asAdmin());
+if (values instanceof Traversal) {
+valueTraversal = integrateChild(((Traversal) 
values).asAdmin());
+} else {
+parameterItems = values;
+}
 }
 
 @Override
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DifferenceStep.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DifferenceStep.java
index e78c6290c5..f394bd799e 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DifferenceStep.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DifferenceStep.java
@@ -40,12 +40,12 @@ public final class DifferenceStep extends 
ScalarMapStep> impleme
 private Object parameterItems;
 public DifferenceStep(final Traversal.Admin traversal, final Object 
values) {
 super(traversal);
-parameterItems = values;
-}
 
-public DifferenceStep(final Traversal.Admin traversal, final Traversal value) {
-super(traversal);
-valueTraversal = this.integrateChild(value.asAdmin());
+if (values instanceof Traversal) {
+valueTraversal = integrateChild(((Traversal) 
values).asAdmin());
+} else {
+parameterItems = values;
+}
 }
 
 @Override
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DisjunctStep.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DisjunctStep.java
index f4d7cec433..10725330f2 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DisjunctStep.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DisjunctStep.java
@@ -38,12 +38,12 @@ public final class DisjunctStep extends 
ScalarMapStep> implement
 private Object parameterItems;
 public DisjunctStep(final Traversal.Admin traversal, final Object values) {
 super(traversal);
-parameterItems = values;
-}
 
-public DisjunctStep(final Traversal.Admin traversal, final Traversal 
value) {
-super(traversal);
-this.valueTraversal = this.integrateChild(value.asAdmin());
+if (values instanceof Traversal) {
+valueTraversal = integrateChild(((Traversal) 
values).asAdmin());
+} else {
+parameterItems = values;
+}
 }
 
 @Override
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/IntersectStep.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/IntersectStep.java
index fbabebc787..7a3ad16090 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/Intersect

Re: [PR] Change substring() to use `startIndex, endIndex` instead of `startIndex, length` [tinkerpop]

2023-10-18 Thread via GitHub


xiazcy merged PR #2296:
URL: https://github.com/apache/tinkerpop/pull/2296


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch master updated: Change substring() to use `startIndex, endIndex` instead of `startIndex, length` (#2296)

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
 new 81775cbcaf Change substring() to use `startIndex, endIndex` instead of 
`startIndex, length` (#2296)
81775cbcaf is described below

commit 81775cbcafc511df4536cb4cf3ddf7cf470453ee
Author: Ryan Tan <65996005+r...@users.noreply.github.com>
AuthorDate: Wed Oct 18 15:59:44 2023 -0700

Change substring() to use `startIndex, endIndex` instead of `startIndex, 
length` (#2296)
---
 docs/src/dev/provider/gremlin-semantics.asciidoc   |  8 ++--
 docs/src/upgrade/release-3.7.x.asciidoc| 21 +-
 .../traversal/dsl/graph/GraphTraversal.java| 18 -
 .../gremlin/process/traversal/dsl/graph/__.java|  4 +-
 .../process/traversal/step/map/SubstringStep.java  | 43 ++--
 .../traversal/step/map/SubstringStepTest.java  | 28 +
 .../Process/Traversal/GraphTraversal.cs|  4 +-
 .../src/Gremlin.Net/Process/Traversal/__.cs|  4 +-
 .../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs |  7 +++-
 gremlin-go/driver/cucumber/gremlin.go  |  7 +++-
 .../gremlin-javascript/test/cucumber/gremlin.js|  7 +++-
 gremlin-python/src/main/python/radish/gremlin.py   |  7 +++-
 .../gremlin/test/features/map/Substring.feature| 46 +++---
 13 files changed, 132 insertions(+), 72 deletions(-)

diff --git a/docs/src/dev/provider/gremlin-semantics.asciidoc 
b/docs/src/dev/provider/gremlin-semantics.asciidoc
index 74b69e5329..c1825c261d 100644
--- a/docs/src/dev/provider/gremlin-semantics.asciidoc
+++ b/docs/src/dev/provider/gremlin-semantics.asciidoc
@@ -1194,9 +1194,9 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#split-step[reference]
 [[substring-step]]
 === substring()
 
-*Description:* Returns a substring of the incoming string traverser with a 
0-based start index (inclusive) and length specified.
+*Description:* Returns a substring of the incoming string traverser with a 
0-based start index (inclusive) and end index (exclusive).
 
-*Syntax:* `substring(long, long)`
+*Syntax:* `substring(int, int)`
 
 [width="100%",options="header"]
 |=
@@ -1208,8 +1208,8 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#split-step[reference]
 
 * `int` - The start index, 0 based. If the start index is negative then it 
will begin at the specified index counted
 from the end of the string, or 0 if it exceeds the string length.
-* `int` - The number of characters to return. Optional, if it is not specific 
or if it exceeds the length of the string
-then all remaining characters will be returned. Length ≤ 0 will return the 
empty string.
+* `int` - The end index, 0 based. Optional, if it is not specific then all 
remaining characters will be returned. End
+index ≤ start index will return the empty string.
 
 Null values from the incoming traverser are not processed and remain as null 
when returned.
 
diff --git a/docs/src/upgrade/release-3.7.x.asciidoc 
b/docs/src/upgrade/release-3.7.x.asciidoc
index 75206c7076..40ee470eaa 100644
--- a/docs/src/upgrade/release-3.7.x.asciidoc
+++ b/docs/src/upgrade/release-3.7.x.asciidoc
@@ -187,15 +187,15 @@ gremlin> 
g.V().hasLabel("person").values("name").split("a")
 ==>[peter]
 
 
-For `substring()`, the new Gremlin step follows the SQL standard, taking 
parameters start index and desired length of substring,
-instead of start and end indices like Java/Groovy, enabling certain operations 
that would be complex to achieve with closure:
+For `substring()`, the new Gremlin step follows the Python standard, taking 
parameters start index and optionally an
+end index. This will enable certain operations that would be complex to 
achieve with closure:
 [source,text]
 
-gremlin> g.V().hasLabel("person").values("name").map{it.get().substring(1,3)}
-==>ar
-==>ad
-==>os
-==>et
+gremlin> g.V().hasLabel("person").values("name").map{it.get().substring(1,4)}
+==>ark
+==>ada
+==>osh
+==>ete
 gremlin> g.V().hasLabel("person").values("name").map{it.get().substring(1)}
 ==>arko
 ==>adas
@@ -206,11 +206,12 @@ String index out of range: -2
 Type ':help' or ':h' for help.
 
 
-The `substring()`-step will begin at the start index and return a substring 
with the length specified. Negative start
-indices are allowed and will begin at the specified index counted from the end 
of the string:
+The `substring()`-step will return a substring with indices specified by the 
start and end indices, or from
+the start index to the remainder of the string if an end index is not 
specified. Negative indices are allowed and will
+count from the end of the string:
 [source,text]
 
-gremlin> g.V().hasLabel("person").values("name").substring(1,3)
+gremlin> g.V().hasLabel("person").values("name").substrin

Re: [PR] [TINKERPOP-2979] added datetime() [tinkerpop]

2023-10-18 Thread via GitHub


vkagamlyk commented on PR #2289:
URL: https://github.com/apache/tinkerpop/pull/2289#issuecomment-1769538311

   VOTE+1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [TINKERPOP-2979] added datetime() [tinkerpop]

2023-10-18 Thread via GitHub


xiazcy merged PR #2289:
URL: https://github.com/apache/tinkerpop/pull/2289


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch master updated: [TINKERPOP-2979] added datetime() (#2289)

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
 new 3cf2f94446 [TINKERPOP-2979] added datetime() (#2289)
3cf2f94446 is described below

commit 3cf2f9444632f73c130a72b60441f4142f68223e
Author: Valentyn Kahamlyk 
AuthorDate: Wed Oct 18 16:25:53 2023 -0700

[TINKERPOP-2979] added datetime() (#2289)

* implementation and tests

* update doc

-

Co-authored-by: Valentyn Kahamlyk 
---
 CHANGELOG.asciidoc |  1 +
 docs/src/upgrade/release-3.7.x.asciidoc| 47 +-
 .../tinkerpop/gremlin/jsr223/CoreImports.java  |  1 +
 .../language/grammar/GenericLiteralVisitor.java|  2 +
 .../tinkerpop/gremlin/util/DatetimeHelper.java |  7 
 .../grammar/GeneralLiteralVisitorTest.java | 12 ++
 .../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs | 17 
 gremlin-go/driver/cucumber/gremlin.go  | 17 
 .../gremlin-javascript/test/cucumber/gremlin.js| 17 
 gremlin-language/src/main/antlr4/Gremlin.g4|  1 +
 gremlin-python/src/main/python/radish/gremlin.py   | 17 
 .../gremlin/test/features/map/DateDiff.feature | 10 +
 12 files changed, 98 insertions(+), 51 deletions(-)

diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index ea3240b8ea..f6ee569f88 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -33,6 +33,7 @@ This release also includes changes from <> and  g.inject("2023-08-02T00:00:00Z").asDate().dateAdd(DT.day, 
7).dateDiff(datetime("2023-08-02T00:00:00Z"))
-==>604800
-
-
-See: 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asDate-step[asDate()-step]
-See: 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dateAdd-step[dateAdd()-step]
-See: 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dateDiff-step[dateDiff()-step]
-See: link:https://issues.apache.org/jira/browse/TINKERPOP-2979[TINKERPOP-2979]
-
-
 = String Steps replace(), split(), substring()
 
 The following example demonstrates the use of a closure to perform `replace()` 
and `split()` functions:
@@ -250,6 +231,34 @@ See: 
link:https://issues.apache.org/jira/browse/TINKERPOP-2978[TINKERPOP-2978],
 link:https://tinkerpop.apache.org/docs/x.y.z/reference/#all-step[all()-step],
 link:https://tinkerpop.apache.org/docs/x.y.z/reference/#any-step[any()-step]
 
+ Date manipulation functions
+
+Date manipulations in Gremlin queries were only possible using closures, which 
may or may not be supported by
+different providers. In 3.7.1, we introduce the `asDate()`, `dateAdd` and 
`dateDiff` steps aimed to replace the usage of closure.
+
+The following example demonstrates usage of newly introduced steps:
+
+[source,text]
+
+gremlin> g.inject("2023-08-02T00:00:00Z").asDate().dateAdd(DT.day, 
7).dateDiff(datetime("2023-08-02T00:00:00Z"))
+==>604800
+
+
+See: 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asDate-step[asDate()-step]
+See: 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dateAdd-step[dateAdd()-step]
+See: 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dateDiff-step[dateDiff()-step]
+See: link:https://issues.apache.org/jira/browse/TINKERPOP-2979[TINKERPOP-2979]
+
+= `datetime()` for current server time
+
+Function `datetime()` extended to return current server time when used without 
argument.
+
+[source,text]
+
+gremlin> datetime().toGMTString()
+==>13 Oct 2023 20:44:20 GMT
+
+
 === Upgrading for Providers
 
  Graph System Providers
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java
index 13868cee47..96f55920d1 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java
@@ -337,6 +337,7 @@ public final class CoreImports {
 uniqueMethods(Lambda.class).forEach(METHOD_IMPORTS::add);
 try {
 METHOD_IMPORTS.add(DatetimeHelper.class.getMethod("datetime", 
String.class));
+METHOD_IMPORTS.add(Date

Re: [PR] [TINKERPOP-2423] Do not use XOR in hashCode computation when redundant key is possible [tinkerpop]

2023-10-18 Thread via GitHub


xiazcy merged PR #2254:
URL: https://github.com/apache/tinkerpop/pull/2254


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch master updated (3cf2f94446 -> 3c4418ba24)

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


from 3cf2f94446 [TINKERPOP-2979] added datetime() (#2289)
 add de4ac90dda [TINKERPOP-2423] Do not use XOR in hashCode computation 
when redundant parameters are used (#2254)
 new 3c4418ba24 Merge branch '3.6-dev'

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:
 CHANGELOG.asciidoc |  1 +
 .../process/traversal/step/map/GraphStep.java  |  8 ++---
 .../process/traversal/step/map/PropertiesStep.java | 15 ++--
 .../process/traversal/step/map/VertexStep.java | 15 ++--
 .../step/sideEffect/SideEffectCapStep.java |  9 +++--
 .../process/traversal/step/map/GraphStepTest.java  | 27 ++
 .../traversal/step/map/PropertiesStepTest.java | 42 ++
 .../process/traversal/step/map/VertexStepTest.java | 28 +++
 .../step/sideEffect/SideEffectCapStepTest.java | 28 +++
 9 files changed, 158 insertions(+), 15 deletions(-)



[tinkerpop] branch 3.6-dev updated: [TINKERPOP-2423] Do not use XOR in hashCode computation when redundant parameters are used (#2254)

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.6-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.6-dev by this push:
 new de4ac90dda [TINKERPOP-2423] Do not use XOR in hashCode computation 
when redundant parameters are used (#2254)
de4ac90dda is described below

commit de4ac90dda0f256c0747cf832e534d3052760e1b
Author: Norio Akagi 
AuthorDate: Wed Oct 18 16:41:41 2023 -0700

[TINKERPOP-2423] Do not use XOR in hashCode computation when redundant 
parameters are used (#2254)

Co-authored-by: Yang Xia <55853655+xia...@users.noreply.github.com>
---
 CHANGELOG.asciidoc |  1 +
 .../process/traversal/step/map/GraphStep.java  |  8 ++---
 .../process/traversal/step/map/PropertiesStep.java | 15 ++--
 .../process/traversal/step/map/VertexStep.java | 15 ++--
 .../step/sideEffect/SideEffectCapStep.java |  9 +++--
 .../process/traversal/step/map/GraphStepTest.java  | 27 ++
 .../traversal/step/map/PropertiesStepTest.java | 42 ++
 .../process/traversal/step/map/VertexStepTest.java | 28 +++
 .../step/sideEffect/SideEffectCapStepTest.java | 28 +++
 9 files changed, 158 insertions(+), 15 deletions(-)

diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 8f77255c99..6e53144486 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -37,6 +37,7 @@ This release also includes changes from <>.
 * Fixed bug in `PythonTranslator` where `Set` syntax was not being generated 
properly.
 * Fixed bug in configuration object given to `PartitionStrategy` for Go that 
prevented `readPartitions` from behing set properly.
 * Fixed bug where the `partitionKey` was not being written when using 
`PartitionStrategy` with `mergeV()` and `mergeE()`
+* Do not use `XOR` for hashCode computation of Step when only simple keys are 
used and duplicate keys are allowed.
 
 [[release-3-6-5]]
 === TinkerPop 3.6.5 (Release Date: July 31, 2023)
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/GraphStep.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/GraphStep.java
index afb27abf40..3b1720ff9a 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/GraphStep.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/GraphStep.java
@@ -175,10 +175,10 @@ public class GraphStep extends 
AbstractStep implemen
 
 @Override
 public int hashCode() {
-int result = super.hashCode() ^ this.returnClass.hashCode();
-if (null != this.ids) {
-for (final Object id : this.ids) {
-result ^= Objects.hashCode(id);
+int result = Objects.hash(super.hashCode(), returnClass);
+if (ids != null) {
+for (Object id : ids) {
+result = 31 * result + Objects.hashCode(id);
 }
 }
 return result;
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/PropertiesStep.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/PropertiesStep.java
index dce4fedbce..2c3bc2f503 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/PropertiesStep.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/PropertiesStep.java
@@ -29,9 +29,12 @@ import 
org.apache.tinkerpop.gremlin.structure.util.StringFactory;
 
 import java.util.Arrays;
 import java.util.Collections;
+import java.util.Comparator;
 import java.util.Iterator;
+import java.util.List;
 import java.util.Objects;
 import java.util.Set;
+import java.util.stream.Collectors;
 
 /**
  * @author Marko A. Rodriguez (http://markorodriguez.com)
@@ -80,9 +83,15 @@ public class PropertiesStep extends FlatMapStep implements AutoCl
 
 @Override
 public int hashCode() {
-int result = super.hashCode() ^ this.returnType.hashCode();
-for (final String propertyKey : this.propertyKeys) {
-result ^= Objects.hashCode(propertyKey);
+int result = Objects.hash(super.hashCode(), returnType);
+// property keys' order does not matter because properties("x", "y"), 
and properties("y", "x") should be
+// considered identical.
+if (propertyKeys != null) {
+final List sortedPropertyKeys = Arrays.stream(propertyKeys)
+
.sorted(Comparator.nullsLast(Comparator.naturalOrder())).collect(Collectors.toList());
+for (final String propertyKey : sortedPropertyKeys) {
+result = 31 * result + Objects.hashCode(propertyKey);
+}
 }
 return result;
 }
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin

[tinkerpop] 01/01: Merge branch '3.6-dev'

2023-10-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 3c4418ba249df5f02547e4a702d0fd12bc26a74e
Merge: 3cf2f94446 de4ac90dda
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Wed Oct 18 16:42:15 2023 -0700

Merge branch '3.6-dev'

 CHANGELOG.asciidoc |  1 +
 .../process/traversal/step/map/GraphStep.java  |  8 ++---
 .../process/traversal/step/map/PropertiesStep.java | 15 ++--
 .../process/traversal/step/map/VertexStep.java | 15 ++--
 .../step/sideEffect/SideEffectCapStep.java |  9 +++--
 .../process/traversal/step/map/GraphStepTest.java  | 27 ++
 .../traversal/step/map/PropertiesStepTest.java | 42 ++
 .../process/traversal/step/map/VertexStepTest.java | 28 +++
 .../step/sideEffect/SideEffectCapStepTest.java | 28 +++
 9 files changed, 158 insertions(+), 15 deletions(-)




[tinkerpop] branch TINKERPOP-2978-3 updated: remove traversal parameter for list functions

2023-10-18 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch TINKERPOP-2978-3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/TINKERPOP-2978-3 by this push:
 new c0beabc3ce remove traversal parameter for list functions
c0beabc3ce is described below

commit c0beabc3ce5b9aee90a8397d26b40a52ae9c2b2b
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Wed Oct 18 16:22:05 2023 -0700

remove traversal parameter for list functions

update duplicate named scenarios and removed ITraversal from gremlin-dotnet

add ordering to two tests

ignore tests as set not implemented for gremlin-js
---
 .../grammar/DefaultGremlinBaseVisitor.java | 24 
 .../language/grammar/TraversalMethodVisitor.java   | 48 ---
 .../traversal/dsl/graph/GraphTraversal.java| 72 --
 .../gremlin/process/traversal/dsl/graph/__.java| 56 +++--
 .../grammar/TraversalMethodVisitorTest.java| 24 
 .../Process/Traversal/GraphTraversal.cs| 54 
 .../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs |  5 +-
 gremlin-go/driver/cucumber/gremlin.go  |  5 +-
 .../test/cucumber/feature-steps.js | 46 ++
 .../gremlin-javascript/test/cucumber/gremlin.js|  5 +-
 gremlin-language/src/main/antlr4/Gremlin.g4| 18 ++
 gremlin-python/src/main/python/radish/gremlin.py   |  5 +-
 .../gremlin/test/features/map/Combine.feature  |  6 +-
 .../gremlin/test/features/map/Intersect.feature|  6 +-
 .../gremlin/test/features/map/Join.feature |  6 +-
 15 files changed, 80 insertions(+), 300 deletions(-)

diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/DefaultGremlinBaseVisitor.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/DefaultGremlinBaseVisitor.java
index 7de72da57e..d121da91c1 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/DefaultGremlinBaseVisitor.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/DefaultGremlinBaseVisitor.java
@@ -319,10 +319,6 @@ public class DefaultGremlinBaseVisitor extends 
AbstractParseTreeVisitor im
 * {@inheritDoc}
 */
@Override public T visitTraversalMethod_combine_Object(final 
GremlinParser.TraversalMethod_combine_ObjectContext ctx) { notImplemented(ctx); 
return null; }
-   /**
-* {@inheritDoc}
-*/
-   @Override public T visitTraversalMethod_combine_Traversal(final 
GremlinParser.TraversalMethod_combine_TraversalContext ctx) { 
notImplemented(ctx); return null; }
/**
 * {@inheritDoc}
 */
@@ -355,18 +351,10 @@ public class DefaultGremlinBaseVisitor extends 
AbstractParseTreeVisitor im
 * {@inheritDoc}
 */
@Override public T visitTraversalMethod_difference_Object(final 
GremlinParser.TraversalMethod_difference_ObjectContext ctx) { 
notImplemented(ctx); return null; }
-   /**
-* {@inheritDoc}
-*/
-   @Override public T visitTraversalMethod_difference_Traversal(final 
GremlinParser.TraversalMethod_difference_TraversalContext ctx) { 
notImplemented(ctx); return null; }
/**
 * {@inheritDoc}
 */
@Override public T visitTraversalMethod_disjunct_Object(final 
GremlinParser.TraversalMethod_disjunct_ObjectContext ctx) { 
notImplemented(ctx); return null; }
-   /**
-* {@inheritDoc}
-*/
-   @Override public T visitTraversalMethod_disjunct_Traversal(final 
GremlinParser.TraversalMethod_disjunct_TraversalContext ctx) { 
notImplemented(ctx); return null; }
/**
 * {@inheritDoc}
 */
@@ -535,10 +523,6 @@ public class DefaultGremlinBaseVisitor extends 
AbstractParseTreeVisitor im
 * {@inheritDoc}
 */
@Override public T visitTraversalMethod_intersect_Object(final 
GremlinParser.TraversalMethod_intersect_ObjectContext ctx) { 
notImplemented(ctx); return null; }
-   /**
-* {@inheritDoc}
-*/
-   @Override public T visitTraversalMethod_intersect_Traversal(final 
GremlinParser.TraversalMethod_intersect_TraversalContext ctx) { 
notImplemented(ctx); return null; }
/**
 * {@inheritDoc}
 */
@@ -623,10 +607,6 @@ public class DefaultGremlinBaseVisitor extends 
AbstractParseTreeVisitor im
 * {@inheritDoc}
 */
@Override public T visitTraversalMethod_merge_Object(final 
GremlinParser.TraversalMethod_merge_ObjectContext ctx) { notImplemented(ctx); 
return null; }
-   /**
-* {@inheritDoc}
-*/
-   @Override public T visitTraversalMethod_merge_Traversal(final 
GremlinParser.TraversalMethod_merge_TraversalContext ctx) { 
notImplemented(ctx); return null; }
/**
 * {@inheritDoc}

Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV [tinkerpop]

2023-10-18 Thread via GitHub


ryn5 commented on PR #2298:
URL: https://github.com/apache/tinkerpop/pull/2298#issuecomment-1769730612

   @FlorianHockmann The examples aren't integrated into the pipeline or GH 
actions, but they are self-contained as simple projects in their respective 
`example` folders and can be run after building.  Currently undecided on where 
to introduce them to users, but we could maybe add them to either the docs in 
each GLV section or in README files.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[tinkerpop] branch TINKERPOP-2978-3 updated (c0beabc3ce -> 1e2c1a1bf7)

2023-10-18 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a change to branch TINKERPOP-2978-3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 discard c0beabc3ce remove traversal parameter for list functions
 discard a4da4fcc43 revert collectionutil
 discard 5da6785a39 Implement list functions.
 add 83f7f76d13 Change typescript support to the more recent 
DefinitelyTyped CTR
 add 700b7e7784 Added post-release step for release manager to consider 
typescript CTR
 add aa42d746b2 Bump github.com/cucumber/godog from 0.12.6 to 0.13.0 in 
/gremlin-go (#2214)
 add 06bb17d23b Bump golang.org/x/text from 0.12.0 to 0.13.0 in /gremlin-go 
(#2230)
 add 8688ef61c0 Bump @types/node from 20.5.0 to 20.8.6 in /gremlint (#2290)
 add 9c1002054c Merge branch '3.5-dev' into 3.6-dev
 add c5488fa19a Merge branch '3.6-dev'
 add 3fd6e78662 Upgrade docs/gremlint node to 18 and npm audit fix (#2295)
 add 501337ae8a Bump xunit from 2.4.2 to 2.5.3 in /gremlin-dotnet
 add b10347762c Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit-2.5.3' into 3.5-dev
 add 1e51ac8665 Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in 
/gremlin-dotnet
 add 873a47dcad Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/xunit.runner.visualstudio-2.5.3' into 
3.5-dev
 add 3a5dedb3f5 Merge branch '3.5-dev' into 3.6-dev
 add 78075f37a5 Merge branch '3.6-dev'
 add 96ac0ac81a Bump gherkin from 26.0.3 to 27.0.0 in /gremlin-dotnet
 add eb1962db2a Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/gherkin-27.0.0' into 3.5-dev
 add d0a19dbc9c Bump BenchmarkDotNet from 0.13.8 to 0.13.9 in 
/gremlin-dotnet
 add 733bec970b Merge branch 
'dependabot/nuget/gremlin-dotnet/3.5-dev/BenchmarkDotNet-0.13.9' into 3.5-dev
 add 76b4cfab3b Merge branch '3.5-dev' into 3.6-dev
 add 1222c257b6 Merge branch '3.6-dev'
 add ed9b6c5aa8 Squashed docs/gremlint dependabots:
 add 81775cbcaf Change substring() to use `startIndex, endIndex` instead of 
`startIndex, length` (#2296)
 add 3cf2f94446 [TINKERPOP-2979] added datetime() (#2289)
 add de4ac90dda [TINKERPOP-2423] Do not use XOR in hashCode computation 
when redundant parameters are used (#2254)
 add 3c4418ba24 Merge branch '3.6-dev'
 new 1e2c1a1bf7 Implement list functions. fix traversalmethodvisitortest 
issues with list comparison update tag for crew graph remove traversal 
constructor, fix typo, remove unused file remove traversal parameter for list 
functions ignore tests as set not implemented for gremlin-js update signature 
for dotnet

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   (c0beabc3ce)
\
 N -- N -- N   refs/heads/TINKERPOP-2978-3 (1e2c1a1bf7)

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:
 CHANGELOG.asciidoc |   2 +
 docs/gremlint/package-lock.json| 685 +
 docs/gremlint/package.json |  10 +-
 docs/site/home/community.html  |   8 +-
 docs/src/dev/developer/release.asciidoc|   1 +
 docs/src/dev/provider/gremlin-semantics.asciidoc   |   8 +-
 docs/src/upgrade/release-3.7.x.asciidoc|  68 +-
 .../tinkerpop/gremlin/jsr223/CoreImports.java  |   1 +
 .../language/grammar/GenericLiteralVisitor.java|   2 +
 .../traversal/dsl/graph/GraphTraversal.java|  18 +-
 .../gremlin/process/traversal/dsl/graph/__.java|   4 +-
 .../process/traversal/step/map/GraphStep.java  |   8 +-
 .../process/traversal/step/map/PropertiesStep.java |  15 +-
 .../process/traversal/step/map/SubstringStep.java  |  43 +-
 .../process/traversal/step/map/VertexStep.java |  15 +-
 .../step/sideEffect/SideEffectCapStep.java |   9 +-
 .../tinkerpop/gremlin/util/DatetimeHelper.java |   7 +
 .../grammar/GeneralLiteralVisitorTest.java |  12 +
 .../process/traversal/step/map/GraphStepTest.java  |  27 +
 .../traversal/step/map/PropertiesStepTest.java |  42 ++
 .../traversal/step/map/SubstringStepTest.java  |  28 +-
 .../process/traversal/step/map/VertexStepTest.java |  28 +
 .../step/sideEffect/SideEffectCapStepTest.java |  28

[tinkerpop] branch TINKERPOP-2978-3 updated: Modify tests

2023-10-18 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch TINKERPOP-2978-3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/TINKERPOP-2978-3 by this push:
 new 3ab08bc9bb Modify tests
3ab08bc9bb is described below

commit 3ab08bc9bbc6287b2312ff56d1322b2ee6c3a7dd
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Wed Oct 18 18:26:41 2023 -0700

Modify tests
---
 .../gremlin/hadoop/structure/io/RecordReaderWriterTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/hadoop-gremlin/src/test/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/RecordReaderWriterTest.java
 
b/hadoop-gremlin/src/test/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/RecordReaderWriterTest.java
index b73f62f43d..43f26f801f 100644
--- 
a/hadoop-gremlin/src/test/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/RecordReaderWriterTest.java
+++ 
b/hadoop-gremlin/src/test/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/RecordReaderWriterTest.java
@@ -78,7 +78,7 @@ public abstract class RecordReaderWriterTest {
 public void shouldSplitFileAndWriteProperSplits() throws Exception {
 for (int numberOfSplits = 1; numberOfSplits < 10; numberOfSplits++) {
 final File testFile = new 
File(TestFiles.PATHS.get(getInputFilename()));
-logger.info("Testing: {}", testFile + " (splits {}", 
numberOfSplits + ")");
+System.out.println("Testing: " + testFile + " (splits " + 
numberOfSplits + ")");
 final List splits = generateFileSplits(testFile, 
numberOfSplits);
 final Class> 
inputFormatClass = getInputFormat();
 final Class> 
outputFormatClass = getOutputFormat();
@@ -140,12 +140,12 @@ public abstract class RecordReaderWriterTest {
 
 boolean foundKeyValue = false;
 for (final FileSplit split : fileSplits) {
-logger.info("\treading file split {}", split.getPath().getName() + 
" ({}", split.getStart() + "..." + (split.getStart() + split.getLength()), "{} 
{} bytes)");
+System.out.println("\treading file split " + 
split.getPath().getName() + " (" + split.getStart() + "..." + (split.getStart() 
+ split.getLength()) + " bytes)");
 final RecordReader reader = inputFormat.createRecordReader(split, 
job);
 
 float lastProgress = -1f;
 while (reader.nextKeyValue()) {
-//System.out.println("" + reader.getProgress() + "> " + 
reader.getCurrentKey() + ": " + reader.getCurrentValue());
+System.out.println("" + reader.getProgress() + "> " + 
reader.getCurrentKey() + ": " + reader.getCurrentValue());
 final float progress = reader.getProgress();
 assertTrue(progress >= lastProgress);
 assertEquals(NullWritable.class, 
reader.getCurrentKey().getClass());



[tinkerpop] branch TINKERPOP-2978-3 updated (3ab08bc9bb -> b3b0563e4c)

2023-10-18 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a change to branch TINKERPOP-2978-3
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 discard 3ab08bc9bb Modify tests
 discard 1e2c1a1bf7 Implement list functions. fix traversalmethodvisitortest 
issues with list comparison update tag for crew graph remove traversal 
constructor, fix typo, remove unused file remove traversal parameter for list 
functions ignore tests as set not implemented for gremlin-js update signature 
for dotnet
 new b3b0563e4c Implement list functions. fix traversalmethodvisitortest 
issues with list comparison update tag for crew graph remove traversal 
constructor, fix typo, remove unused file remove traversal parameter for list 
functions ignore tests as set not implemented for gremlin-js update signature 
for dotnet unit tests + feature test updates

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   (3ab08bc9bb)
\
 N -- N -- N   refs/heads/TINKERPOP-2978-3 (b3b0563e4c)

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:
 .../traversal/dsl/graph/GraphTraversal.java|  4 +-
 .../gremlin/process/traversal/dsl/graph/__.java|  4 +-
 .../process/traversal/step/map/CombineStep.java|  2 +-
 .../process/traversal/step/map/DifferenceStep.java |  2 +-
 .../process/traversal/step/map/DisjunctStep.java   |  2 +-
 .../process/traversal/step/map/IntersectStep.java  |  2 +-
 .../process/traversal/step/map/ProductStep.java|  2 +-
 .../traversal/step/map/TraversalMergeStep.java |  7 +-
 .../traversal/step/map/CombineStepTest.java| 71 
 .../traversal/step/map/DifferenceStepTest.java | 67 +++
 .../traversal/step/map/DisjunctStepTest.java   | 30 ++-
 .../traversal/step/map/IntersectStepTest.java  | 68 +++
 .../{ReplaceStepTest.java => JoinStepTest.java}| 39 +
 .../traversal/step/map/ProductStepTest.java| 99 ++
 .../traversal/step/map/ReverseStepTest.java| 14 +--
 .../traversal/step/map/TraversalMergeStepTest.java | 68 +++
 .../Process/Traversal/GraphTraversal.cs|  2 +-
 .../gremlin/test/features/map/Combine.feature  | 18 
 .../gremlin/test/features/map/Difference.feature   | 18 
 .../gremlin/test/features/map/Disjunct.feature | 18 
 .../gremlin/test/features/map/Intersect.feature| 18 
 .../gremlin/test/features/map/Join.feature |  2 +-
 .../gremlin/test/features/map/Merge.feature| 18 
 .../gremlin/test/features/map/Product.feature  | 18 
 .../structure/io/RecordReaderWriterTest.java   |  6 +-
 25 files changed, 553 insertions(+), 46 deletions(-)
 create mode 100644 
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/CombineStepTest.java
 create mode 100644 
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/DifferenceStepTest.java
 create mode 100644 
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/IntersectStepTest.java
 copy 
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/{ReplaceStepTest.java
 => JoinStepTest.java} (59%)
 create mode 100644 
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/ProductStepTest.java
 create mode 100644 
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/TraversalMergeStepTest.java



Re: [PR] TINKERPOP-2995 Create Sample Applications in each GLV [tinkerpop]

2023-10-18 Thread via GitHub


FlorianHockmann commented on code in PR #2298:
URL: https://github.com/apache/tinkerpop/pull/2298#discussion_r1364989030


##
gremlin-dotnet/example/Example.cs:
##
@@ -0,0 +1,133 @@
+/*
+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.
+*/
+
+using Gremlin;
+using Gremlin.Net.Driver;
+using Gremlin.Net.Driver.Remote;
+using Gremlin.Net.Structure.IO.GraphSON;
+using Gremlin.Net.Process.Traversal;
+
+// Common imports
+using static Gremlin.Net.Process.Traversal.AnonymousTraversalSource;
+using static Gremlin.Net.Process.Traversal.__;
+using static Gremlin.Net.Process.Traversal.P;
+using static Gremlin.Net.Process.Traversal.Order;
+using static Gremlin.Net.Process.Traversal.Operator;
+using static Gremlin.Net.Process.Traversal.Pop;
+using static Gremlin.Net.Process.Traversal.Scope;
+using static Gremlin.Net.Process.Traversal.TextP;
+using static Gremlin.Net.Process.Traversal.Column;
+using static Gremlin.Net.Process.Traversal.Direction;
+using static Gremlin.Net.Process.Traversal.Cardinality;
+using static Gremlin.Net.Process.Traversal.CardinalityValue;
+using static Gremlin.Net.Process.Traversal.T;
+
+
+ConnectionExample();
+BasicGremlinExample();
+ModernTraversalExample();
+
+static void ConnectionExample()
+{
+var server = new GremlinServer("localhost", 8182);
+
+// Connecting to the server
+// using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+
+// Connecting to the server with customized configurations
+using var remoteConnection = new DriverRemoteConnection(new GremlinClient(
+new GremlinServer(hostname:"localhost", port:8182, enableSsl:false, 
username:"", password:"")), "g");
+
+// Specifying a serializer
+var client = new GremlinClient(server, new GraphSON3MessageSerializer());
+
+// Creating the graph traversal
+var g = Traversal().WithRemote(remoteConnection);
+}
+
+static void BasicGremlinExample()
+{
+var server = new GremlinServer("localhost", 8182);
+using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+var g = Traversal().WithRemote(remoteConnection);
+
+// Basic Gremlin: adding and retrieving data
+var v1 = g.AddV("person").Property("name", "marko").Next();
+var v2 = g.AddV("person").Property("name", "stephen").Next();
+var v3 = g.AddV("person").Property("name", "vadas").Next();
+
+// Be sure to use a terminating step like next() or iterate() so that the 
traversal "executes"
+// Iterate() does not return any data and is used to just generate 
side-effects (i.e. write data to the database)
+g.V(v1).AddE("knows").To(v2).Property("weight", 0.75).Iterate();
+g.V(v1).AddE("knows").To(v3).Property("weight", 0.75).Iterate();
+
+// Retrieve the data from the "marko" vertex
+var marko = 
g.V().Has("person","name","marko").Values("name").Next();
+Console.WriteLine("name: " + marko);
+
+// Find the "marko" vertex and then traverse to the people he "knows" and 
return their data
+var peopleMarkoKnows = 
g.V().Has("person","name","marko").Out("knows").Values("name").ToList();
+foreach (var person in peopleMarkoKnows)
+{
+Console.WriteLine("marko knows " + person);
+}
+}
+
+static void ModernTraversalExample()
+{
+var server = new GremlinServer("localhost", 8182);
+using var remoteConnection = new DriverRemoteConnection(new 
GremlinClient(server), "g");
+var g = Traversal().WithRemote(remoteConnection);
+
+/*
+This example requires the Modern toy graph to be preloaded upon launching 
the Gremlin server.
+For details, see 
https://tinkerpop.apache.org/docs/current/reference/#gremlin-server-docker-image
 and use
+conf/gremlin-server-modern.yaml.
+*/
+var e1 = g.V(1).BothE().ToList(); // (1)
+var e2 = g.V(1).BothE().Where(OtherV().HasId(2)).ToList(); // (2)
+var v1 = g.V(1).Next();
+var v2 = g.V(2).Next();
+var e3 = g.V(v1).BothE().Where(OtherV().Is(v2)).ToList(); // (3)
+var e4 = g.V(v1).OutE().Where(InV().Is(v2)).ToList(); // (4)
+var e5 = g.V(1).OutE().Where(InV().Has(T.Id, Within(2, 3))).ToList(); // 
(5)

Review Comment:
   Ah ok, thanks for the explanation. Then we can keep it of course to stay 
consistent.



--