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

Implement Gitlab Issue Printer for CI #4800

Open
octoquad opened this issue Sep 15, 2023 · 0 comments · May be fixed by #4801
Open

Implement Gitlab Issue Printer for CI #4800

octoquad opened this issue Sep 15, 2023 · 0 comments · May be fixed by #4801

Comments

@octoquad
Copy link

octoquad commented Sep 15, 2023

If you would like to use Phan for Gitlab CI and the Code Quality Widget, the current JSON Printer falls short since it does not:

  1. Provide a fingerprint key for each problem detected
  2. Map the Phan severity rating into a known Gitlab severity rating.

I have already created a new Gitlab Issue printer for Phan and would like to upstream it to this project, to simplify the steps in the CI job.

image

I am also happy to maintain this specific printer if there are any issues that arise.

I'll also provide a code sample of how to use Phan in the CI Job in the docs.

References

https://docs.gitlab.com/ee/ci/testing/code_quality.html#implement-a-custom-tool

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 a pull request may close this issue.

1 participant