Development tools to help automate testing and fault-finding when making changes the ARM main code. Aim of this code is to be independent of the main ARM Repo, such that no libraries are pulled into support the test code. With the intent that it is possible to run the ARM Devtools as a standalone python script. This is to avoid introducing errors into the main code from the test tool. Currently, a work in progress.
- Manage branch changes and the ARMUI
- Docker
- Rebuild the docker image with updated ARM code
- Database management
- Remove the database file, test running of ARM on a new system
- Quality Checks (runs Flake8 against all arm code)
- PR Checks
- Run actions prior to commiting a PR
- Notification check, generate notifications to the UI
$ ./armdevtools.py -h
usage: armdevtools.py [-h] [-b B] [-dr DR] [-db_rem] [-qa] [-pr] [-n] [-v]
Automatic Ripping Machine Development Tool Scripts. Note: scripts assume running on a bare
metal server when running, unless running the specific docker rebuild scripts.
options:
-h, --help show this help message and exit
-b B Name of the branch to move to, example -b v2_devel
-dr DR Docker rebuild post ARM code update. Requires docker run script path to run.
-db_rem Database tool - remove current arm.db file
-qa QA Checks - run Flake8 against ARM
-pr Actions to run prior to committing a PR against ARM on github
-n Notification tool - show a test notification
-v ARM Dev Tools Version
No unique requirements for devtools
No install required, once ARM installed
Please see the wiki.
Pull requests are welcome. Please see the Contributing Guide
If you set ARM up in a different environment (hardware/OS/virtual/etc.), please consider submitting a howto to the wiki.