|
52 | 52 |
|
53 | 53 | INPUT_DIR = "input" |
54 | 54 | LIBRARIAN_DIR = "librarian" |
55 | | -OUTPUT_DIR = "output" |
| 55 | +OUTPUT_DIR = "/usr/local/google/home/omairn/git/googleapis/google-cloud-python/output" |
56 | 56 | REPO_DIR = "repo" |
57 | 57 | SOURCE_DIR = "source" |
58 | 58 | _GITHUB_BASE = "https://github.com" |
@@ -343,7 +343,9 @@ def _run_post_processor(output: str, library_id: str, is_mono_repo: bool): |
343 | 343 | # If this file exists, run those customizations instead of `owlbot_main` |
344 | 344 | if Path(f"{output}/librarian.py").exists(): |
345 | 345 | subprocess.run(["python3.14", f"{output}/librarian.py"]) |
| 346 | + print("subproces for python 3.14 main") |
346 | 347 | else: |
| 348 | + print("owl_bot main") |
347 | 349 | python.owlbot_main() |
348 | 350 | else: |
349 | 351 | raise SYNTHTOOL_IMPORT_ERROR # pragma: NO COVER |
@@ -713,13 +715,19 @@ def handle_generate( |
713 | 715 | _generate_api( |
714 | 716 | api_path, library_id, source, output, version, is_mono_repo |
715 | 717 | ) |
| 718 | + print("copy files") |
716 | 719 | _copy_files_needed_for_post_processing(output, input, library_id, is_mono_repo) |
| 720 | + print("_generate_repo_metadata_file") |
717 | 721 | _generate_repo_metadata_file( |
718 | 722 | output, library_id, source, apis_to_generate, is_mono_repo |
719 | 723 | ) |
| 724 | + print("_run_post_processor") |
720 | 725 | _run_post_processor(output, library_id, is_mono_repo) |
| 726 | + print("_copy_readme_to_docs") |
721 | 727 | _copy_readme_to_docs(output, library_id, is_mono_repo) |
| 728 | + print("_clean_up_files_after_post_processing") |
722 | 729 | _clean_up_files_after_post_processing(output, library_id, is_mono_repo) |
| 730 | + print("cleaned") |
723 | 731 | except Exception as e: |
724 | 732 | raise ValueError("Generation failed.") from e |
725 | 733 | logger.info("'generate' command executed.") |
|
0 commit comments