You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/08/27 11:16:50 UTC

[5/5] tinkerpop git commit: Update upgrade docs for new console features

Update upgrade docs for new console features


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/b1afafa8
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/b1afafa8
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/b1afafa8

Branch: refs/heads/master
Commit: b1afafa82c5d73f6f4a4ba374fee8b3c722a4511
Parents: adf1960
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Sat Aug 27 07:16:19 2016 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Sat Aug 27 07:16:19 2016 -0400

----------------------------------------------------------------------
 .../src/reference/gremlin-applications.asciidoc |  1 +
 .../upgrade/release-3.2.x-incubating.asciidoc   | 49 ++++++++++----------
 2 files changed, 26 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/b1afafa8/docs/src/reference/gremlin-applications.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/gremlin-applications.asciidoc b/docs/src/reference/gremlin-applications.asciidoc
index ae4635c..495aadd 100644
--- a/docs/src/reference/gremlin-applications.asciidoc
+++ b/docs/src/reference/gremlin-applications.asciidoc
@@ -150,6 +150,7 @@ some other useful operations.  The following table outlines the most commonly us
 |:submit |:> |Submit Gremlin to the currently active context defined by `:remote`.
 |=========================================================
 
+[[console-preferences]]
 Console Preferences
 ~~~~~~~~~~~~~~~~~~~
 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/b1afafa8/docs/src/upgrade/release-3.2.x-incubating.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
index 23761ca..3f4d786 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -38,7 +38,7 @@ GraphSON 2.0
 GraphSON 2.0 has been introduced to improve and normalize the format of types embedded in GraphSON.
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-1274[TINKERPOP-1274],
-link:http://tinkerpop.apache.org/docs/3.2.1-incubating/reference/#graphson-2-0-types[Reference Documentation -
+link:http://tinkerpop.apache.org/docs/3.2.2/reference/#graphson-2-0-types[Reference Documentation -
 GraphSON 2.0].
 
 Log4j Dependencies
@@ -63,35 +63,36 @@ and overridden as needed.
 
 See: https://issues.apache.org/jira/browse/TINKERPOP-1373[TINKERPOP-1373]
 
-New Console Preferences
-^^^^^^^^^^^^^^^^^^^^^^^
-
-Colors
-
-* gremlin.color
-* info.color
-* error.color
-* input.prompt.color
-* result.prompt.color
-* vertex.color
-* edge.color
-* string.color
-* number.color
-* T.color (e.g. id, label)
+New Console Features
+^^^^^^^^^^^^^^^^^^^^
 
-Prompts
+The Gremlin Console can now have its text colorized. For example, you can set the color of the Gremlin ascii art to
+the more natural color of green by using the `:set` command:
 
-* input.prompt
-* result.prompt
-* empty.result.indicator
+[source,text]
+gremlin> :set gremlin.color green
 
-See: https://issues.apache.org/jira/browse/TINKERPOP-1285[TINKERPOP-1037]
+It is also possible to colorize results, like vertices, edges, and other common returns. Please see the
+link:http://tinkerpop.apache.org/docs/3.2.2/reference/#console-preferences[reference documentation] for more details
+on all the settings.
 
+The console also now includes better multi-line support:
 
-Added multi-line indicator.
+[source,text]
+----
+gremlin> g.V().out().
+......1>       has('name','josh').
+......2>       out('created')
+==>v[5]
+==>v[3]
+----
 
-See: https://issues.apache.org/jira/browse/TINKERPOP-1285[TINKERPOP-1285]
+This is a nice feature in that it can help you understand if a line is incomplete and unevaluated.
 
+See: link:https://issues.apache.org/jira/browse/TINKERPOP-1285[TINKERPOP-1285],
+link:https://issues.apache.org/jira/browse/TINKERPOP-1285[TINKERPOP-1037],
+link:http://tinkerpop.apache.org/docs/3.2.2/reference/#console-preferences[Reference Documentation -
+Console Preferences]
 
 Upgrading for Providers
 ~~~~~~~~~~~~~~~~~~~~~~~
@@ -134,7 +135,7 @@ languages can then implement their own mapping of the GraphSON's language agnost
 to the appropriate representation for the driver's language.
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-1274[TINKERPOP-1274],
-link:http://tinkerpop.apache.org/docs/3.2.1-incubating/reference/#graphson-2.0-types[Reference Documentation -
+link:http://tinkerpop.apache.org/docs/3.2.2/reference/#graphson-2.0-types[Reference Documentation -
 GraphSON 2.0].
 
 Traversal Serialization