(tinkerpop) branch dependabot/npm_and_yarn/docs/gremlint/master/web-vitals-4.0.1 updated (cd44722df4 -> 977d14bb98)
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-4.0.1 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard cd44722df4 --- updated-dependencies: - dependency-name: web-vitals dependency-type: direct:production update-type: version-update:semver-major ... add a0e6869a83 Refactor mutation events registration by moving reusable code from relevant steps to EventUti add bd5836a5bc Minor formatting/javadoc CTR add 09f821f1ca Merge branch '3.7-dev' add 1f9ce19ae0 Open NoOpBarrierStep for extensibility add a12ae55e93 Merge branch '3.7-dev' add 1ea4cdaed1 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /gremlin-go (#2511) add ffd6877b5d Bump github.com/cucumber/godog from 0.14.0 to 0.14.1 in /gremlin-go (#2581) add 6afa257740 Bump golang.org/x/text from 0.14.0 to 0.15.0 in /gremlin-go (#2587) add 20cd01ed59 Merge remote-tracking branch 'origin/3.6-dev' into 3.7-dev add 2bd81d6145 Merge branch '3.7-dev' add 68aed2aace Adding Getter for fields of IntersectStep and DisjunctStep. add cf6669a142 Merge branch '3.7-dev' add d81b6003b4 Fixing connection cleanup in case of mass connection breaking. add e7f184646d Updated CHANGELOG CTR add e37f9a8de0 Merge branch '3.6-dev' into 3.7-dev add a4adbde129 Merge branch '3.7-dev' add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 299bab5544 Merge branch '3.6-dev' into 3.7-dev add 84d1005fb4 Merge branch '3.7-dev' add 977d14bb98 --- updated-dependencies: - dependency-name: web-vitals dependency-type: direct:production update-type: version-update:semver-major ... 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 (cd44722df4) \ N -- N -- N refs/heads/dependabot/npm_and_yarn/docs/gremlint/master/web-vitals-4.0.1 (977d14bb98) 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: CHANGELOG.asciidoc | 4 +- .../process/traversal/step/filter/DropStep.java| 36 +--- .../traversal/step/map/AddEdgeStartStep.java | 8 +- .../process/traversal/step/map/AddEdgeStep.java| 8 +- .../traversal/step/map/AddVertexStartStep.java | 8 +- .../process/traversal/step/map/AddVertexStep.java | 8 +- .../process/traversal/step/map/DisjunctStep.java | 8 + .../process/traversal/step/map/IntersectStep.java | 8 + .../process/traversal/step/map/MergeEdgeStep.java | 21 +- .../traversal/step/map/MergeVertexStep.java| 18 +- .../traversal/step/map/NoOpBarrierStep.java| 12 +- .../traversal/step/sideEffect/AddPropertyStep.java | 83 .../traversal/step/util/event/EventUtil.java | 218 + gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Gremlin.Net.IntegrationTest.csproj | 6 +- .../Gremlin.Net.Template.IntegrationTest.csproj| 6 +- .../Gremlin.Net.UnitTest.csproj| 6 +- .../tinkerpop/gremlin/driver/ConnectionPool.java | 24 +-- gremlin-go/go.mod | 8 +- gremlin-go/go.sum | 17 +- 20 files changed, 337 insertions(+), 172 deletions(-) create mode 100644 gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/util/event/EventUtil.java
(tinkerpop) branch dependabot/npm_and_yarn/gremlin-javascript/src/main/javascript/gremlin-javascript/3.6-dev/eslint-9.3.0 updated (17af5dc128 -> ea49a66c72)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/npm_and_yarn/gremlin-javascript/src/main/javascript/gremlin-javascript/3.6-dev/eslint-9.3.0 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard 17af5dc128 Bump eslint add 1ea4cdaed1 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /gremlin-go (#2511) add ffd6877b5d Bump github.com/cucumber/godog from 0.14.0 to 0.14.1 in /gremlin-go (#2581) add 6afa257740 Bump golang.org/x/text from 0.14.0 to 0.15.0 in /gremlin-go (#2587) add d81b6003b4 Fixing connection cleanup in case of mass connection breaking. add e7f184646d Updated CHANGELOG CTR add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add ea49a66c72 Bump eslint 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 (17af5dc128) \ N -- N -- N refs/heads/dependabot/npm_and_yarn/gremlin-javascript/src/main/javascript/gremlin-javascript/3.6-dev/eslint-9.3.0 (ea49a66c72) 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: CHANGELOG.asciidoc | 1 + gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Gremlin.Net.IntegrationTest.csproj | 6 +++--- .../Gremlin.Net.Template.IntegrationTest.csproj| 6 +++--- .../Gremlin.Net.UnitTest.csproj| 6 +++--- .../tinkerpop/gremlin/driver/ConnectionPool.java | 24 -- gremlin-go/go.mod | 8 gremlin-go/go.sum | 17 --- 8 files changed, 38 insertions(+), 32 deletions(-)
(tinkerpop) branch dependabot/pip/gremlin-python/src/main/python/3.6-dev/aiohttp-3.9.5 updated (da0c9af9b2 -> 34c3d5cba2)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/pip/gremlin-python/src/main/python/3.6-dev/aiohttp-3.9.5 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard da0c9af9b2 Bump aiohttp from 3.8.0 to 3.9.5 in /gremlin-python/src/main/python add 193d47c696 Include /build for gremlin-javascript in .gitignore from 4.x CTR add c7a391b1c1 CTR add docker container & image clean up for python package stage add 688974dbe8 TINKERPOP-3035 Add Property(IDictionary) overload add 7d68935434 Merge branch 'TINKERPOP-3035' into 3.6-dev add 9174df38de Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0 in /gremlin-dotnet add de0bd0bb2e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.0' into 3.6-dev add 1421aa06f8 Bump xunit from 2.7.1 to 2.8.0 in /gremlin-dotnet add cd5aa3c445 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.0' into 3.6-dev add 1daf955d0b Increase delay in test for GH Actions CTR add 399741e7f4 fixed non-idempotent unit test add 1ea4cdaed1 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /gremlin-go (#2511) add ffd6877b5d Bump github.com/cucumber/godog from 0.14.0 to 0.14.1 in /gremlin-go (#2581) add 6afa257740 Bump golang.org/x/text from 0.14.0 to 0.15.0 in /gremlin-go (#2587) add d81b6003b4 Fixing connection cleanup in case of mass connection breaking. add e7f184646d Updated CHANGELOG CTR add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 34c3d5cba2 Bump aiohttp from 3.8.0 to 3.9.5 in /gremlin-python/src/main/python 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 (da0c9af9b2) \ N -- N -- N refs/heads/dependabot/pip/gremlin-python/src/main/python/3.6-dev/aiohttp-3.9.5 (34c3d5cba2) 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: CHANGELOG.asciidoc | 1 + .../gremlin/process/TraversalStrategiesTest.java | 19 - gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Process/Traversal/GraphTraversal.cs| 10 + .../Gremlin.Net.IntegrationTest.csproj | 6 +++--- .../Gremlin.Net.Template.IntegrationTest.csproj| 6 +++--- .../Gremlin.Net.UnitTest/Driver/ConnectionTests.cs | 2 +- .../Gremlin.Net.UnitTest.csproj| 6 +++--- .../Traversal/Translator/GroovyTranslatorTests.cs | 9 ++-- .../tinkerpop/gremlin/driver/ConnectionPool.java | 24 -- gremlin-go/go.mod | 8 gremlin-go/go.sum | 17 --- .../main/javascript/gremlin-javascript/.gitignore | 3 ++- gremlin-python/pom.xml | 10 + 14 files changed, 77 insertions(+), 46 deletions(-)
(tinkerpop) branch dependabot/npm_and_yarn/docs/gremlint/master/types/node-20.12.13 updated (6954206d2d -> ae42985412)
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.12.13 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard 6954206d2d Bump @types/node from 20.11.23 to 20.12.13 in /docs/gremlint add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 299bab5544 Merge branch '3.6-dev' into 3.7-dev add 84d1005fb4 Merge branch '3.7-dev' add ae42985412 Bump @types/node from 20.11.23 to 20.12.13 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 (6954206d2d) \ N -- N -- N refs/heads/dependabot/npm_and_yarn/docs/gremlint/master/types/node-20.12.13 (ae42985412) 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-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 6 +++--- .../Gremlin.Net.Template.IntegrationTest.csproj | 6 +++--- .../test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-)
(tinkerpop) branch dependabot/npm_and_yarn/gremlint/3.6-dev/types/node-20.12.13 updated (66a9bad524 -> 6844cd04d1)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/npm_and_yarn/gremlint/3.6-dev/types/node-20.12.13 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard 66a9bad524 Bump @types/node from 20.11.10 to 20.12.13 in /gremlint add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 6844cd04d1 Bump @types/node from 20.11.10 to 20.12.13 in /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 (66a9bad524) \ N -- N -- N refs/heads/dependabot/npm_and_yarn/gremlint/3.6-dev/types/node-20.12.13 (6844cd04d1) 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-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 6 +++--- .../Gremlin.Net.Template.IntegrationTest.csproj | 6 +++--- .../test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-)
(tinkerpop) branch dependabot/npm_and_yarn/gremlin-javascript/src/main/javascript/gremlin-javascript/3.6-dev/mocha-10.4.0 updated (511ead41b2 -> 1c6e4a0607)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/npm_and_yarn/gremlin-javascript/src/main/javascript/gremlin-javascript/3.6-dev/mocha-10.4.0 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard 511ead41b2 Bump mocha in /gremlin-javascript/src/main/javascript/gremlin-javascript add 7619c535fe CTR js and go runtime upgrade with minor doc fixes add d9da293cec [TINKERPOP-3068] Make serviceName and mergedParams public for provider usage in CallStep add d577767208 CTR add public access for checks on PartitionStrategy use in Merge add 948e4abf5b CTR update copyright year for NOTICE to 2024 add 495c3e28cf TinkerPop 3.6.7 release add 8c73d09c8d CTR Bump to 3.6.8-SNAPSHOT add 28a1e2e613 Bump Microsoft.Extensions.Logging.Abstractions in /gremlin-dotnet add b931b54135 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.Extensions.Logging.Abstractions-8.0.1' into 3.6-dev add 23a324f6c1 Bump xunit.runner.visualstudio from 2.5.7 to 2.5.8 in /gremlin-dotnet add be14a92227 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.5.8' into 3.6-dev add 56993b75b8 Bump xunit from 2.7.0 to 2.7.1 in /gremlin-dotnet add 16441ee37e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.7.1' into 3.6-dev add 193d47c696 Include /build for gremlin-javascript in .gitignore from 4.x CTR add c7a391b1c1 CTR add docker container & image clean up for python package stage add 688974dbe8 TINKERPOP-3035 Add Property(IDictionary) overload add 7d68935434 Merge branch 'TINKERPOP-3035' into 3.6-dev add 9174df38de Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0 in /gremlin-dotnet add de0bd0bb2e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.0' into 3.6-dev add 1421aa06f8 Bump xunit from 2.7.1 to 2.8.0 in /gremlin-dotnet add cd5aa3c445 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.0' into 3.6-dev add 1daf955d0b Increase delay in test for GH Actions CTR add 399741e7f4 fixed non-idempotent unit test add 1ea4cdaed1 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /gremlin-go (#2511) add ffd6877b5d Bump github.com/cucumber/godog from 0.14.0 to 0.14.1 in /gremlin-go (#2581) add 6afa257740 Bump golang.org/x/text from 0.14.0 to 0.15.0 in /gremlin-go (#2587) add d81b6003b4 Fixing connection cleanup in case of mass connection breaking. add e7f184646d Updated CHANGELOG CTR add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 1c6e4a0607 Bump mocha in /gremlin-javascript/src/main/javascript/gremlin-javascript 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 (511ead41b2) \ N -- N -- N refs/heads/dependabot/npm_and_yarn/gremlin-javascript/src/main/javascript/gremlin-javascript/3.6-dev/mocha-10.4.0 (1c6e4a0607) 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: .github/workflows/build-test.yml | 2 +- CHANGELOG.asciidoc | 30 +- NOTICE | 2 +- .../dev/developer/development-environment.asciidoc | 2 +- docs/src/upgrade/release-3.5.x.asciidoc| 2 +- docs/src/upgrade/release-3.6.x.asciidoc| 20 --- gremlin-annotations/pom.xml| 2 +- gremlin-archetype/gremlin-archetype-dsl/pom.xml| 2 +- gremlin-archetype/gremlin-archetype-server/pom.xml | 2 +- .../gremlin-archetype-tinkergraph/pom.xml | 2 +- gremlin-archetype/pom.x
(tinkerpop) branch dependabot/pip/gremlin-python/src/main/python/3.6-dev/idna-3.7 updated (a72d30c96b -> 254a870dd8)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/pip/gremlin-python/src/main/python/3.6-dev/idna-3.7 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard a72d30c96b Bump idna from 3.6 to 3.7 in /gremlin-python/src/main/python add 8c73d09c8d CTR Bump to 3.6.8-SNAPSHOT add 28a1e2e613 Bump Microsoft.Extensions.Logging.Abstractions in /gremlin-dotnet add b931b54135 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.Extensions.Logging.Abstractions-8.0.1' into 3.6-dev add 23a324f6c1 Bump xunit.runner.visualstudio from 2.5.7 to 2.5.8 in /gremlin-dotnet add be14a92227 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.5.8' into 3.6-dev add 56993b75b8 Bump xunit from 2.7.0 to 2.7.1 in /gremlin-dotnet add 16441ee37e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.7.1' into 3.6-dev add 193d47c696 Include /build for gremlin-javascript in .gitignore from 4.x CTR add c7a391b1c1 CTR add docker container & image clean up for python package stage add 688974dbe8 TINKERPOP-3035 Add Property(IDictionary) overload add 7d68935434 Merge branch 'TINKERPOP-3035' into 3.6-dev add 9174df38de Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0 in /gremlin-dotnet add de0bd0bb2e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.0' into 3.6-dev add 1421aa06f8 Bump xunit from 2.7.1 to 2.8.0 in /gremlin-dotnet add cd5aa3c445 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.0' into 3.6-dev add 1daf955d0b Increase delay in test for GH Actions CTR add 399741e7f4 fixed non-idempotent unit test add 1ea4cdaed1 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /gremlin-go (#2511) add ffd6877b5d Bump github.com/cucumber/godog from 0.14.0 to 0.14.1 in /gremlin-go (#2581) add 6afa257740 Bump golang.org/x/text from 0.14.0 to 0.15.0 in /gremlin-go (#2587) add d81b6003b4 Fixing connection cleanup in case of mass connection breaking. add e7f184646d Updated CHANGELOG CTR add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 254a870dd8 Bump idna from 3.6 to 3.7 in /gremlin-python/src/main/python 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 (a72d30c96b) \ N -- N -- N refs/heads/dependabot/pip/gremlin-python/src/main/python/3.6-dev/idna-3.7 (254a870dd8) 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: CHANGELOG.asciidoc | 5 + docs/src/upgrade/release-3.6.x.asciidoc| 14 +++-- gremlin-annotations/pom.xml| 2 +- gremlin-archetype/gremlin-archetype-dsl/pom.xml| 2 +- gremlin-archetype/gremlin-archetype-server/pom.xml | 2 +- .../gremlin-archetype-tinkergraph/pom.xml | 2 +- gremlin-archetype/pom.xml | 2 +- gremlin-console/bin/gremlin.sh | 2 +- gremlin-console/pom.xml| 2 +- gremlin-core/pom.xml | 2 +- .../org/apache/tinkerpop/gremlin/util/Gremlin.java | 2 +- .../gremlin/process/TraversalStrategiesTest.java | 19 - gremlin-dotnet/pom.xml | 2 +- .../Gremlin.Net.Template.csproj| 2 +- .../Gremlin.Net.Template.nuspec| 2 +- gremlin-dotnet/src/Gremlin.Net/Driver/Tokens.cs| 2 +- gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 6 +++--- .../Process/Traversal/GraphTraversal.cs| 10 + gremlin-dotnet/src/p
Re: [PR] Bump web-vitals from 3.5.1 to 4.0.1 in /docs/gremlint [tinkerpop]
Cole-Greer commented on PR #2615: URL: https://github.com/apache/tinkerpop/pull/2615#issuecomment-2142772489 @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
Re: [PR] Bump @types/node from 20.11.10 to 20.12.13 in /gremlint [tinkerpop]
Cole-Greer commented on PR #2624: URL: https://github.com/apache/tinkerpop/pull/2624#issuecomment-2142772411 @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
Re: [PR] Bump eslint from 8.57.0 to 9.3.0 in /gremlin-javascript/src/main/javascript/gremlin-javascript [tinkerpop]
Cole-Greer commented on PR #2613: URL: https://github.com/apache/tinkerpop/pull/2613#issuecomment-2142772582 @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
Re: [PR] Bump aiohttp from 3.8.0 to 3.9.5 in /gremlin-python/src/main/python [tinkerpop]
Cole-Greer commented on PR #2566: URL: https://github.com/apache/tinkerpop/pull/2566#issuecomment-2142772092 @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
Re: [PR] Bump @types/node from 20.11.23 to 20.12.13 in /docs/gremlint [tinkerpop]
Cole-Greer commented on PR #2625: URL: https://github.com/apache/tinkerpop/pull/2625#issuecomment-2142772325 @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/typescript-5.4.5 updated (08e46ed12a -> 9073b13491)
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/typescript-5.4.5 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard 08e46ed12a Bump typescript from 4.9.5 to 5.4.5 in /docs/gremlint add c85d92ac33 CTR update website for 3.6.7/3.7.2 release add 8c73d09c8d CTR Bump to 3.6.8-SNAPSHOT add e68a947085 Merge branch '3.6-dev' into 3.7-dev add 17f0dda41b CTR bump to 3.7.3-SNAPSHOT add 054590c5df Merge branch '3.7-dev' add 28a1e2e613 Bump Microsoft.Extensions.Logging.Abstractions in /gremlin-dotnet add b931b54135 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.Extensions.Logging.Abstractions-8.0.1' into 3.6-dev add 23a324f6c1 Bump xunit.runner.visualstudio from 2.5.7 to 2.5.8 in /gremlin-dotnet add be14a92227 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.5.8' into 3.6-dev add 56993b75b8 Bump xunit from 2.7.0 to 2.7.1 in /gremlin-dotnet add 16441ee37e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.7.1' into 3.6-dev add 3a9fb8eef6 Merge branch '3.6-dev' into 3.7-dev add ac40c74429 Merge branch '3.7-dev' add 34870d47dc Fixed typo in mimetype for io docs CTR add d841b8c25d Merge branch '3.7-dev' add 193d47c696 Include /build for gremlin-javascript in .gitignore from 4.x CTR add 0e371060eb Merge branch '3.6-dev' into 3.7-dev add e3ced38b21 Merge branch '3.7-dev' add c7a391b1c1 CTR add docker container & image clean up for python package stage add 7e0f30a949 Merge branch '3.6-dev' into 3.7-dev add 8bb5d16acd Merge branch '3.7-dev' add 688974dbe8 TINKERPOP-3035 Add Property(IDictionary) overload add 7d68935434 Merge branch 'TINKERPOP-3035' into 3.6-dev add 98bc00f4dc Merge branch '3.6-dev' into 3.7-dev add d333ed0212 Merge branch '3.7-dev' add 9174df38de Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0 in /gremlin-dotnet add de0bd0bb2e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.0' into 3.6-dev add 1421aa06f8 Bump xunit from 2.7.1 to 2.8.0 in /gremlin-dotnet add cd5aa3c445 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.0' into 3.6-dev add 7369fba54f Merge branch '3.6-dev' into 3.7-dev add 82fe33939a Merge branch '3.7-dev' add 1daf955d0b Increase delay in test for GH Actions CTR add 225aeffc29 Merge branch '3.6-dev' into 3.7-dev add 66e5a47ffd Merge branch '3.7-dev' add 399741e7f4 fixed non-idempotent unit test add 521d24c5ba Merge branch '3.6-dev' into 3.7-dev add 9abcc918b9 Merge branch '3.7-dev' add 1fa67c2c1e Fix generics for .NET add 459f32cfe3 Merge branch '3.7-dev' add 1a694018d2 Fix nullability checks in .net deserializers add 5af9e42587 Merge branch '3.7-dev' add a0e6869a83 Refactor mutation events registration by moving reusable code from relevant steps to EventUti add bd5836a5bc Minor formatting/javadoc CTR add 09f821f1ca Merge branch '3.7-dev' add 1f9ce19ae0 Open NoOpBarrierStep for extensibility add a12ae55e93 Merge branch '3.7-dev' add 1ea4cdaed1 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /gremlin-go (#2511) add ffd6877b5d Bump github.com/cucumber/godog from 0.14.0 to 0.14.1 in /gremlin-go (#2581) add 6afa257740 Bump golang.org/x/text from 0.14.0 to 0.15.0 in /gremlin-go (#2587) add 20cd01ed59 Merge remote-tracking branch 'origin/3.6-dev' into 3.7-dev add 2bd81d6145 Merge branch '3.7-dev' add 68aed2aace Adding Getter for fields of IntersectStep and DisjunctStep. add cf6669a142 Merge branch '3.7-dev' add d81b6003b4 Fixing connection cleanup in case of mass connection breaking. add e7f184646d Updated CHANGELOG CTR add e37f9a8de0 Merge branch '3.6-dev' into 3.7-dev add a4adbde129 Merge branch '3.7-dev' add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 299bab5544 Merge branch '3.6-dev' into 3.7-dev add 84d1005fb4 Merge branch '3.7-dev' add 9073b13491 Bump typescript from 4.9.5 to 5.4.5 in /docs/gremlint This update added new revisio
Re: [PR] Bump mocha from 10.3.0 to 10.4.0 in /gremlin-javascript/src/main/javascript/gremlin-javascript [tinkerpop]
Cole-Greer commented on PR #2530: URL: https://github.com/apache/tinkerpop/pull/2530#issuecomment-2142772213 @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
Re: [PR] Bump idna from 3.6 to 3.7 in /gremlin-python/src/main/python [tinkerpop]
Cole-Greer commented on PR #2558: URL: https://github.com/apache/tinkerpop/pull/2558#issuecomment-2142771871 @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
Re: [PR] Bump typescript from 4.9.5 to 5.4.5 in /docs/gremlint [tinkerpop]
Cole-Greer commented on PR #2559: URL: https://github.com/apache/tinkerpop/pull/2559#issuecomment-2142771623 @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) 10/10: Get C# tests working by properly ignoring tests that include lambdas that aren't translated
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-3028 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 648b1f92706f27571a1d83f6c17168eb1b22af8f Author: Stephen Mallette AuthorDate: Fri May 31 14:01:17 2024 -0400 Get C# tests working by properly ignoring tests that include lambdas that aren't translated --- .../Process/Traversal/GraphTraversal.cs| 11 --- .../Gherkin/GherkinTestRunner.cs | 35 -- .../Gherkin/IgnoreException.cs | 7 - .../Traversal/Translator/GroovyTranslatorTests.cs | 2 +- 4 files changed, 33 insertions(+), 22 deletions(-) diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs index 1f7c7ee048..13b9beca57 100644 --- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs +++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs @@ -1770,22 +1770,11 @@ namespace Gremlin.Net.Process.Traversal return Wrap(this); } -/// -/// Adds the property step to this . -/// -public GraphTraversal Property(IDictionary value) -{ -Bytecode.AddStep("property", value); -return Wrap(this); -} - /// /// Adds the property step to this . /// public GraphTraversal Property (IDictionary map) { -if (map == null) throw new ArgumentNullException(nameof(map)); - Bytecode.AddStep("property", map); return Wrap(this); } diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs index a28730be0d..f669045255 100644 --- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs +++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs @@ -51,7 +51,32 @@ namespace Gremlin.Net.IntegrationTest.Gherkin {"g_withStrategiesXProductiveByStrategyX_V_group_byXageX", IgnoreReason.NullKeysInMapNotSupported}, {"g_withStrategiesXProductiveByStrategyX_V_groupCount_byXageX", IgnoreReason.NullKeysInMapNotSupported}, {"g_withoutStrategiesXCountStrategyX_V_count", IgnoreReason.NoReason}, // needs investigation - {"g_withoutStrategiesXLazyBarrierStrategyX_V_asXlabelX_aggregateXlocal_xX_selectXxX_selectXlabelX", IgnoreReason.NoReason} + {"g_withoutStrategiesXLazyBarrierStrategyX_V_asXlabelX_aggregateXlocal_xX_selectXxX_selectXlabelX", IgnoreReason.NoReason}, +{"g_V_outXcreatedX_hasXname__mapXlengthX_isXgtX3XXX_name", IgnoreReason.LambdasNotTranslated}, +{"g_V_filterXfalseX", IgnoreReason.LambdasNotTranslated}, +{"g_V_filterXtrueX", IgnoreReason.LambdasNotTranslated}, +{"g_V_filterXlang_eq_javaX", IgnoreReason.LambdasNotTranslated}, +{"g_VX1X_filterXage_gt_30X", IgnoreReason.LambdasNotTranslated}, +{"g_VX2X_filterXage_gt_30X", IgnoreReason.LambdasNotTranslated}, +{"g_VX1X_out_filterXage_gt_30X", IgnoreReason.LambdasNotTranslated}, +{"g_V_filterXname_startsWith_m_OR_name_startsWith_pX", IgnoreReason.LambdasNotTranslated}, +{"g_E_filterXfalseX", IgnoreReason.LambdasNotTranslated}, +{"g_E_filterXtrueX", IgnoreReason.LambdasNotTranslated}, +{"g_VX1X_mapXnameX", IgnoreReason.LambdasNotTranslated}, +{"g_VX1X_outE_label_mapXlengthX", IgnoreReason.LambdasNotTranslated}, +{"g_VX1X_out_mapXnameX_mapXlengthX", IgnoreReason.LambdasNotTranslated}, +{"g_VX1X_out_mapXlambdaXnameXX_mapXlambdaXlengthXX", IgnoreReason.LambdasNotTranslated}, +{"g_withPath_V_asXaX_out_mapXa_nameX", IgnoreReason.LambdasNotTranslated}, +{"g_withPath_V_asXaX_out_out_mapXa_name_it_nameX", IgnoreReason.LambdasNotTranslated}, +{"g_V_valueMap_unfold_mapXkeyX", IgnoreReason.LambdasNotTranslated}, +{"g_V_hasLabelXpersonX_order_byXvalueXageX_descX_name", IgnoreReason.LambdasNotTranslated}, + {"g_VX1X_hasXlabel_personX_mapXmapXint_ageXX_orderXlocalX_byXvalues_descX_byXkeys_ascX", IgnoreReason.LambdasNotTranslated}, +{"g_V_group_byXname_substring_1X_byXconstantX1XX", IgnoreReason.LambdasNotTranslated}, +{"g_VX1X_out_name_injectXdanielX_asXaX_mapXlengthX_path", IgnoreReason.LambdasNotTranslated}, +{"g_V_groupXaX_byXname_substring_1X_byXconstantX1XX_capXaX", IgnoreReason.LambdasNotTranslated}, + {"g_V_repeatXbothX_untilXname_eq_marko_or_loops_gt_1X_groupCount_byXnameX", IgnoreReason
(tinkerpop) 06/10: Removed breaking change on SeedStrategy and tucked in some javadoc
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-3028 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 63eec301060b26fda00b649dad49ec65ed0dff9d Author: Stephen Mallette AuthorDate: Fri Jan 26 08:00:20 2024 -0500 Removed breaking change on SeedStrategy and tucked in some javadoc --- CHANGELOG.asciidoc | 3 +-- .../language/translator/TranslateVisitor.java | 1 - .../gremlin/language/translator/Translator.java| 2 +- .../language/translator/TranslatorException.java | 3 +++ .../strategy/decoration/SeedStrategy.java | 13 +++- gremlin-go/driver/cucumber/gremlin.go | 24 +++--- 6 files changed, 29 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index b89af9ea63..812295ea8e 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -24,8 +24,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima === TinkerPop 4.0.0 (NOT OFFICIALLY RELEASED YET) * Added support for deserialization of `Set` for `gremlin-javascript`. -* Made `SeedStrategy` construction consistent with the builder pattern and removed the public constructor. -* Added grammar-based `Translator`. +* Added grammar-based `Translator` for all languages including explicit ones for Java and anonymization. * Added integer overflow checks for `sum()`. * Gremlin Server only supports instantiation of `authentication.authenticationHandler` with three-arg constructor. * Removed previously deprecated two-arg constructors for `authentication.authenticationHandler` implementations. diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/TranslateVisitor.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/TranslateVisitor.java index 41d0849dd3..27e68d818f 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/TranslateVisitor.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/TranslateVisitor.java @@ -49,7 +49,6 @@ import java.util.Set; * Makes anonymous traversals explicit with double underscore * Makes enums explicit with their proper name * - * */ public class TranslateVisitor extends AbstractParseTreeVisitor implements GremlinVisitor { diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/Translator.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/Translator.java index fdf6d35073..0712599835 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/Translator.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/Translator.java @@ -64,7 +64,7 @@ public enum Translator { * Translates to gremlin-python. */ PYTHON("Python", PythonTranslateVisitor::new), -//GROOVY("Groovy", "org.apache.tinkerpop.gremlin.language.translator.GroovyTranslateVisitor"), + ; private final String name; diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/TranslatorException.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/TranslatorException.java index da59614876..524aa8a81a 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/TranslatorException.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/TranslatorException.java @@ -18,6 +18,9 @@ */ package org.apache.tinkerpop.gremlin.language.translator; +/** + * Exception produced by the {@link Translator} when it encounters an error. + */ public class TranslatorException extends RuntimeException { public TranslatorException(final String message) { super(message); diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SeedStrategy.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SeedStrategy.java index 15f6f3c7e5..3584cc69c0 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SeedStrategy.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SeedStrategy.java @@ -44,7 +44,11 @@ public class SeedStrategy extends AbstractTraversalStrategy
(tinkerpop) 02/10: groovy
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-3028 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 826b945e03f75157d7560a6bced4a738bbe876f4 Author: Stephen Mallette AuthorDate: Wed Jan 3 08:32:02 2024 -0500 groovy --- .../translator/GroovyTranslateVisitor.java | 116 +++ .../language/translator/JavaTranslateVisitor.java | 2 + .../translator/JavascriptTranslateVisitor.java | 10 ++ .../translator/PythonTranslateVisitor.java | 1 + .../language/translator/TranslateVisitor.java | 5 +- .../gremlin/language/translator/Translator.java| 5 + .../language/translator/GremlinTranslatorTest.java | 128 +++-- .../tinkerpop/gremlin/features/StepDefinition.java | 8 +- 8 files changed, 262 insertions(+), 13 deletions(-) diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/GroovyTranslateVisitor.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/GroovyTranslateVisitor.java new file mode 100644 index 00..44e7d2d56f --- /dev/null +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/GroovyTranslateVisitor.java @@ -0,0 +1,116 @@ +/* + * 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 org.apache.tinkerpop.gremlin.language.translator; + +import org.apache.tinkerpop.gremlin.language.grammar.GremlinParser; + +/** + * Converts a Gremlin traversal string into a Groovy source code representation of that traversal with an aim at + * sacrificing some formatting for the ability to compile correctly. The translations may require use of TinkerPop's + * sugar syntax and therefore requires use of the {@code GremlinLoader} in the gremlin-groovy module unless you are + * specifically certain that your translations will not result in the use of that syntax. If in doubt, prefer the + * {@link JavaTranslateVisitor} instead. + * + * Normalize numeric suffixes to lower case + * If floats are not suffixed they will translate as BigDecimal + * Makes anonymous traversals explicit with double underscore + * Makes enums explicit with their proper name + * + */ +public class GroovyTranslateVisitor extends TranslateVisitor { +public GroovyTranslateVisitor() { +this("g"); +} + +public GroovyTranslateVisitor(final String graphTraversalSourceName) { +super(graphTraversalSourceName); +} + +@Override +public Void visitStructureVertex(final GremlinParser.StructureVertexContext ctx) { +sb.append("new DetachedVertex("); +visit(ctx.getChild(3)); // id +sb.append(", "); +visit(ctx.getChild(5)); // label +sb.append(")"); +return null; +} + +@Override +public Void visitIntegerLiteral(final GremlinParser.IntegerLiteralContext ctx) { +final String integerLiteral = ctx.getText().toLowerCase(); + +// check suffix +final int lastCharIndex = integerLiteral.length() - 1; +final char lastCharacter = integerLiteral.charAt(lastCharIndex); +switch (lastCharacter) { +case 'b': +// parse B/b as byte +sb.append("new Byte("); +sb.append(integerLiteral, 0, lastCharIndex); +sb.append(")"); +break; +case 's': +// parse S/s as short +sb.append("new Short("); +sb.append(integerLiteral, 0, lastCharIndex); +sb.append(")"); +break; +case 'i': +case 'l': +// parse I/i and L/l as Integer and Long respectively +sb.append(integerLiteral, 0, lastCharIndex).append(lastCharacter); +break; +case 'n': +// parse N/n as BigInteger which for groovy is "g" shorthand +sb.append(integerLiteral, 0, lastCharIndex).append("g"); +break; +default: +// everything else just goes as specified +sb.append(integerLiteral); +break; +
(tinkerpop) 08/10: rebased
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-3028 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 3e91d0dc3cd3cf84799f6b5d2a50e187092006b2 Author: Stephen Mallette AuthorDate: Fri Mar 22 13:39:01 2024 -0400 rebased --- .../test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs | 9 +++-- gremlin-go/driver/cucumber/gremlin.go| 9 +++-- .../main/javascript/gremlin-javascript/test/cucumber/gremlin.js | 9 +++-- gremlin-python/src/main/python/radish/gremlin.py | 9 +++-- 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs index 1ee5f5052f..a3204a3111 100644 --- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs +++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs @@ -929,8 +929,10 @@ namespace Gremlin.Net.IntegrationTest.Gherkin {"g_mergeV_mergeE_combination_new_vertices", new List, ITraversal>> {(g,p) =>g.MergeV((IDictionary) p["xx1"]).As("outV").MergeV((IDictionary) p["xx2"]).As("inV").MergeE((IDictionary) p["xx3"]).Option(Merge.OutV, (ITraversal) __.Select("outV")).Option(Merge.InV, (ITraversal) __.Select("inV")), (g,p) =>g.V(), (g,p) =>g.E(), (g,p) =>g.V().Has("name", "marko") [...] {"g_mergeV_mergeE_combination_existing_vertices", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").AddV("person").Property("name", "vadas"), (g,p) =>g.MergeV((IDictionary) p["xx1"]).As("outV").MergeV((IDictionary) p["xx2"]).As("inV").MergeE((IDictionary) p["xx3"]).Option(Merge.OutV, (ITraversal) __.Select("outV")).Option(Merge.InV, (ITrav [...] {"g_V_asXvX_mergeEXxx1X_optionXMerge_onMatch_xx2X_optionXMerge_outV_selectXvXX_optionXMerge_inV_selectXvXX", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").Property("age", 29), (g,p) =>g.V().As("v").MergeE((IDictionary) p["xx1"]).Option(Merge.OnMatch, (IDictionary) p["xx2"]).Option(Merge.OutV, (ITraversal) __.Select("v")).Option(Merge.InV, (ITraversal) [...] - {"g_V_mergeEXlabel_knows_out_marko_in_vadasX_optionXonMatch_sideEffectXpropertyXweight_0XX_constantXemptyXX", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").As("a").AddV("person").Property("name", "vadas").As("b").AddE("knows").Property("weight", 1).From("a").To("b"), (g,p) =>g.V().MergeE((IDictionary) p["xx1"]).Option(Merge.OnMatch, (ITraversal) __.SideEffect(__.Property("we [...] + {"g_V_mergeEXlabel_knows_out_marko_in_vadasX_optionXonMatch_sideEffectXpropertyXweight_0XX_constantXemptyXX", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").As("a").AddV("person").Property("name", "vadas").As("b").AddE("knows").Property("weight", 1).From("a").To("b"), (g,p) =>g.V().MergeE((IDictionary) p["xx1"]).Option(Merge.OnMatch, (ITraversal) __.SideEffect(__.Property("we [...] {"g_mergeEXlabel_knows_out_marko_in_vadasX_optionXonMatch_sideEffectXpropertyXweight_0XX_constantXemptyXX", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").As("a").AddV("person").Property("name", "vadas").As("b").AddE("knows").Property("weight", 1).From("a").To("b"), (g,p) =>g.MergeE((IDictionary) p["xx1"]).Option(Merge.OnMatch, (ITraversal) __.SideEffect(__.Property("weight", [...] + {"g_injectXlist1_list2X_mergeEXlimitXlocal_1XX_optionXonCreate_rangeXlocal_1_2XX_optionXonMatch_tailXlocalXX_to_match", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").Property("age", 29).As("marko").AddV("person").Property("name", "vadas").Property("age", 27).As("vadas").AddV("software").Property("name", "lop").Property("lang", "java").As("lop").AddV("person").Property("name", "josh").Proper [...] + {"g_injectXlist1_list2X_mergeEXlimitXlocal_1XX_optionXonCreate_rangeXlocal_1_2XX_optionXonMatch_tailXlocalXX_to_create", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").Property("age", 29).As("marko").AddV("person").Property("name", "vadas").Property("age", 27).As("vadas").AddV("software").Property("name", "lop").Property("lang", "java").As("lop").AddV("person").Property("name", "josh").Prope [...] {"g_mergeVXemptyX_optionXonMatch_nullX", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").Property("age", 29), (g,p) =>g.MergeV((IDictionary) new Dictionary {}).Option(Merge.OnMatch, (IDictionary) null), (g,p) =>g.V().Has("person", "name", "marko").Has("age", 29)}}, {"g_V_mergeVXemptyX_optionXonMatch_nullX", new List, ITraversal>> {(g,p) =>g.AddV("person").Property("name", "marko").Property("age", 29), (g,p) =>g.V().MergeV((IDict
(tinkerpop) 05/10: update golang translation
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-3028 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit c21c487c821a70e46e5fdf86cee801e01cef6d90 Author: Valentyn Kahamlyk AuthorDate: Thu Jan 25 16:55:18 2024 -0800 update golang translation --- .../translator/DotNetTranslateVisitor.java | 2 +- .../language/translator/GoTranslateVisitor.java| 19 + .../language/translator/JavaTranslateVisitor.java | 2 +- .../language/translator/GremlinTranslatorTest.java | 13 ++- gremlin-go/driver/cucumber/gremlin.go | 94 +++--- gremlin-go/driver/strategies.go| 6 +- gremlin-go/driver/traversal.go | 19 + gremlin-go/go.mod | 1 - 8 files changed, 102 insertions(+), 54 deletions(-) diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/DotNetTranslateVisitor.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/DotNetTranslateVisitor.java index 273008e9e8..fc027ab3be 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/DotNetTranslateVisitor.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/DotNetTranslateVisitor.java @@ -191,7 +191,7 @@ public class DotNetTranslateVisitor extends AbstractTranslateVisitor { public Void visitStringLiteralList(final GremlinParser.StringLiteralListContext ctx) { sb.append("new List { "); for (int ix = 0; ix < ctx.getChild(1).getChildCount(); ix++) { -if (ctx.getChild(ix).getChild(ix) instanceof TerminalNode) +if (ctx.getChild(1).getChild(ix) instanceof TerminalNode) continue; visit(ctx.getChild(1).getChild(ix)); if (ix < ctx.getChild(1).getChildCount() - 1) diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/GoTranslateVisitor.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/GoTranslateVisitor.java index 0835643099..12f60296f9 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/GoTranslateVisitor.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/GoTranslateVisitor.java @@ -195,6 +195,23 @@ public class GoTranslateVisitor extends AbstractTranslateVisitor { return null; } +@Override +public Void visitTraversalStrategyArgs_PartitionStrategy(final GremlinParser.TraversalStrategyArgs_PartitionStrategyContext ctx) { +appendStrategyArguments(ctx); + +if (ctx.getChild(0).getText().equals("readPartitions")) { +final int ix = sb.lastIndexOf("ReadPartitions: ["); +if (ix > 0) { +final int endIx = sb.indexOf("\"]", ix); +sb.replace(endIx, endIx + 2, "\")"); +sb.replace(ix, ix + 17, "ReadPartitions: gremlingo.NewSimpleSet("); +} + +} + +return null; +} + @Override public Void visitTraversalCardinality(final GremlinParser.TraversalCardinalityContext ctx) { // handle the enum style of cardinality if there is one child, otherwise it's the function call style @@ -251,6 +268,8 @@ public class GoTranslateVisitor extends AbstractTranslateVisitor { TO_GO_MAP.put("OUT", "Out"); TO_GO_MAP.put("IN", "In"); TO_GO_MAP.put("BOTH", "Both"); +TO_GO_MAP.put("WithOptions", GO_PACKAGE_NAME + "WithOptions"); +TO_GO_MAP.put("IO", GO_PACKAGE_NAME + "IO"); TO_GO_MAP.put("__", GO_PACKAGE_NAME + "T__"); TO_GO_MAP.forEach((k, v) -> FROM_GO_MAP.put(v, k)); } diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/JavaTranslateVisitor.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/JavaTranslateVisitor.java index 2fd5a349fb..480a1b5fa3 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/JavaTranslateVisitor.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/JavaTranslateVisitor.java @@ -227,7 +227,7 @@ public class JavaTranslateVisitor extends AbstractTranslateVisitor { public Void visitStringLiteralList(final GremlinParser.StringLiteralListContext ctx) { sb.append("new ArrayList() {{ "); for (int ix = 0; ix < ctx.getChild(1).getChildCount(); ix++) { -if (ctx.getChild(ix).getChild(ix) instanceof TerminalNode) +if (ctx.getChild(1).getChild(ix) instanceof TerminalNode) continue; sb.append("add("); visit(ctx.getChild(1).getChild(ix)); diff --git a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/language/translator/GremlinTranslatorTest
(tinkerpop) branch TINKERPOP-3028 updated (22352da3e9 -> 648b1f9270)
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a change to branch TINKERPOP-3028 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git discard 22352da3e9 rebase discard 941a57d124 rebased discard 03959a62db Refactored after rebase of withoutStrategies addition discard d32e63b6eb Removed breaking change on SeedStrategy and tucked in some javadoc discard 7584faca37 update golang translation discard e3c28d743d wip for Go discard 982eec9008 .NET discard fc6e1b7e78 groovy discard 9d2744955e TINKERPOP-3028 Translators using grammar add 180cf068c7 TinkerPop 3.7.2 release add c735441a9d TinkerPop 3,7,2 release add c97e707249 Merge branch '3.7-dev' add c85d92ac33 CTR update website for 3.6.7/3.7.2 release add 8c73d09c8d CTR Bump to 3.6.8-SNAPSHOT add e68a947085 Merge branch '3.6-dev' into 3.7-dev add 17f0dda41b CTR bump to 3.7.3-SNAPSHOT add 054590c5df Merge branch '3.7-dev' add 28a1e2e613 Bump Microsoft.Extensions.Logging.Abstractions in /gremlin-dotnet add b931b54135 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.Extensions.Logging.Abstractions-8.0.1' into 3.6-dev add 23a324f6c1 Bump xunit.runner.visualstudio from 2.5.7 to 2.5.8 in /gremlin-dotnet add be14a92227 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.5.8' into 3.6-dev add 56993b75b8 Bump xunit from 2.7.0 to 2.7.1 in /gremlin-dotnet add 16441ee37e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.7.1' into 3.6-dev add 3a9fb8eef6 Merge branch '3.6-dev' into 3.7-dev add ac40c74429 Merge branch '3.7-dev' add 34870d47dc Fixed typo in mimetype for io docs CTR add d841b8c25d Merge branch '3.7-dev' add 193d47c696 Include /build for gremlin-javascript in .gitignore from 4.x CTR add 0e371060eb Merge branch '3.6-dev' into 3.7-dev add e3ced38b21 Merge branch '3.7-dev' add c7a391b1c1 CTR add docker container & image clean up for python package stage add 7e0f30a949 Merge branch '3.6-dev' into 3.7-dev add 8bb5d16acd Merge branch '3.7-dev' add 688974dbe8 TINKERPOP-3035 Add Property(IDictionary) overload add 7d68935434 Merge branch 'TINKERPOP-3035' into 3.6-dev add 98bc00f4dc Merge branch '3.6-dev' into 3.7-dev add d333ed0212 Merge branch '3.7-dev' add 9174df38de Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0 in /gremlin-dotnet add de0bd0bb2e Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.0' into 3.6-dev add 1421aa06f8 Bump xunit from 2.7.1 to 2.8.0 in /gremlin-dotnet add cd5aa3c445 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.0' into 3.6-dev add 7369fba54f Merge branch '3.6-dev' into 3.7-dev add 82fe33939a Merge branch '3.7-dev' add 1daf955d0b Increase delay in test for GH Actions CTR add 225aeffc29 Merge branch '3.6-dev' into 3.7-dev add 66e5a47ffd Merge branch '3.7-dev' add 399741e7f4 fixed non-idempotent unit test add 521d24c5ba Merge branch '3.6-dev' into 3.7-dev add 9abcc918b9 Merge branch '3.7-dev' add 1fa67c2c1e Fix generics for .NET add 459f32cfe3 Merge branch '3.7-dev' add 1a694018d2 Fix nullability checks in .net deserializers add 5af9e42587 Merge branch '3.7-dev' add a0e6869a83 Refactor mutation events registration by moving reusable code from relevant steps to EventUti add bd5836a5bc Minor formatting/javadoc CTR add 09f821f1ca Merge branch '3.7-dev' add 1f9ce19ae0 Open NoOpBarrierStep for extensibility add a12ae55e93 Merge branch '3.7-dev' add 1ea4cdaed1 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /gremlin-go (#2511) add ffd6877b5d Bump github.com/cucumber/godog from 0.14.0 to 0.14.1 in /gremlin-go (#2581) add 6afa257740 Bump golang.org/x/text from 0.14.0 to 0.15.0 in /gremlin-go (#2587) add 20cd01ed59 Merge remote-tracking branch 'origin/3.6-dev' into 3.7-dev add 2bd81d6145 Merge branch '3.7-dev' add 68aed2aace Adding Getter for fields of IntersectStep and DisjunctStep. add cf6669a142 Merge branch '3.7-dev' add d81b6003b4 Fixing connection cleanup in case of mass connection breaking. add e7f184646d Updated CHANGELOG CTR add e37f9a8de0 Merge branch '3.6-dev' into 3.7-dev add a4adbde129 Merge branch '3.7-dev' add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev
(tinkerpop) 09/10: rebase
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-3028 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 546c1534b00df1f8e3cf1ce520b937fa3d46f027 Author: Stephen Mallette AuthorDate: Tue Apr 9 18:39:27 2024 -0400 rebase --- .../test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs| 2 +- gremlin-go/build/generate.groovy | 1 + gremlin-go/driver/cucumber/gremlin.go | 2 +- .../javascript/gremlin-javascript/test/cucumber/gremlin.js | 10 +- gremlin-python/src/main/python/radish/gremlin.py | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs index a3204a3111..fe52fe46fb 100644 --- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs +++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs @@ -1181,7 +1181,7 @@ namespace Gremlin.Net.IntegrationTest.Gherkin {"g_withStrategiesXProductiveByStrategyX_V_asXaX_selectXaX_byXageX", new List, ITraversal>> {(g,p) =>g.WithStrategies(new ProductiveByStrategy()).V().As("a").Select("a").By("age")}}, {"g_withSideEffectXk_nullX_injectXxX_selectXkX", new List, ITraversal>> {(g,p) =>g.WithSideEffect("k", null).Inject("x").Select("k")}}, {"g_V_out_in_selectXall_a_a_aX_byXunfold_name_foldX", new List, ITraversal>> {(g,p) =>g.AddV("A").Property("name", "a1").As("a1").AddV("A").Property("name", "a2").As("a2").AddV("A").Property("name", "a3").As("a3").AddV("B").Property("name", "b1").As("b1").AddV("B").Property("name", "b2").As("b2").AddV("B").Property("name", "b3").As("b3").AddE("ab").From("a1").To("b1").AddE("ab").From("a2").To("b2").AddE("ab").From("a3" [...] - {"g_V_asXlabelX_aggregateXlocal_xX_selectXxX_selectXlabelX", new List, ITraversal>> {(g,p) =>g.V().As("label").Aggregate(Scope.Local, "x").Select("x").Select("label")}}, + {"g_withoutStrategiesXLazyBarrierStrategyX_V_asXlabelX_aggregateXlocal_xX_selectXxX_selectXlabelX", new List, ITraversal>> {(g,p) =>g.WithoutStrategies(typeof(LazyBarrierStrategy)).V().As("label").Aggregate(Scope.Local, "x").Select("x").Select("label")}}, {"g_V_shortestPath", new List, ITraversal>> {(g,p) =>g.V().ShortestPath()}}, {"g_V_both_dedup_shortestPath", new List, ITraversal>> {(g,p) =>g.V().Both().Dedup().ShortestPath()}}, {"g_V_shortestPath_edgesIncluded", new List, ITraversal>> {(g,p) =>g.V().ShortestPath().With("~tinkerpop.shortestPath.includeEdges")}}, diff --git a/gremlin-go/build/generate.groovy b/gremlin-go/build/generate.groovy index 74e7927d82..760c959839 100644 --- a/gremlin-go/build/generate.groovy +++ b/gremlin-go/build/generate.groovy @@ -75,6 +75,7 @@ radishGremlinFile.withWriter('UTF-8') { Writer writer -> // solution may become necessary as testing of nulls expands. def staticTranslate = [ g_withoutStrategiesXCountStrategyX_V_count: " \"g_withoutStrategiesXCountStrategyX_V_count\": {func(g *gremlingo.GraphTraversalSource, p map[string]interface{}) *gremlingo.GraphTraversal {return g.Inject(6)}}, ", // syntax is all bad for withoutStrategies and who knows what else is causing failures - just do a dummy translation + g_withoutStrategiesXLazyBarrierStrategyX_V_asXlabelX_aggregateXlocal_xX_selectXxX_selectXlabelX: " \"g_withoutStrategiesXLazyBarrierStrategyX_V_asXlabelX_aggregateXlocal_xX_selectXxX_selectXlabelX\": {func(g *gremlingo.GraphTraversalSource, p map[string]interface{}) *gremlingo.GraphTraversal {return g.V()}}, ", g_injectXnull_nullX: " \"g_injectXnull_nullX\": {func(g *gremlingo.GraphTraversalSource, p map[string]interface{}) *gremlingo.GraphTraversal {return g.Inject(nil, nil)}}, ", g_VX1X_valuesXageX_injectXnull_nullX: " \"g_VX1X_valuesXageX_injectXnull_nullX\": {func(g *gremlingo.GraphTraversalSource, p map[string]interface{}) *gremlingo.GraphTraversal {return g.V(p[\"xx1\"]).Values(\"age\").Inject(nil, nil)}}, " ] diff --git a/gremlin-go/driver/cucumber/gremlin.go b/gremlin-go/driver/cucumber/gremlin.go index 9957b5fac4..052b91531c 100644 --- a/gremlin-go/driver/cucumber/gremlin.go +++ b/gremlin-go/driver/cucumber/gremlin.go @@ -1152,7 +1152,7 @@ var translationMap = map[string][]func(g *gremlingo.GraphTraversalSource, p map[ "g_withStrategiesXProductiveByStrategyX_V_asXaX_selectXaX_byXageX": {func(g *gremlingo.GraphTraversalSource, p map[string]interface{}) *gremlingo.GraphTraversal {return g.WithStrategies(gremlingo.ProductiveByStrategy()).V().As("a").Select("a").By("age")}}, "g_withSideEffectXk_nullX_injectXxX_selectXkX": {func(g *gremlingo.GraphTraversalSource, p map[string]interface{}) *gre
Re: [PR] feat: typescript utilities [tinkerpop]
FlorianHockmann commented on code in PR #2599: URL: https://github.com/apache/tinkerpop/pull/2599#discussion_r1622405611 ## gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts: ## @@ -73,20 +77,26 @@ export class Vertex = Record> extends } } -export class Edge = Record> extends Element { +export class Edge< + TOutVertex extends Vertex = Vertex, + TLabel extends string = string, + TInVertex extends Vertex = Vertex, + TProperties extends Record = Record, + TId extends number | string = number, Review Comment: I think this is too restrictive. Providers can use any type they like for the ID. JanusGraph for example has its own type. ## gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.ts: ## @@ -349,9 +349,9 @@ export class EdgeSerializer extends TypeSerializer { [valueKey]: { id: this.writer.adaptObject(item.id), label: item.label, -outV: this.writer.adaptObject(item.outV.id), +outV: this.writer.adaptObject(item.outV?.id), Review Comment: Can `outV` really be `undefined`? And shouldn't users get an exception here if it is? ## gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts: ## @@ -43,27 +42,32 @@ export class Graph { } } -class Element { +class Element { constructor( -readonly id: string, -readonly label: string, +readonly id: TId, +readonly label: TLabel, Review Comment: Can you please explain the reasoning behind making this generic? Isn't `label` always a `string`? ## gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts: ## @@ -119,6 +134,13 @@ export class VertexProperty extends Element { } } +export type VertexProperties< + TLabel extends string = string, + TValue = any, + TProperties extends Record = Record, + TId = any, +> = [VertexProperty, ...Array>]; Review Comment: Sorry, but I don't know this notation and it's a bit hard to find any information on it as I don't even know what to search for here 😅 Would you be so kind to provide me with some documentation for this kind of type definition or maybe the name of the concept for this so I can search for it myself? :-) ## gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts: ## @@ -73,20 +77,26 @@ export class Vertex = Record> extends } } -export class Edge = Record> extends Element { +export class Edge< + TOutVertex extends Vertex = Vertex, Review Comment: Why `TOutVertex extends Vertex`? Why not simply `Vertex`? -- 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/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1 deleted (was 061fad9bbf)
This is an automated email from the ASF dual-hosted git repository. florianhockmann pushed a change to branch dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git was 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 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 (a4adbde129 -> 84d1005fb4)
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 a4adbde129 Merge branch '3.7-dev' add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 299bab5544 Merge branch '3.6-dev' into 3.7-dev new 84d1005fb4 Merge branch '3.7-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-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 6 +++--- .../Gremlin.Net.Template.IntegrationTest.csproj | 6 +++--- .../test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-)
(tinkerpop) 01/01: Merge branch '3.7-dev'
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 84d1005fb45a6bd0b1873b2f4fc7212561aa529d Merge: a4adbde129 299bab5544 Author: Florian Hockmann AuthorDate: Fri May 31 12:26:43 2024 +0200 Merge branch '3.7-dev' gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 6 +++--- .../Gremlin.Net.Template.IntegrationTest.csproj | 6 +++--- .../test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-)
(tinkerpop) branch 3.6-dev updated (e7f184646d -> 9341370c21)
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 e7f184646d Updated CHANGELOG CTR add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev No new revisions were added by this update. Summary of changes: gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 6 +++--- .../Gremlin.Net.Template.IntegrationTest.csproj | 6 +++--- .../test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-)
Re: [PR] Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet [tinkerpop]
FlorianHockmann merged PR #2620: URL: https://github.com/apache/tinkerpop/pull/2620 -- 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/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1 deleted (was 4b5dab8530)
This is an automated email from the ASF dual-hosted git repository. florianhockmann pushed a change to branch dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git was 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 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.6-dev/Microsoft.NET.Test.Sdk-17.10.0 deleted (was ec7b0832ee)
This is an automated email from the ASF dual-hosted git repository. florianhockmann pushed a change to branch dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git was ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.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 dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0 deleted (was 612e431f5f)
This is an automated email from the ASF dual-hosted git repository. florianhockmann pushed a change to branch dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git was 612e431f5f Bump Polly from 8.3.1 to 8.4.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.7-dev updated (e37f9a8de0 -> 299bab5544)
This is an automated email from the ASF dual-hosted git repository. florianhockmann pushed a change to branch 3.7-dev in repository https://gitbox.apache.org/repos/asf/tinkerpop.git from e37f9a8de0 Merge branch '3.6-dev' into 3.7-dev add 612e431f5f Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet add 60de0d2891 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Polly-8.4.0' into 3.6-dev add ec7b0832ee Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet add a9b85af343 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/Microsoft.NET.Test.Sdk-17.10.0' into 3.6-dev add 061fad9bbf Bump xunit from 2.8.0 to 2.8.1 in /gremlin-dotnet add d5cc03d630 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit-2.8.1' into 3.6-dev add 4b5dab8530 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 in /gremlin-dotnet add 9341370c21 Merge branch 'dependabot/nuget/gremlin-dotnet/3.6-dev/xunit.runner.visualstudio-2.8.1' into 3.6-dev add 299bab5544 Merge branch '3.6-dev' into 3.7-dev No new revisions were added by this update. Summary of changes: gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +- .../Gremlin.Net.IntegrationTest/Gremlin.Net.IntegrationTest.csproj | 6 +++--- .../Gremlin.Net.Template.IntegrationTest.csproj | 6 +++--- .../test/Gremlin.Net.UnitTest/Gremlin.Net.UnitTest.csproj | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-)
Re: [PR] Bump Polly from 8.3.1 to 8.4.0 in /gremlin-dotnet [tinkerpop]
FlorianHockmann merged PR #2602: URL: https://github.com/apache/tinkerpop/pull/2602 -- 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.8.0 to 2.8.1 in /gremlin-dotnet [tinkerpop]
FlorianHockmann merged PR #2619: URL: https://github.com/apache/tinkerpop/pull/2619 -- 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 Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /gremlin-dotnet [tinkerpop]
FlorianHockmann merged PR #2617: URL: https://github.com/apache/tinkerpop/pull/2617 -- 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