Skip to content

Create a ScanCode.io pipeline to integrate Grimoire - #2202

Open
ziadhany wants to merge 6 commits into
aboutcode-org:mainfrom
ziadhany:grimoirelab
Open

Create a ScanCode.io pipeline to integrate Grimoire#2202
ziadhany wants to merge 6 commits into
aboutcode-org:mainfrom
ziadhany:grimoirelab

Conversation

@ziadhany

@ziadhany ziadhany commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Add a test for ScanRepoGrimoirelabTest
Remove hardcoded env variable

Signed-off-by: ziad hany <ziadhany2016@gmail.com>
@ziadhany
ziadhany marked this pull request as ready for review August 4, 2026 11:55
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Validate VCS URL
Add a test
Update Grimoirelab to use the minimal setting

Signed-off-by: ziad hany <ziadhany2016@gmail.com>
@ziadhany
ziadhany requested a review from TG1999 August 6, 2026 11:01
@ziadhany

ziadhany commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator Author

The pipeline input is:
https://github.com/expressjs/express.git

The expected JSON output file is:

{
  "repository": "https://github.com/expressjs/express.git",
  "npm_health_score": 1.797913884760353e-80,
  "metrics": {
    "total_commits": 114,
    "total_contributors": 38,
    "total_organizations": 7,
    "pony_factor": 3,
    "elephant_factor": 1,
    "recent_organizations": 7,
    "recent_contributors": 38,
    "recent_commits": 114,
    "contributor_growth": 1,
    "contributor_growth_rate": 0.047619047619047616,
    "active_branches": 14,
    "days_since_last_commit": 4,
    "casual_regular_contributors_rate": 0.0,
    "returning_contributors": 0,
    "commits_over_periods_rate": 1.0,
    "coefficient_of_variation": 0.5444252859362422,
    "file_types_code": 54,
    "file_types_binary": 0,
    "file_types_other": 156,
    "commit_size_added_lines": 1582,
    "commit_size_removed_lines": 927,
    "message_size_total": 38719,
    "message_size_mean": 339.640350877193,
    "message_size_median": 201,
    "developer_categories_core": 15,
    "developer_categories_regular": 23,
    "developer_categories_casual": 0,
    "commits_per_week": 2.1863013698630134,
    "commits_per_month": 9.36986301369863,
    "commits_per_year": 114.0,
    "found_file_license": 1,
    "found_file_adopters": 0
  }
}

Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Replace git:// with https://

Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

npm-health: Create a ScanCode.io pipeline to integrate Grimoire

1 participant