googleapis / googleapis/google-cloud-java

[sdk-platform-java] Replace Owlbot (owlbot copy-code) in hermetic build

未关闭
#12,409 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p2 type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

In hermetic build, Owlbot is used to copy pre-processed library to its final destination for post-processing. It needs a configuration file, `.OwlBot-hermetic.yaml` to specify how to copy generated files to the destination.

The configuration cause some confusion, e.g., after adding a module in a library, we also need to modify the configuration so that Owlbot can copy the newly generated module to its destination ([commit](https://github.com/googleapis/google-cloud-java/pull/11284/commits/0218a213dc3d2ce4fe49e1b1bd7a9bea1aadc468)).

In addition, we need to install npm, nodejs and git in the docker image to support Owlbot, which may introduce security vulnerabilities.

We should replace Owlbot copy-code function with our own implementation and remove the configuration file.

Note that Owlbot has more functions and handwritten libraries may contain customizations, we need to support them as well.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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