SoftwareQuality/jabref/docs/decisions/0025-reviewdog-reviews.md
Artem Semenovykh 415abbc47b import jabref
2024-11-16 11:43:42 +01:00

34 lines
1.6 KiB
Markdown

---
parent: Decision Records
nav_order: 25
---
# Reviewdog findings are code reviews
## Context and Problem Statement
JabRef offers [guidelines to setup the local workspace](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace).
There is also a section on [JabRef's code style](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace#using-jabrefs-code-style).
There are pull requests by newcomers, which do not follow that style guide.
How to quickly provide feedback to contributors that checkstyle was not matched?
## Decision Drivers
* Be friendly to newcomers
* Provide fast feedback to contributors
* Lower the workload of maintainers
* Keep maintainers focused on the "real" challanges of the code changes
## Considered Options
* Use [Reviewdog's PullRequest review reporter](https://github.com/reviewdog/reviewdog#reporter-github-pullrequest-review-comment--reportergithub-pr-review)
* Use [Reviewdog's check reporter](https://github.com/reviewdog/reviewdog#reporter-github-checks--reportergithub-check)
* Use [comment-failure-action](https://github.com/quipper/comment-failure-action)
## Decision Outcome
Chosen option: "Use Reviewdog's PullRequest review reporter", because resolves force to provide fast feedback.
We do not want to use `comment-failure-action`, because [it might procude too much comments](https://github.com/quipper/comment-failure-action/issues/224).
We accept that newcomers might be annoyed if quick automatic feedback by a bot is given:
We value the time of our maintainers and want to keep them focused on the real challanges of the code changes.