Re: [LEDE-DEV] Automated shell code debugging

2016-10-04 Thread Bastian Bittorf
* Jan-Tarek Butt [05.10.2016 07:47]: > > also we must "mute" some "errors", e.g. the usage of > > 'local' in functions, which is not POSIX (but is in the > > process of inclusion) > > shellcheck is able to do that. > > for mutin just add the comment > > # shellcheck disable= is is not that ea

Re: [LEDE-DEV] Automated shell code debugging

2016-10-04 Thread Jan-Tarek Butt
On 10/02/16 18:10, Bastian Bittorf wrote: > * Jan-Tarek Butt [02.10.2016 17:48]: >> As a part of code quallity enhancemend and prevenition. We can do an >> ondemand daemon as engine to >> check all shell scrips. We can use the opensource Project shellcheck [0]. >> >> My idea is to do an insatnc

Re: [LEDE-DEV] Automated shell code debugging

2016-10-02 Thread Bastian Bittorf
* Jan-Tarek Butt [02.10.2016 17:48]: > As a part of code quallity enhancemend and prevenition. We can do an ondemand > daemon as engine to > check all shell scrips. We can use the opensource Project shellcheck [0]. > > My idea is to do an insatnce on a server: > This insatnce can pull the lede r

Re: [LEDE-DEV] Automated shell code debugging

2016-10-01 Thread Jan-Tarek Butt
Hi, On 10/01/16 01:00, Lars Kruse wrote: > Am Sat, 1 Oct 2016 00:11:23 +0200 > schrieb Martin Tippmann : > >> [..] >> I'm not a shell pro but I found it very difficult to impossible to >> write something that passes without any hints/errors. >> >> There is a way to avoid this by using special com

Re: [LEDE-DEV] Automated shell code debugging

2016-09-30 Thread Lars Kruse
Hi, Am Sat, 1 Oct 2016 00:11:23 +0200 schrieb Martin Tippmann : > [..] > I'm not a shell pro but I found it very difficult to impossible to > write something that passes without any hints/errors. > > There is a way to avoid this by using special comments that prevent > shellcheck from nagging a

Re: [LEDE-DEV] Automated shell code debugging

2016-09-30 Thread Martin Tippmann
On Fri, Sep 30, 2016 at 11:36 PM, Jan-Tarek Butt wrote: > Hi thogeter, Hi, not a dev - just my 2cents > I have a realy nice idea :) > > As a part of code quallity enhancemend and prevenition. We can do an ondemand > daemon as engine to > check all shell scrips. We can use the opensource Project

[LEDE-DEV] Automated shell code debugging

2016-09-30 Thread Jan-Tarek Butt
Hi thogeter, I have a realy nice idea :) As a part of code quallity enhancemend and prevenition. We can do an ondemand daemon as engine to check all shell scrips. We can use the opensource Project shellcheck [0]. My idea is to do an insatnce on a server: This insatnce can pull the lede repo dai