Skip to content

fix(internal/gapicgen): properly update modules that have no gapic changes#5945

Merged
codyoss merged 3 commits intogoogleapis:mainfrom
codyoss:mod-tidy-fix
Apr 26, 2022
Merged

fix(internal/gapicgen): properly update modules that have no gapic changes#5945
codyoss merged 3 commits intogoogleapis:mainfrom
codyoss:mod-tidy-fix

Conversation

@codyoss
Copy link
Copy Markdown
Member

@codyoss codyoss commented Apr 26, 2022

Previously this was happening thanks to some logic the revolved around
looking for UNKNOWN date in a generated gapic client. This logic was
removed around a month ago and hense PRs that have genproto changes
but no gapic changes have needed some manual updates. With this change
the update process now parses out what kind of changes happened based
on context aware commit messages. This means even if there we not chnages
to the gapic client genproto will still get updated to the latest version
if there were changes to message types.

…anges

Previously this was happening thanks to some logic the revolved around
looking for UNKNOWN date in a generated gapic client. This logic was
removed around a month ago and hense PRs that have genproto changes
but no gapic changes have needed some manual updates. With this change
the update process now parses out what kind of changes happened based
on context aware commit messages. This means even if there we not chnages
to the gapic client genproto will still get updated to the latest version
if there were changes to message types.
@codyoss codyoss requested a review from a team April 26, 2022 17:06
@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label Apr 26, 2022
Comment thread internal/gapicgen/generator/gapics.go
Copy link
Copy Markdown
Member

@quartzmo quartzmo left a comment

Choose a reason for hiding this comment

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

LGTM

@codyoss codyoss merged commit de2befc into googleapis:main Apr 26, 2022
@codyoss codyoss deleted the mod-tidy-fix branch April 26, 2022 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants