GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: generate code snippets by default by busunkim96 · Pull Request #1044 · googleapis/gapic-generator-python

This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Conversation

@busunkim96

@busunkim96 busunkim96 commented Oct 27, 2021

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@busunkim96
busunkim96 requested a review from a team October 27, 2021 19:51
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 27, 2021
@busunkim96
busunkim96 marked this pull request as draft October 27, 2021 20:21
busunkim96 and others added 2 commits October 29, 2021 16:20
@busunkim96
feat: generate code snippets by default
168b4c4
@busunkim96
test: fix broken unit tests
2bf9822
@busunkim96
busunkim96 force-pushed the busunkim96-patch-1 branch from 521a497 to 2bf9822 Compare October 29, 2021 20:16
busunkim96 and others added 4 commits October 29, 2021 14:17
@busunkim96
Merge branch 'master' into busunkim96-patch-1
194c7c2
@busunkim96
fix: don't use deprecated distutils.util
66bf6da
@busunkim96
chore: also disable for ads templates
b229fba
@busunkim96
chore: format
77f4b98
@busunkim96
busunkim96 marked this pull request as ready for review October 29, 2021 20:39
@busunkim96
chore: add link to issue
5ac664b
software-dov
software-dov approved these changes Oct 29, 2021
View reviewed changes

@software-dov software-dov left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. It would be good to have a test for options,Options for default behavior and disabling based on old-naming, but I'm not going to block merge on that.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread gapic/utils/options.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

busunkim96 added 2 commits October 29, 2021 21:48
@busunkim96
fix: simplify logic for fetching autogen-snippets status
3466a5c
@busunkim96
chore: format
ac066b5
@busunkim96
busunkim96 merged commit e46f443 into master Oct 29, 2021
@busunkim96
busunkim96 deleted the busunkim96-patch-1 branch October 29, 2021 22:04
gcf-merge-on-green Bot pushed a commit that referenced this pull request Oct 29, 2021
@release-please
chore: release 0.54.0 (#1054)
03d8dad
🤖 I have created a release \*beep\* \*boop\*
---
## [0.54.0](https://www.github.com/googleapis/gapic-generator-python/compare/v0.53.4...v0.54.0) (2021-10-29)


### Features

* generate code snippets by default ([#1044](https://www.github.com/googleapis/gapic-generator-python/issues/1044)) ([e46f443](https://www.github.com/googleapis/gapic-generator-python/commit/e46f443dbeffe16b63f97668801b06189769e972))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This was referenced Oct 29, 2021
test: add tests for autogen-snippets option #1055
Merged
Turn on snippetgen by default #1043
Closed
gcf-merge-on-green Bot pushed a commit that referenced this pull request Nov 2, 2021
@busunkim96
test: add tests for autogen-snippets option (#1055)
185ecc7
Follow up to #1044
busunkim96 added a commit that referenced this pull request Nov 8, 2021
@busunkim96
Revert "feat: generate code snippets by default (#1044)"
eccee7f
This reverts commit e46f443.
@busunkim96 busunkim96 mentioned this pull request Nov 8, 2021
fix: don't enable snippetgen by default #1078
Merged
vam-google pushed a commit that referenced this pull request Nov 8, 2021
@busunkim96
fix: don't enable snippetgen by default (#1078)
8bdb709
* Revert "test: add tests for autogen-snippets option (#1055)"

This reverts commit 185ecc7.

* Revert "feat: generate code snippets by default (#1044)"

This reverts commit e46f443.
This was referenced Jan 18, 2022
chore(master): release reverted #1133
Merged
chore(master): release 0.40.0 #1138
Closed
chore(master): release 0.39.1 #1146
Closed
This was referenced Jan 26, 2022
chore(main): release 0.39.1 #1160
Closed
chore(main): release 0.39.1 #1162
Closed
chore(main): release 0.61.0 #1163
Merged
@busunkim96 busunkim96 mentioned this pull request Jan 28, 2022
feat: enable snippetgen for default templates #1171
Merged
busunkim96 added a commit that referenced this pull request Feb 3, 2022
@busunkim96
feat: enable snippetgen for default templates (#1171)
c1af051
Enable snippetgen for the default (non-Ads) templates.

This reverts commit 8bdb709 (which was a revert of #1044 and #1055).

I've checked that the changes are OK (don't break generation for any APIs) by creating a [tag](https://github.com/googleapis/gapic-generator-python/commits/v0.62.0b1) and running the [presubmit](https://critique.corp.google.com/cl/424921742).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@software-dov software-dov software-dov approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@busunkim96 @software-dov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.