Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 23 commits into from
Dec 19, 2022

Conversation

adrianajg
Copy link
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 marked this pull request as ready for review December 7, 2022 22:30
.gitignore Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
Copy link
Owner Author

@adrianajg adrianajg left a comment

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!

internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/go.mod Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@codyoss codyoss left a comment

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 :)

internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main_test.go Show resolved Hide resolved
Copy link
Owner Author

@adrianajg adrianajg left a comment

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!

internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main.go Outdated Show resolved Hide resolved
internal/postprocessor/main_test.go Show resolved Hide resolved
@codyoss
Copy link
Collaborator

codyoss commented Dec 19, 2022

@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