Repository navigation
[Fork] PullRequestUpdater handles local forks - #8868
Merged
Merged
Conversation
outofambit
force-pushed
the
feature/pr-coord-updater
branch
from
January 11, 2020 00:30
9f723b7 to
0fc7e37
Compare
for its github remote and its upstream remote, if it exists
outofambit
force-pushed
the
feature/pr-coord-updater
branch
from
January 13, 2020 20:34
0fc7e37 to
db56599
Compare
outofambit
commented
Jan 13, 2020
outofambit
marked this pull request as ready for review
January 14, 2020 01:35
niik
requested changes
Jan 14, 2020
niik
left a comment
Member
There was a problem hiding this comment.
Looking good. I'd like to see the comment about related repositories being addressed before we merge this. My suggestion of an alternative approach for getLastRefreshed is merely a suggestion and not something I consider mandatory before merging
Co-Authored-By: Markus Olsson <[email protected]>
Co-Authored-By: Markus Olsson <[email protected]>
niik
approved these changes
Jan 15, 2020
Member
|
This needs #8922 to fix the AppVeyor build failing. |
This file contains hidden or 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
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.
closes #8549 (🎉)
Changes pull request background updating logic in
PullRequestUpdaterto request periodic updates for both the github remote of aRepository, as well as its upstream (if it has one).Description
PullRequestUpdaternow callsPullRequestCoordinator.refreshPullRequestsfor aRepository, not aGitHubRepositoryPullRequestCoordinatorhelps determine last refreshed time for aRepositoryby surveying the last refreshed times of itsGitHubRepositorys and returning the least recent onePullRequestUpdateronly deals inRepositorys notGitHubRepositorys