googleapis / googleapis/google-cloudevents-java

Add Clirr Check

未关闭
#43 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: eventarc priority: p3 type: feature request
主要语言
Java
星标
22
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

## Expected Behavior

This library should list breaking changes such that `mvn clirr:check` passes.

This can be achieved by creating a new file:

```
clirr-ignored-differences.xml
```

And making sure that we do not skip the clirr check by removing this line (no skip in `.kokoro/stage.sh`):

```sh
-Dclirr.skip
```

## Examples:

- File: https://github.com/googleapis/java-monitoring/blob/master/google-cloud-monitoring/clirr-ignored-differences.xml
- PR: https://github.com/googleapis/java-monitoring/pull/161
- Release notes: https://github.com/googleapis/java-monitoring/releases/tag/v2.0.0

## Actual Behavior

This check is disabled.

贡献指南

打开贡献指南

调研方向

从 .kokoro/stage.sh 开始,检查现有的 Clirr 配置或相关的项目示例。针对已记录的破坏性变更创建 clirr-ignored-differences.xml,移除 -Dclirr.skip,并运行 mvn clirr:check 以确认检查通过。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
build-system, ci-cd
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。