summaryrefslogtreecommitdiffstats
path: root/non-puppet/qtmetrics2/src/Database.php
Commit message (Collapse)AuthorAgeFilesLines
* Delete unused filesDavid Skoland2021-04-061-1868/+0
| | | | | | | | | bootstrap has been superseded by coin and qtmetrics has been superseded by Grafana. testresults.qt.io has been moved to: https://git.qt.io/qtqa/testresults.qt.io Task-number: QTQAINFRA-1958 Change-Id: I6341b12c21f3566ae645f31927a6e6848e183b08 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Qt Metrics 2 (v0.36): DashboardJuha Sippola2015-09-291-1/+107
| | | | | | | | | | New page to show the success rate of the latest Qt5 builds based on the configuration build results and the test results in branches as speedo charts using the d3.js library. Change-Id: I8af65fe16eefd56f5f2883abaf2dfcf2d016563b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2: project_run.build_key typeJuha Sippola2015-09-291-17/+23
| | | | | | | | | | | Code changes regarding the changed type of project_run.build_key to bigint in the database, as the new-CI uses 64 bit integer (unix timestamp) here. Change-Id: I03d431b0d36839cd5b5779f1d12cc8062ec36522 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.35): Top testset/testfunction durationJuha Sippola2015-09-291-16/+198
| | | | | | | | | | | | New pages to list top testset durations and testfunction durations (for one testset) since a specific date including the runs that take longer than a specific limit. The testset duration list can be opened from the button on home page, and the testfunction list from a button on the testset page. Change-Id: I19d2fe1a8cc06f68cb78c7672148687b0fdff681 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.34): Bpassed test rows for testsetJuha Sippola2015-09-231-2/+68
| | | | | | | | | New page to list blacklisted passed test rows since a specific date for one testset. This can be opened from the testset page via a button. Change-Id: I82acf6d03ad860f61360f8ede18787cfd9eb44aa Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.33): Bpassed page for testsetJuha Sippola2015-09-231-1/+63
| | | | | | | | | | | New page (or route actually) to list blacklisted passed test functions since a specific date for one testset only (for usability and performance). This page can be opened from the testset page via a button. The testset list routes modified for systematic names. Change-Id: If9a6e2ca24539df8d62101d82422866b89bf4b6d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.32): Branch orderJuha Sippola2015-09-231-11/+11
| | | | | | | | Changed the branch order to list first the 'dev', then the highest number etc. Change-Id: I43eaa908795fff7e0f10266abc489b3c97441326 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.31): Blacklisted passed testfunctions pageJuha Sippola2015-09-231-3/+59
| | | | | | | | | | | | New page to list blacklisted passed test functions since a specific date to be able to point out the ones where the blacklisted tag could maybe be removed. The date scope can be configured in the ini file. The query duration is about 50 seconds with the scope of last five days. Change-Id: I21c37182c282d68838ec432c06f4d1c428312d48 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.30): Top test function failuresJuha Sippola2015-09-231-1/+59
| | | | | | | | | | | New page to list top failed testfunctions since a specific date. The date scope can be configured in the ini file. The query duration is about 30 seconds with the scope of last seven days. Change-Id: I7b718f8df63efd31a62edff02a15f32e64279efc Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.28): Branch archivingJuha Sippola2015-09-231-25/+53
| | | | | | | | | | Added buttons to archive (and restore) a branch on the admin pages. Added field 'archived' to the branch table in the database. Change-Id: Idefddd15df02014ce70c5c4f981eb5938c4bf5f7 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.24): Database refresh indicationJuha Sippola2015-09-231-2/+28
| | | | | | | | Indicate the database update time and possible running database refresh (log parsing) operation in the header. Change-Id: Ic7a7f94bcf696eb62173b540f9e9e50b749a0585 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.23): Testfunction pageJuha Sippola2015-09-231-1/+63
| | | | | | | | | New page to list failed or skipped testrows for selected testfunction in selected testset and configuration. Change-Id: I64e7b7acf1a6001c08d0f11460f063bef279d607 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.21): Testset testfunctions pageJuha Sippola2015-09-231-8/+66
| | | | | | | | New page to list failed and skipped testfunctions for a selected testset in selected configuration. Change-Id: I9612ec4cd8b5ff829f0b8faf7f973345797d7daa Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2: Configuration functionsJuha Sippola2015-09-161-2/+169
| | | | | | | Changes for configuration database searches. Change-Id: I2f5ed85a869f064233fc11361e650e33db61e18c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.10): Flaky list performanceJuha Sippola2015-09-161-25/+63
| | | | | | | | | | | Performance improvement to the flaky list database search. The COUNT function in the database query was very slow. Replaced with simple list query and the counting the flaky testsets in the code. Change-Id: I7ec0e4dfd0a5df16ab517ea004bb6fe3fcedf423 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.8): Platform pagesJuha Sippola2015-09-161-9/+108
| | | | | | | | | | | Implemented the platform views into build project page by filtering the confs based on the target os. Buttons indicate the selection and can be used to change between the platforms. Home page buttons activated. Change-Id: Id175ff4279091d886d779307ccdf8dd795ffe456 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.7): Overview and Project pagesJuha Sippola2015-09-161-25/+270
| | | | | | | | | | | | | | | | | Implemented the overview page to show status of the latest Qt5 state build for each branch including the build result itself and the testset results in the Qt5 state builds (testset results are shown by testset project). Implemented the build project (Qt5 state in practice) and testset project pages, the first to show the build results and the latter to show the testset results. Both are linked from the overview page, and the testset project page also from the new search box on the home page. Change-Id: Iaa97597b63e05af426e6749af2b2cbadbb492eb7 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt Metrics 2 (v0.6): Testset pageJuha Sippola2015-09-161-6/+99
| | | | | | | | | | Implemented the Results in Branches section into testset page. Changed testset URL to include its project to identify testsets with same name clearly. Change-Id: I4ffd7ec6bbbc473af0d742e808568ff7d3b273da Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Qt metrics 2 (v0.3): Database table field changesJuha Sippola2015-08-041-33/+27
| | | | | | | | | | Changed project_run.build_number to project_run.build_key and its type from int to varchar(256) as new-CI uses sha1s for that. Changed testset_run.testcases_xxx to testset_run.total_xxx for consistent use of terms. Change-Id: Ifb9d931d5a35479b26a906586a7cc397cbb85d9c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
* Qt Metrics 2 (v0.2): Show actual parent for testsetJuha Sippola2015-06-261-21/+31
| | | | | | | | | | | | | | | | Show the testset and its actual parent project instead of the project where the build was run (Qt5 state). Parser (old-CI) changed to get the actual parent project and save it to the database. UI changed to separate testset project (e.g. QtBase) and the 'master' build project (Qt5 state). Testset and top failures pages changed to show data based on Qt5 state builds, and then to show the testsets by their parent project. Change-Id: I6295176c99597fde24726459ab3d11968c5e475b Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Qt Metrics 2 initial commit (v0.1)Juha Sippola2015-06-111-0/+512
New Qt Metrics UI utilizing the new database design. Implementation uses PHP, Slim PHP framework, PHPUnit, MySQL, jQuery, jQueryUI and Twitter Bootstrap. Change-Id: Ief7876b8fb462750802319e0758233b60841b9d6 Reviewed-by: Lukas Reschke <lukas@owncloud.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>