[webkit-changes] [WebKit/WebKit] 4242cd: Convert setup-database.py to python3 and make it s...

dewei-zhu noreply at github.com
Thu Feb 15 16:05:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4242cd265cd07b017f03524091a5286b20b6e2d7
      https://github.com/WebKit/WebKit/commit/4242cd265cd07b017f03524091a5286b20b6e2d7
  Author: Dewei Zhu <dewei_zhu at apple.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M Websites/perf.webkit.org/tools/setup-database.py

  Log Message:
  -----------
  Convert setup-database.py to python3 and make it support new versions of PostgreSQL.
https://bugs.webkit.org/show_bug.cgi?id=269425
rdar://122982866

Reviewed by Jonathan Bedard.

Convert 'setup-database.py' to python3 syntax.
Add explicitly grant CREATE permission to user which is required since PostgreSQL15.
Add an option to keep the database running which was the default behavior.
Changing to not keep database running by default to allow using other service
management tools from the OS to manage database service.

* Websites/perf.webkit.org/tools/setup-database.py:
(main):

Canonical link: https://commits.webkit.org/274776@main




More information about the webkit-changes mailing list