Feature/closed issues remove triage label#14
Feature/closed issues remove triage label#14nWidart wants to merge 14 commits intospring-io:mainfrom
Conversation
|
Thanks very much for the pull request. Unfortunately, I think asking GitHub for all closed issues will cause the Bot to exceed GitHub's rate limit. To avoid that, rather than asking for all issues, I think it will be necessary to make a request for closed issues with the waiting for triage label. I'm not yet quite sure how to do that as it's at a level of detail that the repository monitor shouldn't really know about. |
|
Ah I see, seems like we could call I had added another We could have a |
|
Actually, that can't work because of the pagination, so I'm thinking it might need to be something like this: @Scheduled(fixedRate = 5 * 60 * 1000)
void monitor() {
for (Repository repository : this.repositories) {
monitorOpenIssues(repository);
monitorClosedIssues(repository);
}
} |
This is in order to reduce the amount of data retrieved from Github and avoid rate limiting
|
Thanks again for the PR. This is definitely going in the right direction, but, as I said above I'm not keen on the I think we should probably decouple things a bit by having the What do you think? If you are in agreement, would you like to update your PR to this effect? |
|
That sounds interesting yeah. This would indeed move the responsibility of knowing what an issue is out of the So the Thanks a lot for taking the time to provide feedback! 👍 |
Inlining the functional interface as it wont be used anywhere else.
…sues-remove-triage-label * upstream/master: Monitor pull requests for feedback being provided with closing or reminding Upgrade to Spring Boot 2.1.5 Polish "Start monitoring spring-projects/spring-session" Start monitoring spring-projects/spring-session # Conflicts: # src/test/java/io/spring/issuebot/feedback/FeedbackIssueListenerTests.java
|
I've updated the PR with the latest upstream changes. Let me know what you think. |
Hello,
This project seems very useful, after seeing issue #7 I thought I'd give it a shot. 😄
This adds the logic to remove the
waiting for triagebadge if an issue is closed.