googleapis / googleapis/librarian

python: cleaning doesn't remove "old" API directories

Open
#4,167 2 comments 0 reactions 0 assignees View on GitHub
priority: p3
Dominant language
Go
Stars
45
Forks
61
Avg merge
19h 11m
Merged PRs (30d)
181

Description

If we remove an API path from the config, the now-more-targeted clean operation won't remove the generated code. (It'll remove samples and tests, but not docs and production code.)

Removing a proto from an API should be fine - this is a matter of detecting which directories have previously been generated.

Contributor guide

Open the contributing guide

Research direction

Start with the clean operation for Python APIs and compare how it identifies generated samples and tests versus documentation and production code. Remove an API path or proto from the configuration, then verify that all previously generated directories are cleaned while retained APIs remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, python
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.