Skip to content

handling repo url different from "platform" / "group" / "repo_name" not handled correctly #126

@francoto

Description

@francoto

Example of repo not handled correctly : https://gitlab.com/ska-telescope/sdc/sdc1-solution

issue creation failed:
Here is the report.json associated with the repo from swmetadata-bot

{
      "repo_url": "https://gitlab.com/ska-telescope/sdc/sdc1-solution",
      "platform": "gitlab",
      "pitfalls_count": 1,
      "warnings_count": 2,
      "issue_url": null,
      "analysis_date": "2026-05-22T06:09:48Z",
      "sw_metadata_bot_version": "0.4.3",
      "rsmetacheck_version": "0.3.1",
      "pitfalls_ids": [
        "P011"
      ],
      "warnings_ids": [
        "W001",
        "W004"
      ],
      "action": "failed",
      "reason_code": "publish_exception",
      "findings_signature": "P011|W001|W004",
      "current_commit_id": "ae8fc3e09f2fe613b6768d847c4b4d42e9cdf9b5",
      "dry_run": true,
      "issue_persistence": "simulated",
      "codemeta_generated": false,
      "codemeta_status": "present",
      "file": "20260522/gitlab_com_ska_telescope_sdc_sdc1_solution/pitfall.jsonld",
      "error": "404 Client Error: Not Found for url: https://gitlab.com/api/v4/projects/ska-telescope%2Fsdc/issues",
      "is_transient_error": false,
      "retry_after_seconds": 30,
      "retry_attempt": 1,
      "failed_at": "2026-05-22T06:24:19Z",
      "last_publish_action": "simulated_created"
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions