Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: script to create a new module #8257

Closed
wants to merge 85 commits into from

Conversation

suztomo
Copy link
Member

@suztomo suztomo commented Aug 31, 2022

Adding a Python script to create a new module in this monorepo.

@suztomo suztomo marked this pull request as draft August 31, 2022 18:19
@suztomo suztomo force-pushed the new_client_script branch from a09070f to 3ae4e74 Compare August 31, 2022 18:20
@suztomo
Copy link
Member Author

suztomo commented Sep 8, 2022

Current status

git log -1 --format=%H
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/AndroidApplication.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/AndroidApplication.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/AndroidApplicationOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/AndroidApplicationOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/AndroidKeyRestrictions.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/AndroidKeyRestrictions.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/AndroidKeyRestrictionsOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/AndroidKeyRestrictionsOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ApiKeysProto.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ApiKeysProto.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ApiTarget.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ApiTarget.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ApiTargetOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ApiTargetOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/BrowserKeyRestrictions.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/BrowserKeyRestrictions.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/BrowserKeyRestrictionsOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/BrowserKeyRestrictionsOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/CreateKeyRequest.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/CreateKeyRequest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/CreateKeyRequestOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/CreateKeyRequestOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/DeleteKeyRequest.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/DeleteKeyRequest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/DeleteKeyRequestOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/DeleteKeyRequestOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/GetKeyRequest.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyRequest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/GetKeyRequestOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyRequestOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/GetKeyStringRequest.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyStringRequest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/GetKeyStringRequestOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyStringRequestOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/GetKeyStringResponse.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyStringResponse.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/GetKeyStringResponseOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyStringResponseOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/IosKeyRestrictions.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/IosKeyRestrictions.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/IosKeyRestrictionsOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/IosKeyRestrictionsOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/Key.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/Key.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/KeyName.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/KeyName.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/KeyOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/KeyOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ListKeysRequest.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ListKeysRequest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ListKeysRequestOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ListKeysRequestOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ListKeysResponse.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ListKeysResponse.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ListKeysResponseOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ListKeysResponseOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/LocationName.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LocationName.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/LookupKeyRequest.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LookupKeyRequest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/LookupKeyRequestOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LookupKeyRequestOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/LookupKeyResponse.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LookupKeyResponse.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/LookupKeyResponseOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LookupKeyResponseOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ResourcesProto.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ResourcesProto.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/Restrictions.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/Restrictions.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/RestrictionsOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/RestrictionsOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ServerKeyRestrictions.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ServerKeyRestrictions.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ServerKeyRestrictionsOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ServerKeyRestrictionsOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/UndeleteKeyRequest.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/UndeleteKeyRequest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/UndeleteKeyRequestOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/UndeleteKeyRequestOrBuilder.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/UpdateKeyRequest.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/UpdateKeyRequest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/UpdateKeyRequestOrBuilder.java /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/UpdateKeyRequestOrBuilder.java
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto/google
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto/google/api
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto/google/api/apikeys
mkdir /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto/google/api/apikeys/v2
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/proto/google/api/apikeys/v2/apikeys.proto /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto/google/api/apikeys/v2/apikeys.proto
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/proto-google-cloud-api-apikeys-v2-java/src/main/proto/google/api/apikeys/v2/resources.proto /repo/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto/google/api/apikeys/v2/resources.proto
mkdir /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src
mkdir /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main
mkdir /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main/java
mkdir /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main/java/com
mkdir /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main/java/com/google
mkdir /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main/java/com/google/api
mkdir /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys
mkdir /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/grpc-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ApiKeysGrpc.java /repo/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ApiKeysGrpc.java
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ApiKeysClient.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/ApiKeysClient.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/ApiKeysSettings.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/ApiKeysSettings.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/gapic_metadata.json /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/gapic_metadata.json
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/package-info.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/package-info.java
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStub.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStub.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStubSettings.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStubSettings.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/stub/GrpcApiKeysCallableFactory.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/GrpcApiKeysCallableFactory.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/stub/GrpcApiKeysStub.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/GrpcApiKeysStub.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/stub/HttpJsonApiKeysCallableFactory.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/HttpJsonApiKeysCallableFactory.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/main/java/com/google/api/apikeys/v2/stub/HttpJsonApiKeysStub.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/HttpJsonApiKeysStub.java
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys
mkdir /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/test/java/com/google/api/apikeys/v2/ApiKeysClientHttpJsonTest.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2/ApiKeysClientHttpJsonTest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/test/java/com/google/api/apikeys/v2/ApiKeysClientTest.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2/ApiKeysClientTest.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/test/java/com/google/api/apikeys/v2/MockApiKeys.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2/MockApiKeys.java
cp /googleapis-gen/google/api/apikeys/v2/google-cloud-api-apikeys-v2-java/gapic-google-cloud-api-apikeys-v2-java/src/test/java/com/google/api/apikeys/v2/MockApiKeysImpl.java /repo/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2/MockApiKeysImpl.java
git log -1 --format=%B
Wrote commit message to /tmp/tmp-1-g6tvD1jWakWi/commit-msg--1-AdfVYvBHy2cS-.txt
Removing googleapis-gen...
[new_module_java-apikeys c52702b09f] feat: initial generation of apikeys
 63 files changed, 27408 insertions(+), 7 deletions(-)
 create mode 100644 java-apikeys/.OwlBot.yaml
 create mode 100644 java-apikeys/.repo-metadata.json
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/ApiKeysClient.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/ApiKeysSettings.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/gapic_metadata.json
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/package-info.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStub.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStubSettings.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/GrpcApiKeysCallableFactory.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/GrpcApiKeysStub.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/HttpJsonApiKeysCallableFactory.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/HttpJsonApiKeysStub.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2/ApiKeysClientHttpJsonTest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2/ApiKeysClientTest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2/MockApiKeys.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/google-cloud-apikeys/src/test/java/com/google/api/apikeys/v2/MockApiKeysImpl.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/grpc-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ApiKeysGrpc.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/AndroidApplication.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/AndroidApplicationOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/AndroidKeyRestrictions.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/AndroidKeyRestrictionsOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ApiKeysProto.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ApiTarget.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ApiTargetOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/BrowserKeyRestrictions.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/BrowserKeyRestrictionsOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/CreateKeyRequest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/CreateKeyRequestOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/DeleteKeyRequest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/DeleteKeyRequestOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyRequest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyRequestOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyStringRequest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyStringRequestOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyStringResponse.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/GetKeyStringResponseOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/IosKeyRestrictions.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/IosKeyRestrictionsOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/Key.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/KeyName.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/KeyOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ListKeysRequest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ListKeysRequestOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ListKeysResponse.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ListKeysResponseOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LocationName.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LookupKeyRequest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LookupKeyRequestOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LookupKeyResponse.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/LookupKeyResponseOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ResourcesProto.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/Restrictions.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/RestrictionsOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ServerKeyRestrictions.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/ServerKeyRestrictionsOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/UndeleteKeyRequest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/UndeleteKeyRequestOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/UpdateKeyRequest.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/java/com/google/api/apikeys/v2/UpdateKeyRequestOrBuilder.java
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto/google/api/apikeys/v2/apikeys.proto
 create mode 100644 java-apikeys/owl-bot-staging/java-apikeys/v2/proto-google-cloud-apikeys-v2/src/main/proto/google/api/apikeys/v2/resources.proto
 create mode 100644 java-apikeys/owlbot.py
