Skip to content

Revision links for external Repository Viewer are broken #3625

@ngladitz

Description

@ngladitz

Bug report

Expected Behavior

Repository links take me to the configured repository viewer displaying the referenced commit.

Actual Behavior

404 error and / or broken commit reference in URL

CDash Version

Seen locally with 4.10.0.
Also seen on open.cdash.org (currently v4.10.0-74-gb47aea749).

Additional Information

Go to e.g. https://open.cdash.org/builds/11188448/update

Revision link points to https://open.cdash.org/builds/11188448/gitlab.kitware.com/cmake/cmake/-/compare/49e55830d691158d2927baebe22df8946886291a...addecfe41ef688f74ae02442c5f84afd1eee7e9c

Prior revision link points to https://open.cdash.org/builds/11188448/gitlab.kitware.com/cmake/cmake/-/commit/addecfe41ef688f74ae02442c5f84afd1eee7e9c

Locally I can partially fix the URL by explicitly adding https:// to the CDash configured "Repository Viewer URL" (was not required in the past apparently).

This gives me something like (anonymized) e.g.
https://gitlab.example.com/Group/Project/-/compare/59cc8a2e446d59acd7222389668e82baadf86749...

That link is presumably broken for me because it uses "compare" rather than "commit" even though I only have a single commit reference (no prior revision; not entirely sure where that might be coming from).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions