googleapis / googleapis/librarian

nodejs: remove owlbot.py files in google-cloud-node

Open
#5,459 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: p2
Dominant language
Go
Stars
45
Forks
62
Avg merge
18h 32m
Merged PRs (30d)
175

Description

owlbot.py contains functions to patch the generated code, e.g., [owlbot.py](https://github.com/googleapis/google-cloud-node/blob/main/handwritten/storage/owlbot.py) in storage.

We should audit all owlbot.py in google-cloud-node and for each function, we should either rewrite the common functions in librarian, e.g., moving files from staging directory to library output, or adding a configuration in a library for special string replacement.

We can remove owlbot.py after these modifications.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with handwritten/storage/owlbot.py and audit all owlbot.py files in google-cloud-node, identifying each patching function. Read the corresponding librarian generation flow and determine whether each function belongs as a common librarian behavior or library configuration. Done means the required behavior is migrated and the owlbot.py files can be removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, nodejs, python
Domain
build-system, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.