Closed
Bug 1130433
Opened 10 years ago
Closed 10 years ago
Create a specific comment when the tree is closed and autolander does not have access
Categories
(Firefox OS Graveyard :: Gaia::GithubBot, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kgrandon, Assigned: kgrandon)
References
Details
Attachments
(1 file)
When the tree is closed the autolander bot has it's commit access revoked. It currently comments on bugs with something like, "The pull request could not be applied to the integration branch. Please try again after current integration is complete.". Instead we should have a comment specific to the tree closure, and the fact that it does not have commit access.
| Assignee | ||
Comment 1•10 years ago
|
||
We may be able to use the collaborators API for this: https://developer.github.com/v3/repos/collaborators/#get
Comment 2•10 years ago
|
||
| Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8560616 [details] [review]
[PullReq] KevinGrandon:bug_1130433_notify_when_tree_closed to mozilla:master
Greg or James - could either of you just take a quick look at this?
If an exception is thrown when trying to merge, I check if the github user (in the config) is a collaborator of the repo or not using the repos.getCollaborator method. If the user is not a collaborator I change the message in the bugzilla comment. Fairly simple, but would appreciate a set of eyes on it. Thanks!
Attachment #8560616 -
Flags: review?(jlal)
Attachment #8560616 -
Flags: review?(garndt)
Comment 4•10 years ago
|
||
Comment on attachment 8560616 [details] [review]
[PullReq] KevinGrandon:bug_1130433_notify_when_tree_closed to mozilla:master
LGTM
Attachment #8560616 -
Flags: review?(garndt) → review+
| Assignee | ||
Updated•10 years ago
|
Attachment #8560616 -
Flags: review?(jlal)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → kgrandon
| Assignee | ||
Comment 5•10 years ago
|
||
Oops, forgot to autoland this one :) https://github.com/mozilla/autolander/commit/e70c560f20d6f75397a017ea6fab8fb38f7e0282
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•