mv: cannot move 'owl-bot-staging' to '../owl-bot-staging': Directory not empty
Traceback (most recent call last):
  File "/usr/local/google/home/suztomo/google-cloud-java/generation/new_client/new-client.py", line 301, in <module>
    main()
  File "/usr/local/google/home/suztomo/.local/lib/python3.9/site-packages/click/core.py", line 1134, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/google/home/suztomo/.local/lib/python3.9/site-packages/click/core.py", line 1059, in main
    rv = self.invoke(ctx)
  File "/usr/local/google/home/suztomo/.local/lib/python3.9/site-packages/click/core.py", line 1665, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/google/home/suztomo/.local/lib/python3.9/site-packages/click/core.py", line 1401, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/google/home/suztomo/.local/lib/python3.9/site-packages/click/core.py", line 767, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/google/home/suztomo/google-cloud-java/generation/new_client/new-client.py", line 266, in generate
    subprocess.check_call(
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['mv', 'owl-bot-staging', '../']' returned non-zero exit status 1.

@suztomo
Copy link
Member Author

suztomo commented Sep 13, 2022

Current status: It can now create a new module https://github.com/googleapis/google-cloud-java/pull/8389/files

@suztomo suztomo marked this pull request as ready for review September 15, 2022 14:07
@suztomo
Copy link
Member Author

suztomo commented Sep 15, 2022

@meltsufin Would you try this script to create a new module, and share feedback? It has README.md.

@suztomo suztomo added the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 15, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 15, 2022
Comment on lines 135 to 144
$ python3.9 new-client.py generate \
--api_shortname=${API_SHORT_NAME} \
--proto-path=google/api/apikeys \
--name-pretty="API Keys API" \
--product-docs="https://cloud.google.com/api-keys/" \
--api-description="API Keys lets you create and manage your API keys for your projects." \
--release-level=preview \
--transport=grpc \
--language=java \
--monorepo-url="https://github.com/googleapis/google-cloud-java"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See Sofia's design and compare values supplied.

@suztomo
Copy link
Member Author

suztomo commented Sep 29, 2022

Apply changes after #8482 is merged.

lqiu96 and others added 27 commits October 4, 2022 14:28
* chore: Move TEST_ALL_MODULES env_var to sub jobs

* chore: Revert java-speech v2 protos

* chore: Update versions.txt

* chore: Update versions.txt for release: main
* chore: Generate diff from current split repos

* chore: Call delete samples script afterwards

* chore: Display diff on GH

* chore: Push diffs to seperate branches

* Revert "chore: Display diff on GH"

This reverts commit 8a616dc.

* chore: Create seperate branches

* chore: Add push to multiple branches

* chore: Stash the non staged changes

* chore: Delete non-generated samples

* chore: Add retry for git clone

* chore: Remove untracked filed

* chore: Run from main-diff branch

* chore: Fix Typo

* chore: cleanup branches

* chore: Test if it can ci works

* chore: Delete branch only if doesn't exist

* chore: Set git username/email

* chore: Use fetch-depth 0 to allow unshallow update

* chore: Only run on merge

* chore: Run action only on merge

* chore: Remove run on pull_request

* chore: Move Java ITs to a separate diff branch

* chore: Add all IT path names

* chore: Add more speciic regex for branch

* chore: Fix specific regex for branches

* chore: Match regex on end only
* chore: Adding release-please annotations
An experiment to add /java-dataproc to OwlBot configuration file

This is part of investigation of googleapis#8462
… configuration (googleapis#8462)

* chore: updated docs and code sturcture for Dataproc metric configuration

Committer: @akshatbhargava123
PiperOrigin-RevId: 477101789

Source-Link: googleapis/googleapis@2e19de1

Source-Link: googleapis/googleapis-gen@c12032a
Copy-Tag: eyJwIjoiamF2YS1kYXRhcHJvYy8uT3dsQm90LnlhbWwiLCJoIjoiYzEyMDMyYTU5Nzc4ZmRkMTczZDRjZmU4MmM0NzJjMDU5NjA0Mzg2NSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
…leapis#8482)

* build: set_owlbot_config

* Updating OwlBot configuration files with modules

* build: checking deep-copy destination

* /google-cloud entries

* fixed google-cloud-* directory entries
…gleapis#8487)

* chore: changing config for single-component release please setup

* Update release-please.yml
…google.com/agent-assist/docs/summarization) (googleapis#8481)

* feat: Add Agent Assist Summarization API (https://cloud.google.com/agent-assist/docs/summarization)
docs: clarify SuggestionFeature enums which are specific to chat agents

PiperOrigin-RevId: 477479918

Source-Link: googleapis/googleapis@6deca98

Source-Link: googleapis/googleapis-gen@b23d242
Copy-Tag: eyJwIjoiamF2YS1kaWFsb2dmbG93Ly5Pd2xCb3QueWFtbCIsImgiOiJiMjNkMjQyYzVjNWRlYjdjZTZmNGE3ZjcxODYyYTMxMTU1NTA2OWJkIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
…oogleapis#8492)

* chore: exclude and remove unnecessary templates

* chore: apply update_owlbot_postprocessor_config.sh
…ogleapis#8498)

* chore: Add script to copy README.md and CHANGELOG.md from split repos

* chore: Add README.md and CHANGELOG.md from split repos

* chore: Pull latest files

* chore: Check if readme/changelog url exists
The will make it so that release-please will only propose snapshot bumps
if any snapshot bump is required. After the snapshots are updated, then
it will propose any regular releases.
Removing this annotation since this should be updated by renovateBot, not release-please.
This is also an attempt to regenerate release:main PR for the manifest config.
@suztomo
Copy link
Member Author

suztomo commented Oct 4, 2022

The git history is messed up. Creating a new pull request. -> #8517

@suztomo suztomo closed this Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants