googleapis / googleapis/google-cloud-java

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

Abierto
#12,405 0 comentarios 0 reacciones 0 asignados Ver en GitHub
priority: p2 type: feature request
Lenguaje dominante
Java
Estrellas
2.1k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
154

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.