You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "DOYUNG YOON (JIRA)" <ji...@apache.org> on 2016/05/17 12:29:12 UTC

[jira] [Commented] (S2GRAPH-73) Add an SBT task and relevant scripts to construct a package for distribution

    [ https://issues.apache.org/jira/browse/S2GRAPH-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15286501#comment-15286501 ] 

DOYUNG YOON commented on S2GRAPH-73:
------------------------------------

Thanks for suggesting this JongWook. I have definitely +1 on this issue.

> Add an SBT task and relevant scripts to construct a package for distribution
> ----------------------------------------------------------------------------
>
>                 Key: S2GRAPH-73
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-73
>             Project: S2Graph
>          Issue Type: Sub-task
>            Reporter: Jong Wook Kim
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This subtask is to add a function to make a package for distribution, which has a directory layout like usual unix-based projects:
> {code}
> /
> ┣ bin/     # executable bash scripts to start/stop daemon processes
> ┣ conf/   # templates of configuration files
> ┣ lib/      # all jar files to be included in the classpath
> └ logs/   # an empty directory, where logs will be saved
> {code}
> When an official release is made, this directory will be compressed into a {{tar.gz}} file which the users will download from the website.
> Currently this is being done using the {{stage}} task that is a part of Play! framework, but the startup script provided by it is functionally very limited and not easy to tweak. 
> We would like to add the flexibility to add various bash scripts and make it easy for users to run and configure s2graph, and check the logs.
> Specifically, an SBT task will be made that resembles what Play! framework's one does, and also will a few bash scripts that call the SBT task will be made as necessary.
> In order for this to happen, I suggest to make changes to a few top-level directories as follows:
> * move the old {{/bin}} to {{/dev}} which contains scripts used during development; there is only one bash script for release auditing now, and more bash scripts should be added here.
> * make a new {{/bin}} which contains the bash scripts that go to the distribution package, and thus the users will use.
> * make a new {{/conf}} which contains the templates for configurations, like {{hbase-site.xml}}, {{application.conf.template}}, {{logback.xml.template}}, etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)