Stand up rsrr with check framework, CLI, and initial check set#13
Open
lukpueh wants to merge 1 commit into
Open
Stand up rsrr with check framework, CLI, and initial check set#13lukpueh wants to merge 1 commit into
lukpueh wants to merge 1 commit into
Conversation
Framework - base: introduce Context dataclass (carrying ef_project_id, gh_repo, gh/gl tokens, gl_vuln_kw, shared data dict) and a github_get helper; and BaseCheck (base class). - runner: auto-discover Check classes in src/rsrr/checks/, run them in dependency waves via asyncio.gather, skip transitive dependents on failure, treat pre-populated ctx.data entries as already completed, and emit per-check start/ok/err progress lines on stderr - cli: Click CLI with `rsrr list` and `rsrr run`; flags for --ef-project-id, --gh-repo, --gh-token/GH_TOKEN, --gl-token/GL_TOKEN, --gl-vuln-kw, --ctx-data for incremental result merging Checks - ef_project: Get EF project API results - ef_committers: Fetches detailed profile info for each project committer from the EF API - ef_inactive_committers: Lists EF committers whose GitHub handle has no commits in the past year - ef_cves: Returns advisories from the EF vulnerabilities repo matching the project ID - gh_repos: List all GitHub repos for the project - gh_repo_clone: Clones the GitHub repo into a temporary directory - gh_repo_commit_activity: Returns commit count and committers in the past year for each repo - gh_releases: Fetches all releases and counts releases per year - gh_alerts: Fetches all Dependabot alerts for a GitHub repo - gh_security_advisories: Fetches all security advisories for a GitHub repo - gh_private_vulnerability_reporting: Checks if private vulnerability reporting is enabled for a GitHub repo - gh_has_dot_github_repo: Checks if each GitHub organization has a .github repo - gh_default_security_policy: Checks if each GitHub organization has a default SECURITY.md in its .github repo - gh_scorecard: Runs OpenSSF Scorecard against a GitHub repo - gh_zizmor: Runs zizmor GitHub Actions security audit on a GitHub repo - gl_vulnerability_reports: Searches GitLab vulnerability-reports project for issues matching keywords Other - Add click, httpx runtime deps and pytest/pytest-asyncio dev deps - Add tests for base.github_get, the CLI surface, and the runner (discovery, dependency waves, failure propagation, pre-populated data) - Add README (install, usage, access-token URLs with minimum scopes) and CLAUDE.md project guide - Ignore .venv and result files via .gitignore Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
mbarbero
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #11, #10, #9, #6 and most of #3
Framework
rsrr listandrsrr run; flags for --ef-project-id, --gh-repo, --gh-token/GH_TOKEN, --gl-token/GL_TOKEN, --gl-vuln-kw, --ctx-data for incremental result mergingChecks
Other