You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/23 16:09:18 UTC
[jira] [Commented] (TINKERPOP-1085) Establish TinkerPop "example"
projects
[ https://issues.apache.org/jira/browse/TINKERPOP-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15159014#comment-15159014 ]
ASF GitHub Bot commented on TINKERPOP-1085:
-------------------------------------------
GitHub user spmallette opened a pull request:
https://github.com/apache/incubator-tinkerpop/pull/237
TINKERPOP-1085 Added gremlin-archetypes and related submodules
https://issues.apache.org/jira/browse/TINKERPOP-1085
Established the model for "examples" in TinkerPop using Maven archetypes. Provided two archetypes: gremlin-archetype-server and gremlin-archetype-tinkergraph.
Note that each archetype has tests to validate their operations and the tests are configured to execute on standard execution of `mvn clean install`. You can manually try out the achetypes with a command like this:
```text
$ mvn archetype:generate -DarchetypeGroupId=org.apache.tinkerpop -DarchetypeArtifactId=gremlin-archetype-server -DarchetypeVersion=3.1.2-SNAPSHOT -DgroupId=com.my -DartifactId=app
```
which will create a project (based on the `gremlin-archetype-server` module) in a directory called "app".
VOTE +1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-tinkerpop TINKERPOP-1085
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-tinkerpop/pull/237.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #237
----
commit bb3bf09f57ba2ceb40565f2f9cefa886718d241d
Author: Stephen Mallette <sp...@genoprime.com>
Date: 2016-02-23T15:01:15Z
Added gremlin-archetypes and related submodules.
Established the model for "examples" in TinkerPop using Maven archetypes. Provided two archetypes: gremlin-archetype-server and gremlin-archetype-tinkergraph.
----
> Establish TinkerPop "example" projects
> --------------------------------------
>
> Key: TINKERPOP-1085
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1085
> Project: TinkerPop
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 3.1.0-incubating
> Reporter: stephen mallette
> Assignee: stephen mallette
> Fix For: 3.1.2-incubating
>
>
> Create a {{gremlin-examples}} module that in turn would have some sub-modules containing example Gremlin code. The thread of discussion is here:
> https://pony-poc.apache.org/thread.html/Z1mhshgtenmsu87
> but in summary, there were ideas to write example modules for lots of different things:
> * Gremlin Server usage
> * DSL examples -- SocialTraversal/etc.
> * Language compiler -- Java RegEx into Gremlin instructions (e.g.).
> * Build your own implementation examples --- like a stub of a graph implementation to get people going.
> * maven archetypes
> For this task, I think this just entails setting up the pattern for doing this. Perhaps we could include the work of [~pluradj] (if he'd care to contribute it) at:
> https://github.com/pluradj/tp3-java-example
> or something similar. We could then expand from there.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)