Skip to content

feat(postprocessor): rewrite OwlBot PR title and body commits to include scope#6

Merged
adrianajg merged 23 commits into
Postprocessorfrom
CommitMessages
Dec 19, 2022
Merged

feat(postprocessor): rewrite OwlBot PR title and body commits to include scope#6
adrianajg merged 23 commits into
Postprocessorfrom
CommitMessages

Conversation

@adrianajg

Copy link
Copy Markdown
Owner
  • Access open PR request
  • Use OwlBot api-name feature in .OwlBot.yaml to set all square-bracketed scopes inserted by OwlBot to [REPLACEME]
  • Find all [REPLACEME] substrings in PR title and body, use corresponding Source-Link URLs of googleapis/googleapis/ commits to extract commit hash, then find scope by analyzing files changed in that commit

Note: Does not yet update open PR as container lacks necessary credentials

@adrianajg adrianajg requested a review from codyoss December 7, 2022 22:30
@adrianajg adrianajg marked this pull request as ready for review December 7, 2022 22:30
Comment thread .gitignore Outdated
Comment thread internal/postprocessor/go.mod Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated

@adrianajg adrianajg left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Addressed changes and did some refactoring. Ready for additional feedback!

Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/go.mod Outdated
Comment thread .gitignore Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated

@codyoss codyoss left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Did a deeper review this time so this should be the last one. Thanks for the changes :)

Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main_test.go

@adrianajg adrianajg left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

A couple of loose ends still, let me know your thoughts please. Thanks!

Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main.go Outdated
Comment thread internal/postprocessor/main_test.go
Comment thread internal/postprocessor/main.go Outdated
@codyoss

codyoss commented Dec 19, 2022

Copy link
Copy Markdown
Collaborator

@adrianajg It looks like you still have some failing vet tests. I think most(maybe all), would be fixed if you have format on save on.

@adrianajg adrianajg merged commit 986587e into Postprocessor Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants