Skip to content

feat:Adding js support

Kaveri Mamidi requested to merge add-js-support into main

What does this MR do and why?

Previously, the GitLab Compliance Checker supported only Python-based projects and could validate one repository at a time.

This merge request significantly enhances the tool by adding multi-language support and batch repository validation, making it more flexible and scalable.

Key enhancements:

  • Extended compliance checks beyond Python to support JavaScript (Node.js) projects
  • Enabled validation of multiple GitLab repository links in a single run
  • Added automated checks for mandatory repository files:
    • README.md
    • .gitignore
  • Introduced a README quality evaluation that calculates a percentage score based on the presence of essential sections (such as description, setup, usage, etc.)
  • Generated clear PASS/FAIL compliance results for each repository

These improvements make the tool more suitable for hackathons, classroom evaluations, and large-scale project reviews.


References

  • GitLab repository: tools/gitlab-compliance-checker
  • Enhancement: Multi-language and multi-repository compliance validation

Screenshots or screen recordings

Before After
Only Python projects supported, single repository validation Supports Python and JavaScript projects with multi-repository validation and README quality scoring

How to set up and validate locally

  1. Clone the repository:
    git clone https://code.swecha.org/tools/gitlab-compliance-checker.git
    cd gitlab-compliance-checker

Merge request reports

Loading