Skip to content

Commit

Permalink
revert google/rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Aug 14, 2024
1 parent 8214c3f commit 55dbce5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 109 deletions.
49 changes: 0 additions & 49 deletions google/rpc/status.proto

This file was deleted.

57 changes: 0 additions & 57 deletions google/rpc/status_pb2.py

This file was deleted.

12 changes: 9 additions & 3 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
GOOGLEAPIS_REPO = "googleapis/googleapis"

# Clean up googleapis
shutil.rmtree('googleapis', ignore_errors=True)
shutil.rmtree("googleapis", ignore_errors=True)

# Clone googleapis
googleapis_url = git.make_repo_clone_url(GOOGLEAPIS_REPO)
Expand All @@ -34,7 +34,13 @@
s._tracked_paths.add("googleapis")

# Create folders for dependencies of the protos that we want to compile
common_apis = ["google/api","google/iam/v1","google/rpc/context","google/type"]
common_apis = [
"google/api",
"google/iam/v1",
"google/rpc",
"google/rpc/context",
"google/type",
]
_ = [os.makedirs(dir, exist_ok=True) for dir in common_apis]

# Copy dependencies of the protos that we want to compile from googleapis
Expand All @@ -48,7 +54,7 @@
s.copy("googleapis/google/cloud/audit/*.proto", "google/cloud/audit")

# Clean up googleapis
shutil.rmtree('googleapis')
shutil.rmtree("googleapis")

# ----------------------------------------------------------------------------
# Add templated files
Expand Down

0 comments on commit 55dbce5

Please sign in to comment.