[
https://issues.apache.org/jira/browse/NUTCH-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18065913#comment-18065913
]
ASF GitHub Bot commented on NUTCH-3163:
---------------------------------------
sonarqubecloud[bot] commented on PR #907:
URL: https://github.com/apache/nutch/pull/907#issuecomment-4061456464
## [](https://sonarcloud.io/dashboard?id=apache_nutch&pullRequest=907)
**Quality Gate failed**
Failed conditions
 [56.3% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_nutch&pullRequest=907&metric=new_coverage&view=list)
(required ≥ 80%)
[See analysis details on SonarQube
Cloud](https://sonarcloud.io/dashboard?id=apache_nutch&pullRequest=907)
> Integrate Apache Yetus' pre-commit patch testing into Nutch GitHub Continuous
> Integration
> -----------------------------------------------------------------------------------------
>
> Key: NUTCH-3163
> URL: https://issues.apache.org/jira/browse/NUTCH-3163
> Project: Nutch
> Issue Type: New Feature
> Components: ci/cd
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: 1.23
>
>
> I recently dedicated some time to Hadoop and Tez patches and liked the Apache
> Yetus pre-commit patch CI as it is another step to helping reviewers.
> My goal is to add Yetus' pre-commit patch testing to Nutch’s CI so every pull
> request is checked automatically before review. This gives contributors fast,
> consistent feedback and helps reviewers focus on design and behaviour instead
> of style and basic checks.
> Benefits
> * Faster feedback: Contributors see Yetus results (compile, tests, style,
> license) on each PR without running everything locally. Problems are caught
> in CI instead of in review.
> * Consistent checks: The same set of checks runs on every PR (e.g. Ant
> build, javac/javadoc, optional RAT, XML/YAML lint). Reduces “works on my
> machine” and keeps the bar for contributions clear.
> * Better use of review time: Reviewers can rely on Yetus for formatting,
> license headers, and basic build/test, and spend more time on logic, APIs,
> and Nutch-specific behaviour.
> * Unified reporting: Yetus produces a single report (HTML in the artifact,
> Markdown in the PR comment) so both contributors and reviewers see one place
> for pass/fail and details.
> * Alignment with the ASF: Yetus is widely used in Apache projects; using it
> in Nutch matches common ASF contribution workflows and makes it easier for
> contributors from other Yetus-using projects.
> * Optional local use: Contributors can run {{test-patch}} locally (e.g. with
> {{{}--build-tool=ant{}}}) before opening a PR, which can shorten the review
> cycle.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)