Skip to content

Conversation

@keyonghan
Copy link
Contributor

This PR fixes: flutter/flutter#52694

// Queries for recent commits without considering branches.
// TODO(keyonghan): combine this function with the above `queryRecentCommits`,
// this needs to fix https://github.com/flutter/flutter/issues/52694.
Stream<Commit> queryRecentCommitsNoBranch({int limit = 100, int timestamp}) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it ready to remove this function everywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove that one altogether?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it is not a simple removal thing. As for task reservation, we need to treat all tasks equally no matter which branch it is, and reserve based on only time. So, we need to keep the NoBranch function at this moment.

Copy link
Contributor

@digiter digiter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@keyonghan keyonghan merged commit 1637ce1 into flutter:master Apr 13, 2020
@keyonghan keyonghan deleted the commits_branch branch March 13, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update historical commit data with 'master' branch

2 participants