forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit order should always be returned by api.
https://bugs.webkit.org/show_bug.cgi?id=184674 Reviewed by Ryosuke Niwa. Commit order sometimes missing in CommitLog object before this change. This makes ordering commits logic become unnecessarily complicate. This change will ensure commit order is always fetched for a CommitLog object. Change measurement-set API to contain commit order information. Change commits API to contain commit order information. * public/api/measurement-set.php: Includes commit order information. * public/include/commit-log-fetcher.php: * public/v3/models/commit-log.js: Added a function to return order information. (CommitLog.prototype.updateSingleton): This function should update commit order. (CommitLog.prototype.order): Returns the order of commit. * public/v3/models/commit-set.js: (MeasurementCommitSet): Update MeasurementCommitSet to contain commit order information when creating CommitLog object. * server-tests/api-measurement-set-tests.js: Updated unit tests. * unit-tests/analysis-task-tests.js: Update unit tests to contain commit order information in mock data. (measurementCluster): * unit-tests/commit-log-tests.js: Added unit tests for CommitLog.order. * unit-tests/commit-set-tests.js: Added commit order in MeasurementCommitSet. * unit-tests/measurement-adaptor-tests.js: Updated unit tests to contain commit order information in mock data. * unit-tests/measurement-set-tests.js: Updated unit tests to contain commit order information in mock data. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@230719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
da08682
commit c340b15
Showing
11 changed files
with
78 additions
and
26 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
2018-04-16 Dewei Zhu <[email protected]> | ||
|
||
Commit order should always be returned by api. | ||
https://bugs.webkit.org/show_bug.cgi?id=184674 | ||
|
||
Reviewed by Ryosuke Niwa. | ||
|
||
Commit order sometimes missing in CommitLog object before this change. | ||
This makes ordering commits logic become unnecessarily complicate. | ||
This change will ensure commit order is always fetched for a CommitLog object. | ||
Change measurement-set API to contain commit order information. | ||
Change commits API to contain commit order information. | ||
|
||
* public/api/measurement-set.php: Includes commit order information. | ||
* public/include/commit-log-fetcher.php: | ||
* public/v3/models/commit-log.js: Added a function to return order information. | ||
(CommitLog.prototype.updateSingleton): This function should update commit order. | ||
(CommitLog.prototype.order): Returns the order of commit. | ||
* public/v3/models/commit-set.js: | ||
(MeasurementCommitSet): Update MeasurementCommitSet to contain commit order information when creating CommitLog object. | ||
* server-tests/api-measurement-set-tests.js: Updated unit tests. | ||
* unit-tests/analysis-task-tests.js: Update unit tests to contain commit order information in mock data. | ||
(measurementCluster): | ||
* unit-tests/commit-log-tests.js: Added unit tests for CommitLog.order. | ||
* unit-tests/commit-set-tests.js: Added commit order in MeasurementCommitSet. | ||
* unit-tests/measurement-adaptor-tests.js: Updated unit tests to contain commit order information in mock data. | ||
* unit-tests/measurement-set-tests.js: Updated unit tests to contain commit order information in mock data. | ||
|
||
2018-04-15 Ryosuke Niwa <[email protected]> | ||
|
||
Make it possible to hide some repository groups | ||
|
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
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
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
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
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
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
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
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
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
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