Skip to content
  1. Jul 13, 2021
  2. Jul 12, 2021
  3. Jul 08, 2021
  4. Jul 07, 2021
  5. Jul 06, 2021
  6. Jul 05, 2021
  7. Jul 02, 2021
  8. Jul 01, 2021
  9. Jun 30, 2021
  10. Jun 29, 2021
  11. Jun 28, 2021
  12. Jun 25, 2021
    • Richard Neill's avatar
      tools/qa-checks: Refactor shell check script as a checker module · cd97f194
      Richard Neill authored
      
      
      This patch adapts the standalone shellcheck script, aligning it with the other
      modular checks. The depreciated code-check and virtual environment wrapper
      within meta-ewaol-config is also removed in preference for the more generic
      run-checks.py script and ModulesVirtualEnv class.
      
      Issue-Id: SCM-2584
      Issue-Id: SCM-2585
      Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: Iea9855a17eba3d80f09954a568f216280d273e3d
      cd97f194
    • Richard Neill's avatar
      tools/qa-checks: Refactor python check as a checker module · 98d0944b
      Richard Neill authored
      
      
      This patch adapts the standalone code check for pycodestyle, aligning it with
      the other modular checks.
      
      Issue-Id: SCM-2584
      Issue-Id: SCM-2585
      Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: If82791dbd4f4e74fe5dc3b810f7ffaa8b7a28741
      98d0944b
    • Richard Neill's avatar
      tools/qa-checks: Add spell_check module · ab46891c
      Richard Neill authored
      
      
      This patch adds the spell_check module that checks all files within the target
      paths for spelling errors. To support this, a custom EWAOL dictionary is
      provided that extends the standard language dictionary with additional
      permitted words.
      
      Issue-Id: SCM-2585
      Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: I07780a0c83e5a2840bf294764cc02acb4e96663f
      ab46891c
    • Richard Neill's avatar
      tools/qa-checks: Add git commit_msg_check module · 67f7a057
      Richard Neill authored
      
      
      This patch adds the commit_msg_check module that checks that the latest commit
      of the repository has a commit message that complies with the repository
      standard.
      
      Issue-Id: SCM-2584
      Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: Ib8ea2c88777522db25e8c5cfcc8547739632fea8
      67f7a057
    • Richard Neill's avatar
      tools/qa-checks: Add runner script for checker modules · 30b91e14
      Richard Neill authored
      
      
      This patch adds a runner script that enables execution of a suite of checkers,
      provided as command-line arguments. The checkers are modular, and must
      implement the functions defined by a helper abstract class given in
      abstract_check.py in order to be run by the runner script.
      
      By default, the checkers run within a Python virtual environment using the
      ModulesVirtualEnv class.
      
      Usage information can be found by passing --help to run-checks.py.
      
      Issue-Id: SCM-2584
      Issue-Id: SCM-2585
      Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: Ia2e07ef14e9b01da25893557ef81b197d2f793ff
      30b91e14
    • Richard Neill's avatar
      tools: Provide generic class for executing Python scripts within a venv · 76b81fd0
      Richard Neill authored
      
      
      This patch adds a top-level directory to support tooling within the repository.
      
      To this directory, this patch refactors the virtual environment component of
      the code checking tool into a generic ModulesVirtualEnv class that may be used
      to generally run Python scripts within a venv.
      
      ModulesVirtualEnv takes a runner script, arguments, and the Python package
      dependencies required to run the script with those arguments. A Python virtual
      environment is then created, in which the dependencies are installed, and the
      script is called from that virtual environment context as a subprocess.
      
      Issue-Id: SCM-2584
      Issue-Id: SCM-2585
      Change-Id: I4835c5e3e02ccd448de4dcedeee3f3e61f4a8a13
      Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
      76b81fd0
Loading