summaryrefslogtreecommitdiff
path: root/scripts/api-review/fullrun/gitfunctions.py
Commit message (Collapse)AuthorAgeFilesLines
* fullrun: use context managers when opening filesCristián Maureira-Fredes2023-01-111-14/+14
| | | | | | | | | Replacing the 'f = open(...)' by a context manager: 'with open(...) as f:' Change-Id: I8b47f41179ec66185195676eb8ee507cfdf15d2a Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: David Skoland <davidskoland@gmail.com>
* fix flake8 warnings from gitfunctions.pyCristián Maureira-Fredes2023-01-111-5/+6
| | | | | | Change-Id: I3ad241034312b21298b13238d3b1dc97661f0ac9 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: David Skoland <davidskoland@gmail.com>
* Add API Change Review wrapper scriptDavid Skoland2021-08-171-0/+82
This is a wrapper script that parses .gitmodules of a qt5 checkout and figures out which version it should be compared to. It then generates a change review for each module and asks if it should be uploaded. It acts as a replacement for all-api-modules which also handles the steps of checking out repos and the otherwise manual git steps. Change-Id: If2035fe70159d33fad7f5f6375f5ef1ca5e6a8ea Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>