tcaiazzi / kathara-lab-checker Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
The current behavior of the software is that if there is a folder non containing a lab.conf
it crashes stopping all the process.
This is an unwanted behavior since the next start will be from scratch. If I'm passing over many directories, it will take a lot of time to process them from the beginning.
I see here two possible solutions if there is no lab.conf
:
--resume
option that avoid testing a directory if inside that directory there is already a test_results
directoryThe current configuration takes in input the path of a folder called structure
.
The software then reads automatically the lab.conf
file inside that folder to understand the correct device links.
It is unclear to me why in the configuration is not directly specified the lab.conf
file path, so that the file could be called in a different way.
Imagine if you have multiple configuration files each of it with a different lab.conf
. It would be great to use a single folder containing all the structure files named in different way and many configuration files that points to different .conf
structure files.
The configuration json should allow to specify which daemons are not allowed to run on certain devices.
IMHO, the "daemons" section of the file should be transposed with the device name as key and the list of the running daemons as value, in this way, if on the device there is a daemon that is running but not listed, the system should give a proper warning.
Hint: the jc
library can parse a systemctl
output ;)
The print of the commands output should be moved from the library file to the main file, according to the returned type.
This change allows to threat the library as a real library that do not need interfacing with the console or the stdout of the process.
Once this modification is completed, there should be CLI parameters to specify different output verbosity (-v
, -vv
, -vvv
) for the stdout. The first should just output the summary of each folder (student). The second should output just the test that do not pass, while the third should give the same output as now, writing all the test sequence.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.