[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526920#comment-15526920 ] ASF GitHub Bot commented on TINKERPOP-927: -- Github user asfgit closed the pull request at: https://github.com/apache/tinkerpop/pull/428 > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > Fix For: 3.1.5, 3.2.3 > > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526913#comment-15526913 ] ASF GitHub Bot commented on TINKERPOP-927: -- Github user asfgit closed the pull request at: https://github.com/apache/tinkerpop/pull/427 > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526596#comment-15526596 ] ASF GitHub Bot commented on TINKERPOP-927: -- Github user okram commented on the issue: https://github.com/apache/tinkerpop/pull/427 VOTE +1. > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526589#comment-15526589 ] ASF GitHub Bot commented on TINKERPOP-927: -- Github user okram commented on the issue: https://github.com/apache/tinkerpop/pull/428 VOTE +1. > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514783#comment-15514783 ] ASF GitHub Bot commented on TINKERPOP-927: -- Github user spmallette commented on the issue: https://github.com/apache/tinkerpop/pull/427 Didn't test this on tp31 - but i'm sold on #428 VOTE +1 > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514779#comment-15514779 ] ASF GitHub Bot commented on TINKERPOP-927: -- Github user spmallette commented on the issue: https://github.com/apache/tinkerpop/pull/428 dopest +1 ever ![](http://migratingtaste.oldeenglish.org/iloverap/threetimesdope-funkydividendremix.jpg) > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15505004#comment-15505004 ] ASF GitHub Bot commented on TINKERPOP-927: -- GitHub user dkuppitz opened a pull request: https://github.com/apache/tinkerpop/pull/428 TINKERPOP-927 bin/publish-docs.sh should only upload diffs. https://issues.apache.org/jira/browse/TINKERPOP-927 VOTE: +1 You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/tinkerpop TINKERPOP-927-master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tinkerpop/pull/428.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 #428 commit 5f2d2519373e4df3550bc80d2ab6b936366a3ead Author: Daniel Kuppitz Date: 2016-09-19T13:20:50Z Upload only diffs in `publish-docs.sh`. commit b20921bd4d42a08db6a182b26dd22e4808d837c2 Author: Daniel Kuppitz Date: 2016-09-19T15:23:47Z Merge branch 'TINKERPOP-927' into TINKERPOP-927-master commit 144e6f08d8bbefa3bf1810cac39a41c2f3b1a21e Author: Daniel Kuppitz Date: 2016-09-19T15:25:05Z Fixed javadocs file reference. commit 0100f78c79460152c1e5fd7793bef215e4558311 Author: Daniel Kuppitz Date: 2016-09-19T15:26:48Z Merge branch 'TINKERPOP-927' into TINKERPOP-927-master commit 120cef66da6afac1ecbb5781fe58d3ca3e1f0129 Author: Daniel Kuppitz Date: 2016-09-19T23:12:52Z Fixed temporary file path. > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15503480#comment-15503480 ] ASF GitHub Bot commented on TINKERPOP-927: -- GitHub user dkuppitz opened a pull request: https://github.com/apache/tinkerpop/pull/427 TINKERPOP-927 bin/publish-docs.sh should only upload diffs. https://issues.apache.org/jira/browse/TINKERPOP-927 VOTE: +1 You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/tinkerpop TINKERPOP-927 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tinkerpop/pull/427.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 #427 commit 5f2d2519373e4df3550bc80d2ab6b936366a3ead Author: Daniel Kuppitz Date: 2016-09-19T13:20:50Z Upload only diffs in `publish-docs.sh`. > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456576#comment-15456576 ] Daniel Kuppitz commented on TINKERPOP-927: -- Again a note to myself: After building the docs and checking out the the current remote version: {code} rm -rf target/svn mkdir -p target/svn ${SVN_CMD} co --depth immediates https://svn.apache.org/repos/asf/tinkerpop/site target/svn rm -f target/docs/htmlsingle/images/tinkerpop3.graffle pushd target/svn ${SVN_CMD} update "docs/${VERSION}" {code} ...the following command can be used to get a nice overview of differences: {code} # create a dummy file (only to test the "new file" scenario) touch ../docs/htmlsingle/new diff -rq docs/3.2.2-SNAPSHOT/ ../docs/htmlsingle/ | awk '/^Files / {print "U " gensub("^[^/]*/[^/]*/", "", "g", $2)} /^Only in docs/ {print "D " gensub(/:$/, "", "g", gensub("^[^/]*/[^/]*/", "", "g", $3)) "/" $4} /^Only in \.\./ {print "A " gensub(/:$/, "", "g", gensub("^[^/]*/[^/]*/[^/]*/", "", "g", $3)) "/" $4}' | sed 's/^\(.\) \//\1 /g' popd {code} I've tested it by checking out the published 3.2.2-SNAPSHOT docs and building the 3.2.1 docs locally. This was the result: {noformat} U dev/developer/index.html U dev/provider/index.html D images/betweeness-example.png D images/graph-cycle.png D images/gremlin-chef.png U images/gremlin-gym.png D images/gremlin-house-of-mirrors-cropped.png D images/gremlin-house-of-mirrors.png D images/gremlin-python-drawing.png D images/gremlin-variant-architecture.png D images/jython-logo.png D images/language-drivers.png D images/language-variants.png D images/nine-inch-gremlins.png U images/olap-traversal.png D images/python-logo.png D images/recipe-job-schema.png D images/remote-graph.png D images/shortest-path.png U index.html A new D recipes U reference/index.html U tutorials/getting-started/index.html D tutorials/gremlin-language-variants U tutorials/the-gremlin-console/index.html U upgrade/index.html {noformat} Based on that {{publish-docs.sh}} could run a few commands to update the currently published docs and the whole process should be done within a few seconds. > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TINKERPOP-927) bin/publish-docs.sh should only upload diffs.
[ https://issues.apache.org/jira/browse/TINKERPOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456412#comment-15456412 ] Daniel Kuppitz commented on TINKERPOP-927: -- Note to myself: The checksum reported by {{svn info }} can be compared to the local checksum reported by {{sha1sum }}. > bin/publish-docs.sh should only upload diffs. > - > > Key: TINKERPOP-927 > URL: https://issues.apache.org/jira/browse/TINKERPOP-927 > Project: TinkerPop > Issue Type: Improvement > Components: build-release >Affects Versions: 3.0.2-incubating >Reporter: Marko A. Rodriguez >Assignee: Daniel Kuppitz > > It takes forever for us to publish-docs. Can we just do a "diff" and see what > changed (MD5?) and then {{svn up}} only those files? -- This message was sent by Atlassian JIRA (v6.3.4#6332)