spot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathanael Smith <>
Subject [SPOT-23] PR #24 | review PR and proposal for additional changes
Date Tue, 11 Apr 2017 18:18:06 GMT

Please review and test this PR, <>

TLDR; I’d love community feedback and participation in how spot is installed, maintained
and run. Proposing several long term changes to make this feel more like a complete solution.

There are some significant changes here,

* SPOT-SETUP/ creates /opt/spot/{bin,jar}, creates /etc/profile.d/ which
updates the $PATH
* SPOT-INGEST/ installs all dependencies, including tshark, nfdump to /opt/spot/bin/
* SPOT-ML/ installs sbt, builds the jar and copies it to /opt/spot/jar, copies
to /opt/spot/bin
* SPOT-OA/ installs npm, builds the ui

I have not moved the scripts for ingest or OA into the bin yet but want to add this later,
perhaps these should be changed to more notable names to create a suite of tools that can
be called from anywhere.
Meaning something like <>
could be changed to `spot-ingest` and be included in /opt/spot/bin.

a more complete list of changes: —> spot-ingest —> spot-ml —> spot-ui (see my notes below for additional requirements for spot-ui) —> spot-oa

for spot-ui i would suggest a start/kill option for the script.
`spot-ui start` would run ipython while `spot-ui kill` would actually stop the process.
This would require a little bit of thought and bash magic, as i’d suggest that grepping
for the process and running kill might not be the right option.
- Nathanael

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message