[
https://issues.apache.org/jira/browse/TINKERPOP-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17313874#comment-17313874
]
ASF GitHub Bot commented on TINKERPOP-2544:
-------------------------------------------
spmallette commented on pull request #1412:
URL: https://github.com/apache/tinkerpop/pull/1412#issuecomment-812530880
my initial test of `generate-home.sh` on this branch produced:
```text
$ bin/generate-home.sh
~/git/apache/tinkerpop/docs/gremlint ~/git/apache/tinkerpop
bin/generate-home.sh: line 28: npm: command not found
~/git/apache/tinkerpop
rsync: change_dir
"/home/smallette/git/apache/tinkerpop//docs/gremlint/build" failed: No such
file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1207) [sender=3.1.3]
~/git/apache/tinkerpop/docs/site ~/git/apache/tinkerpop
~/git/apache/tinkerpop
Home page site generated to
/home/smallette/git/apache/tinkerpop/target/site/home
```
I guess i rely on the npm installed by maven to build gremlin-javascript.
so i got npm installed and then ran again to get:
```text
$ bin/generate-home.sh
~/git/apache/tinkerpop/docs/gremlint ~/git/apache/tinkerpop
> [email protected] build
> react-scripts build
sh: 1: react-scripts: not found
~/git/apache/tinkerpop
rsync: change_dir
"/home/smallette/git/apache/tinkerpop//docs/gremlint/build" failed: No such
file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1207) [sender=3.1.3]
~/git/apache/tinkerpop/docs/site ~/git/apache/tinkerpop
~/git/apache/tinkerpop
Home page site generated to
/home/smallette/git/apache/tinkerpop/target/site/home
```
definitely don't see the `docs/gremlint/build` directory which is probably
because of the react error?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> Modify site publishing scripts to include gremlint
> --------------------------------------------------
>
> Key: TINKERPOP-2544
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2544
> Project: TinkerPop
> Issue Type: Improvement
> Components: gremlint
> Affects Versions: 3.5.0
> Reporter: Stephen Mallette
> Assignee: Øyvind Sæbø
> Priority: Blocker
>
> I think `bin/generate-home.sh` just needs to run the `npm` command to
> generate the static site and copy it to `target/site/gremlint` and then
> hopefully, `bin/publish-home.sh` will automatically note the new `gremlint`
> directory and upload it svn to publish. If it doesn't, there's probably some
> minor changes to `bin/publish-home.sh` to accomplish that step.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)