redhat-developer / redhat-developer/rhdh-plugins

Create new gitlab module for scorecard

Open
#3,475 5 comments 0 reactions 1 assignee View on GitHub

@christoph-jerolimov is already working on this.

Since Jun 19, 2026.

enhancement feature triaged workspace/scorecard
Dominant language
TypeScript
Stars
48
Forks
120
Avg merge
2d 6h
Merged PRs (30d)
337

Description

Scorecard is a backstage plugin and supports multiple metric, grouped as modules in folder workspaces/scorecard/plugins.

There are already modules that support GitHub, OpenSSF, SonarQube. Add a new module for GitLab, called gitlab.

Similar to the github module it should use the existing Backstage scm configuration for gitlab.

All metrics providers should filter for entities with annotation gitlab.com/project-slug.

For these entities it should call the GitLab API to populate these metrics.

These for issues and merge requests:

  1. Open issues (current count)
  2. Opened issues that was opened in the last 7 days
  3. Closed issues that was closed in the last 7 days
  4. Open merge requests (current count)
  5. Opened merge request that was opened in the last 7 days
  6. Closed merge requests was was closed or merged in the last 7 days

These for pipelines and jobs:

  1. Number of started pipelines and jobs in the last 7 days.
  2. Number of successfully finished pipelines and jobs in the last 7 days. Ignore these which are pending, running, canceled, etc.9, Number of failed pipelines and jobs in the last 7 days. Ignore these which are pending, running, canceled, etc.
  3. Two metrics for Ratio of successful vs successful+failed pipelines and jobs, once for the last 7 days and one for the last 24 hours. Ignore these which are pending, running, canceled, etc.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.