<div dir="ltr">Good news.<div><br></div><div>Upstream has merged my pull request that places the snapcraft.yaml in the root of the project.</div><div><br></div><div>I now have a question on how I can provide them with an account that will allow them to upload as ntopng. Currently ntopng is a reserved name. I would like to setup some travis CI that will auto upload tip of dev into the edge channel of "ntopng".</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 5, 2016 at 2:53 PM, Blake Rouse <span dir="ltr"><<a href="mailto:blake.rouse@canonical.com" target="_blank">blake.rouse@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Already have pull request into the project.<div><br></div><div><a href="https://github.com/ntop/ntopng/pull/676" target="_blank">https://github.com/ntop/<wbr>ntopng/pull/676</a><br></div><div><br></div><div>ntopng is a reserved name in the snappy store, so I don't know the process of getting an account that can have access to that name. Allowing them to publish under the correct name.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 5, 2016 at 1:55 AM, Didier Roche <span dir="ltr"><<a href="mailto:didrocks@ubuntu.com" target="_blank">didrocks@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Le 04/08/2016 à 17:40, Blake Rouse a écrit :<br>
> I have created a ntopng snap for the dev branch of ntopng. The snap<br>
> works in strict mode once you connect it to the network-control<br>
> interface. I currently registered the snap as ntopng-blake as ntopng<br>
> is a reserved name. Let me know what you think.<br>
><br>
> sudo snap install ntopng-blake<br>
> sudo snap connect ntopng-blake:network-control ubuntu-core:network-control<br>
> sudo systemctl restart snap.ntopng-blake.ntopng.servi<wbr>ce<br>
><br>
> Login - <a href="http://localhost:3000" rel="noreferrer" target="_blank">http://localhost:3000</a><br>
> User - admin<br>
> Pass - admin<br>
><br>
> A couple things that would improve this snap are:<br>
><br>
> 1. I need the ntopng service to start after the redis service.<br>
> Currently in the ntopng service it loops until it can connect to redis<br>
> and then spawns the ntopng process. It would be nice to say in<br>
> snapcraft start this service after this other service has started.<br>
><br>
> 2. Since network-control interface is a reserved interface you have to<br>
> manually restart the service once the connection is made. It would be<br>
> nice to say in snapcraft that this service should be restarted once<br>
> the connection is made. Even better would be don't start this service<br>
> until this connection is made.<br>
><br>
> Overall this is an awesome way of getting ntopng running on your<br>
> system, directly from tip of dev.<br>
><br>
> ntopng - <a href="https://github.com/ntop/ntopng" rel="noreferrer" target="_blank">https://github.com/ntop/ntopng</a><br>
> ntopng-snap - <a href="https://github.com/blakerouse/ntopng-snap" rel="noreferrer" target="_blank">https://github.com/blakerouse/<wbr>ntopng-snap</a><br>
<br>
</div></div>Excellent work Blake!<br>
<br>
Do you think there is any chance that you propose it to upstream for<br>
merging your snapcraft.yaml to their upstream tree?<br>
Cheers,<br>
Didier<br>
<span><font color="#888888"><br>
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>