-
Notifications
You must be signed in to change notification settings - Fork 39
Fix of issues in remove_reviewer command #416
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
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@miq-bot add_label bug |
cc90085
to
af954f0
Compare
af954f0
to
284ec55
Compare
@europ 'skateman' is an invalid reviewer, ignoring... |
Why am I an invalid reviewer? |
284ec55
to
750f51a
Compare
Fix of undefined local variables 'fq_repo_name' and 'number' because of wrong class method call. It was solved as a class method call of a correspodning class.
This is a temporary solution until merge of octokit/octokit.rb#990. Fix of undefined method `delete_pull_request_review_request' because of dependent pull request was not merged yet. It was solved via catching the NoMethodError exception. The call of this method will inform the requester of remove_reviewer command that this command is currently not working and it will perform no action (only posting a github comment with this informative text).
750f51a
to
91123f5
Compare
Checked commits europ/miq_bot@212da59~...91123f5 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
europ
added a commit
to europ/miq_bot
that referenced
this pull request
Apr 17, 2018
Command remove_reviewer is implemented by using the octokit's internal methods because the expected feature is not added yet. This is a temporary solution until merge of dependence in octokit. Closes ManageIQ#416
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The merge of #411 can cause undesirable problems.
In
lib/github_service/commands/remove_reviewer.rb
is an method missing error due to a dependent octokit/octokit.rb#990 which is not merged yet and also an undefined two local variables error which is due to wrong method call.The errors
undefined local variable fq_repo_name
andundefined local variable number
were fixed with correct calling as an issue method call.The
undefined method delete_pull_request_review_request
error is solved via catchingNoMethodError
exception. The call of this method will inform the requester ofremove_reviewer
command that this command is currently not working and it will perform no action (only posting a github comment with this informative text). This is a temporary solution until merge of octokit/octokit.rb#990.Errors
\cc
@Fryguy
@skateman