Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B7104200CB5 for ; Wed, 12 Jul 2017 16:25:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B5B60168F97; Wed, 12 Jul 2017 14:25:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 90D6A168F69 for ; Wed, 12 Jul 2017 16:25:01 +0200 (CEST) Received: (qmail 47452 invoked by uid 500); 12 Jul 2017 14:25:00 -0000 Mailing-List: contact commits-help@tinkerpop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tinkerpop.apache.org Delivered-To: mailing list commits@tinkerpop.apache.org Received: (qmail 47270 invoked by uid 99); 12 Jul 2017 14:25:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2017 14:25:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5540EF5543; Wed, 12 Jul 2017 14:24:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: spmallette@apache.org To: commits@tinkerpop.apache.org Date: Wed, 12 Jul 2017 14:25:27 -0000 Message-Id: <947a29ec51a84143b42d66b5254c2631@git.apache.org> In-Reply-To: <37c5c6da97ff445d98b1314812aa1002@git.apache.org> References: <37c5c6da97ff445d98b1314812aa1002@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [30/48] tinkerpop git commit: TINKERPOP-1552 Added basic deployment options for nuget archived-at: Wed, 12 Jul 2017 14:25:03 -0000 TINKERPOP-1552 Added basic deployment options for nuget Can't use the dotnet maven plugin on linux. it makes direct calls to nuget, which on linux requires mono. Used antrun plugin instead which is what was used with gremlin-python and works fine. Accomplished a basic push to the nuget staging environment. Still some bumps to sort out before this is good. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/442b4040 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/442b4040 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/442b4040 Branch: refs/heads/TINKERPOP-1552-master Commit: 442b4040742486cd04c0530aafcd8076997f0741 Parents: 4ba451c Author: Stephen Mallette Authored: Fri Jun 23 15:43:40 2017 -0400 Committer: Stephen Mallette Committed: Wed Jul 12 10:08:39 2017 -0400 ---------------------------------------------------------------------- .../developer/development-environment.asciidoc | 6 +- docs/src/dev/developer/release.asciidoc | 1 + gremlin-dotnet/pom.xml | 10 +++ .../src/Gremlin.Net/Gremlin.Net.csproj | 25 ++++-- gremlin-dotnet/src/pom.xml | 86 +++++++++++++++++++- gremlin-dotnet/test/pom.xml | 10 +++ 6 files changed, 130 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/442b4040/docs/src/dev/developer/development-environment.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/developer/development-environment.asciidoc b/docs/src/dev/developer/development-environment.asciidoc index 128cee1..26428c1 100644 --- a/docs/src/dev/developer/development-environment.asciidoc +++ b/docs/src/dev/developer/development-environment.asciidoc @@ -117,7 +117,11 @@ mvn clean install -Pgremlin-dotnet which enables the "gremlin-dotnet" Maven profile or in a more automated fashion simply add a `.glv` file to the `src` and `test` directories of the `gremlin-dotnet` module  which will signify to Maven that the environment is .NET-ready. The `.glv` file need not have any contents and is ignored by Git. A standard `mvn clean install` will then build -`gremlin-dotnet` in full. +`gremlin-dotnet` in full. + +For those who will release TinkerPop, it is also necessary to install link:http://www.mono-project.com/[Mono]. The +release process is known to work with 5.0.1, so it is best to probably install that version if possible. See release +documentation for more information on configuration for release. [[release-environment]] Release Environment http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/442b4040/docs/src/dev/developer/release.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/developer/release.asciidoc b/docs/src/dev/developer/release.asciidoc index 9f2088a..4e5db99 100644 --- a/docs/src/dev/developer/release.asciidoc +++ b/docs/src/dev/developer/release.asciidoc @@ -227,6 +227,7 @@ Release & Promote .. This build will likely occur from the tag for the release, so be sure to checkout the tag first before executing this step. .. `mvn clean install -DskipTests` .. `mvn deploy -pl gremlin-python -DskipTests -Dpypi` +.. `mvn deploy -pl :gremlin-dotnet-source -DskipTests -Dnuget` . `svn co --depth empty https://dist.apache.org/repos/dist/dev/tinkerpop dev; svn up dev/xx.yy.zz` . `svn co --depth empty https://dist.apache.org/repos/dist/release/tinkerpop release; mkdir release/xx.yy.zz` . Copy release files from `dev/xx.yy.zz` to `release/xx.yy.zz`. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/442b4040/gremlin-dotnet/pom.xml ---------------------------------------------------------------------- diff --git a/gremlin-dotnet/pom.xml b/gremlin-dotnet/pom.xml index 3360bbc..6cd7da3 100644 --- a/gremlin-dotnet/pom.xml +++ b/gremlin-dotnet/pom.xml @@ -267,6 +267,16 @@ namingConversionsFile.newWriter().withWriter{ it << namingConversionsTemplate } + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/442b4040/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj ---------------------------------------------------------------------- diff --git a/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj b/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj index 0ff4537..7ac6f8d 100644 --- a/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj +++ b/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj @@ -8,16 +8,29 @@ 3.2.6-beta1 - Gremlin-DotNet + Gremlin.Net Apache TinkerPop - Apache TinkerPop’s Gremlin-DotNet implements Gremlin within the C# language. - -Gremlin-DotNet is an extended version of the Gremlin.Net driver (versions <= 0.X). It includes an implementation of Gremlin in C#. This extended version is now part of the Apache TinkerPop project. -The 'old' Gremlin.Net driver is however still supported. Head to https://github.com/FlorianHockmann/Gremlin.Net for more information. + Gremlin.Net for Apache TinkerPop™ is a language variant and driver for .NET. + + Apache TinkerPop™ is a graph computing framework for both graph databases (OLTP) and graph analytic systems (OLAP). + Gremlin is the graph traversal language of TinkerPop. It can be described as a functional, data-flow language + that enables users to succinctly express complex traversals on (or queries of) their application’s property graph. + + Gremlin.Net implements Gremlin within .NET. C# syntax has the same constructs as Java including “dot notation” + for function chaining (a.b.c), round bracket function arguments (a(b,c))`, and support for global namespaces + (a(b()) vs a(__.b()))`. As such, anyone familiar with Gremlin-Java will immediately be able to work with + Gremlin-DotNet. Moreover, there are a few added constructs to Gremlin-DotNet that make traversals a bit more succinct. + + Please see the reference documentation at Apache TinkerPop for more information on usage. + + NOTE: Gremlin.Net is an extension of the Gremlin.Net driver by Florian Hockmann (versions <= 0.X) and is now + included as part of the Apache TinkerPop project. The 'old' Gremlin.Net driver is however still supported. + Head to https://github.com/FlorianHockmann/Gremlin.Net for more information. + Gremlin.Net - gremlin;tinkerpop;tinkerpop3 + gremlin;tinkerpop;apache http://tinkerpop.apache.org https://github.com/apache/tinkerpop/blob/master/LICENSE https://github.com/apache/tinkerpop http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/442b4040/gremlin-dotnet/src/pom.xml ---------------------------------------------------------------------- diff --git a/gremlin-dotnet/src/pom.xml b/gremlin-dotnet/src/pom.xml index 50d4d56..645921f 100644 --- a/gremlin-dotnet/src/pom.xml +++ b/gremlin-dotnet/src/pom.xml @@ -40,6 +40,16 @@ limitations under the License. + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + @@ -74,11 +84,85 @@ limitations under the License. dotnet-maven-plugin true - ${project.parent.basedir}/target/nuget + true + false + false + + + glv-dotnet-deploy + + false + + nuget + + + + dotnet-library + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + deploy-nuget + deploy + + run + + + + + + + + nuget.exe already downloaded and at Gremlin.Net/bin/nuget.exe. + + + + + + + + + + + + + + + + + + + ant-contrib + ant-contrib + 20020829 + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/442b4040/gremlin-dotnet/test/pom.xml ---------------------------------------------------------------------- diff --git a/gremlin-dotnet/test/pom.xml b/gremlin-dotnet/test/pom.xml index 2cf2785..7fa75fa 100644 --- a/gremlin-dotnet/test/pom.xml +++ b/gremlin-dotnet/test/pom.xml @@ -47,6 +47,16 @@ limitations under the License. + + + org.apache.maven.plugins + maven-deploy-plugin + + true + +