-
Notifications
You must be signed in to change notification settings - Fork 42
librarian: configure command trying to read api directory from the remote url. #2238
Copy link
Copy link
Closed
Copy link
Milestone
Description
librarian generate -api=google/privacy/dlp/v2 -library=google-cloud-dlp
When running the command above, I'm get the following error where librarian tries to find the api directory in the remote url. I think this behaviour is incorrect and we probably want to open the temp folder that we clone to.
librarian generate -api=google/privacy/dlp/v2 -library=google-cloud-dlp
2025/09/18 23:36:05 INFO librarian arguments="[-api=google/privacy/dlp/v2 -library=google-cloud-dlp]"
2025/09/18 23:36:05 INFO Temporary working directory dir=/tmp/librarian-20250918T233605Z
2025/09/18 23:36:05 INFO repo not specified, using current working directory as repo root path=/usr/local/google/home/omairn/git/googleapis/google-cloud-python
2025/09/18 23:36:05 INFO Opening repository dir=/usr/local/google/home/omairn/git/googleapis/google-cloud-python
2025/09/18 23:37:00 INFO Checking for repository dir=/tmp/librarian-20250918T233605Z/googleapis
2025/09/18 23:37:00 INFO Repository not found, executing clone
2025/09/18 23:37:00 INFO Cloning repository url=https://github.com/googleapis/googleapis dir=/tmp/librarian-20250918T233605Z/googleapis
Enumerating objects: 147705, done.
Counting objects: 100% (325/325), done.
Compressing objects: 100% (175/175), done.
Total 147705 (delta 202), reused 150 (delta 150), pack-reused 147380 (from 2)
2025/09/18 23:37:48 INFO library not configured, start initial configuration library=google-cloud-dlp
%s &{us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator:latest
2025/09/18 23:37:48 failed to read dir "https:/github.com/googleapis/googleapis/google/privacy/dlp/v2": open https:/github.com/googleapis/googleapis/google/privacy/dlp/v2: no such file or directory
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels