Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSF Scorecard report viewer does not handle nested gitlab groups correctly #700

Closed
stexandev opened this issue Nov 6, 2024 · 1 comment · Fixed by #701
Closed

OpenSSF Scorecard report viewer does not handle nested gitlab groups correctly #700

stexandev opened this issue Nov 6, 2024 · 1 comment · Fixed by #701

Comments

@stexandev
Copy link
Contributor

Attention: this is not a duplicate of #511

Describe the bug

When trying to display the result of a scan for a gitlab repository that uses multi-level groups, the result can not be retrieved because the current implementation (split on "/") only respects the first three parts of the URL.

Reproduction steps
Steps to reproduce the behavior:

  1. Load a result for a repo with multi-level groups into the viewer, e.g. `/index.html?uri=gitlab.gwdg.de%2Fsubugoe%2Femo%2Ftido
  2. The result the viewer tries to fetch then is for gitlab.gwdg.de/subugoe/emo

Expected behavior

It is exspected that the viewer can handle multi-level groups and shows the results for such repos.

Additional context
Add any other context about the problem here.

@spencerschrock
Copy link
Member

Attention: this is not a duplicate of #511

I agree it's a separate issue in the sense that it should try to fetch the correct repo, but ultimately it's blocked on #511.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants