From 9e80b8cd1e44fcf863d926055d9fa458db46e0d3 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 26 Jan 2025 21:58:42 +0100 Subject: Add basic git support Pushing a commit to a new branch creates a review. Each project has its own git directory, with githooks installed that talkes with server process via unix sockets. --- ...1432777e3383cdcf7ad3ecd280b8953cab51a5a74f.json | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 server/.sqlx/query-4b7803295a48d956dff31b1432777e3383cdcf7ad3ecd280b8953cab51a5a74f.json (limited to 'server/.sqlx/query-4b7803295a48d956dff31b1432777e3383cdcf7ad3ecd280b8953cab51a5a74f.json') diff --git a/server/.sqlx/query-4b7803295a48d956dff31b1432777e3383cdcf7ad3ecd280b8953cab51a5a74f.json b/server/.sqlx/query-4b7803295a48d956dff31b1432777e3383cdcf7ad3ecd280b8953cab51a5a74f.json new file mode 100644 index 0000000..352f2be --- /dev/null +++ b/server/.sqlx/query-4b7803295a48d956dff31b1432777e3383cdcf7ad3ecd280b8953cab51a5a74f.json @@ -0,0 +1,36 @@ +{ + "db_name": "MySQL", + "query": "SELECT state, rewrite FROM reviews WHERE project=? AND branch=?", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "state", + "type_info": { + "type": "Tiny", + "flags": "NOT_NULL | UNSIGNED", + "char_set": 63, + "max_size": 3 + } + }, + { + "ordinal": 1, + "name": "rewrite", + "type_info": { + "type": "Tiny", + "flags": "NOT_NULL | UNSIGNED", + "char_set": 63, + "max_size": 3 + } + } + ], + "parameters": { + "Right": 2 + }, + "nullable": [ + false, + false + ] + }, + "hash": "4b7803295a48d956dff31b1432777e3383cdcf7ad3ecd280b8953cab51a5a74f" +} -- cgit v1.2.3-70-g09d2