-
Notifications
You must be signed in to change notification settings - Fork 140
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
fix, botreview: handle deleted files in kubevirtci-bump, improve commenting #3124
Conversation
Skipping CI for Draft Pull Request. |
/hold Waiting for #3123 to merge. |
55a285e
to
93782d5
Compare
@dhiller - is this ready for review? I wasn't sure with the hold in place. |
@brianmcarey thanks for the ping here, I forgot to remove the hold /unhold |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brianmcarey The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold need to fix the details section commenting, it doesn't work like this: #3134 (comment) |
Previously all files were added as unwanted whenever a review was placed, even if there we no files related to kubevirtci-bump at all in the patch set. Now the review for kubevirtci-bump is only attached if there are relevant files in the PR. Signed-off-by: Daniel Hiller <[email protected]>
Introduce interfaces for faking input and output, create some basic test cases to fix behavior. Signed-off-by: Daniel Hiller <[email protected]>
Move the details of the review into a Markdown details section, so that they do not overflow the comment for the review. Signed-off-by: Daniel Hiller <[email protected]>
Reduce list of files (in case of a very long comment) into a real bullet list. Signed-off-by: Daniel Hiller <[email protected]>
If files are deleted inside the provider bump, this is still ok, so handle file deletions as regular changes. Signed-off-by: Daniel Hiller <[email protected]>
Signed-off-by: Daniel Hiller <[email protected]>
Signed-off-by: Daniel Hiller <[email protected]>
Signed-off-by: Daniel Hiller <[email protected]>
93782d5
to
575233d
Compare
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
/unhold |
kubevirtci-bump fixes
Previously all files were added as unwanted whenever a review was placed, even if there we no files related to kubevirtci-bump at all in the patch set.
Now the review for kubevirtci-bump is only attached if there are relevant files in the PR.
Also the handling of deleted files in kubevirtci-bump is fixed.
comment improval
This PR moves files and hunks into a details section so the comment does not overflow the screen.
It also reduces lists of files (in case of a very long comment) into a real bullet list, and also puts it into a details section.
See #3100