googleapis / googleapis/google-cloud-java

[sdk-platform-java] Create an empty `versions.txt` if it doesn't exist in `repository-path`

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

描述

In the hermetic library generation process, we require a `versions.txt` file exists in `repository-path`; otherwise raise `FileNotFoundError` in https://github.com/googleapis/sdk-platform-java/blob/7d6d66a161db5edc538aec065405954acf4434c5/hermetic_build/library_generation/utils/utilities.py#L164

We didn't check the content of this file and the post processor can add versions for new client, therefore we should create an empty file if not exist, rather than raise an exception.

The generated library will have a `0.0.1-SNAPSHOT` version.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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