Skip to content

Commit 721e7c4

Browse files
committed
temp cli changes
1 parent f7972f0 commit 721e7c4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.generator/cli.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
INPUT_DIR = "input"
5454
LIBRARIAN_DIR = "librarian"
55-
OUTPUT_DIR = "output"
55+
OUTPUT_DIR = "/usr/local/google/home/omairn/git/googleapis/google-cloud-python/output"
5656
REPO_DIR = "repo"
5757
SOURCE_DIR = "source"
5858
_GITHUB_BASE = "https://github.com"
@@ -343,7 +343,9 @@ def _run_post_processor(output: str, library_id: str, is_mono_repo: bool):
343343
# If this file exists, run those customizations instead of `owlbot_main`
344344
if Path(f"{output}/librarian.py").exists():
345345
subprocess.run(["python3.14", f"{output}/librarian.py"])
346+
print("subproces for python 3.14 main")
346347
else:
348+
print("owl_bot main")
347349
python.owlbot_main()
348350
else:
349351
raise SYNTHTOOL_IMPORT_ERROR # pragma: NO COVER
@@ -713,13 +715,19 @@ def handle_generate(
713715
_generate_api(
714716
api_path, library_id, source, output, version, is_mono_repo
715717
)
718+
print("copy files")
716719
_copy_files_needed_for_post_processing(output, input, library_id, is_mono_repo)
720+
print("_generate_repo_metadata_file")
717721
_generate_repo_metadata_file(
718722
output, library_id, source, apis_to_generate, is_mono_repo
719723
)
724+
print("_run_post_processor")
720725
_run_post_processor(output, library_id, is_mono_repo)
726+
print("_copy_readme_to_docs")
721727
_copy_readme_to_docs(output, library_id, is_mono_repo)
728+
print("_clean_up_files_after_post_processing")
722729
_clean_up_files_after_post_processing(output, library_id, is_mono_repo)
730+
print("cleaned")
723731
except Exception as e:
724732
raise ValueError("Generation failed.") from e
725733
logger.info("'generate' command executed.")

0 commit comments

Comments
 (0)