Open publicarray opened 3 years ago
While testing packages there are some repetitive steps that could be automated so some degree.
I purpose to create a cli command package for us developers. e.g. sudo spkcli test {packagename}
sudo spkcli test {packagename}
Things the script could test for:
grep
synopkg start {pkname}
ps
Here is a small script I started to make repetitive tasks easier and make managing spksrc easier: https://github.com/publicarray/spkcli/blob/main/spkcli.sh (place file it the root of the project)
While testing packages there are some repetitive steps that could be automated so some degree.
I purpose to create a cli command package for us developers. e.g.
sudo spkcli test {packagename}
Things the script could test for:
grep
for 'error'/ 'return code 1' in install log files [OK/Fail]synopkg start {pkname}
succeeds [OK/Fail] (if possible checkps
command / pid file)grep
for 'error' in running log files [OK/Fail]ps
command / pid file)Synology's Check List