From 97db57916e9ca4ef91d24d8e4f13cc5fd928b3e2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 20 Apr 2018 11:25:21 +0200 Subject: `build_assignments` now have `return_date` --- misc/database-layout.dmf | 1432 +++++++++++++++++++++++---------------------- misc/database-layout.dump | 1 + 2 files changed, 720 insertions(+), 713 deletions(-) diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index 7b61d9b..b74c264 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,13 +2,13 @@ Relational - + - 42 - 135 + 237 + 40 - ssh_log + ssh_keys#ffffff @@ -18,25 +18,13 @@ True - date - DATETIME - True - False - - - build_slave + owner MEDIUMINT - False - False - - - action - VARCHAR(32) True False - parameters + fingerprint TEXT True False @@ -44,108 +32,102 @@
- + - -55 - -72 + -68 + 71 - email_log + email_actions#ffffff id - BIGINT + MEDIUMINT True True - date - DATETIME + name + VARCHAR(32) True False + +
+
+ + + 68 + 49 + + + allowed_email_actions + #ffffff + - success - BIT + id + BIGINT True - False - - - action - MEDIUMINT - False - False - - - count - MEDIUMINT - False - False + True gpg_key BIGINT - False + True False - comment - TEXT - False + action + MEDIUMINT + True False
- + - 481 - 395 + 106 + -51 - repository_moves + gpg_keys#ffffff id - MEDIUMINT + BIGINT True True - from_repository - MEDIUMINT + fingerprint + VARCHAR(40) True False - to_repository + owner MEDIUMINT True False - - upstream_package_repository - SMALLINT - True - False -
- + - 763 - 241 + 258 + -44 - repository_stabilities + persons#ffffff id - SMALLINT + MEDIUMINT True True @@ -155,38 +137,26 @@ True False - - bugtracker_category - VARCHAR(32) - False - False -
- + - 52 - 516 + 788 + -60 - build_dependency_loops + todo_links#ffffff - id + dependent BIGINT True - True - - - loop - MEDIUMINT - True False - build_assignment + depending_on BIGINT True False @@ -194,49 +164,55 @@
- + - 540 - -64 + 945 + -70 - dependency_types + todos#ffffff id - SMALLINT + BIGINT True True - name - VARCHAR(32) + file + VARCHAR(64) True False - relevant_for_building - BIT + line + MEDIUMINT True False - relevant_for_binary_packages - BIT + description + TEXT True False + + importance + SMALLINT + False + False +
- + - 348 - -60 + 737 + 38 - dependencies + statitstics#ffffff @@ -246,213 +222,255 @@ True - dependent - BIGINT + date + DATETIME True False - depending_on - BIGINT + stable_packages_count + MEDIUMINT True False - dependency_type - SMALLINT + pending_tasks_count + MEDIUMINT True False - -
-
- - - 563 - 42 - - - install_targets - #ffffff - - id - BIGINT + staging_packages_count + MEDIUMINT True - True + False - name - VARCHAR(64) + testing_packages_count + MEDIUMINT + True + False + + + broken_tasks_count + MEDIUMINT + True + False + + + dependency_loops_count + MEDIUMINT + True + False + + + dependency_looped_tasks_count + MEDIUMINT + True + False + + + locked_tasks_count + MEDIUMINT + True + False + + + blocked_tasks_count + MEDIUMINT + True + False + + + next_tasks_count + MEDIUMINT True False
- + - 415 - 321 + 754 + 399 - architectures + repository_stability_relations#ffffff id - SMALLINT + MEDIUMINT True True - name - VARCHAR(16) + more_stable + MEDIUMINT + True + False + + + less_stable + MEDIUMINT True False
- + - 229 - 471 + -62 + 370 - package_sources + fail_reasons#ffffff id - BIGINT + SMALLINT True True - pkgbase - VARCHAR(64) + name + VARCHAR(32) True False - git_revision - VARCHAR(40) + identifier + VARCHAR(64) True False - mod_git_revision - VARCHAR(40) + severity + SMALLINT True False + +
+
+ + + 53 + 346 + + + failed_builds + #ffffff + - upsream_package_repository - SMALLINT + id + MEDIUMINT True - False + True - uses_upstream - BIT + build_slave + MEDIUMINT True False - uses_modification - BIT + build_assignment + BIGINT True False - commit_time + date DATETIME True False - -
-
- - - 539 - 533 - - - upstream_repositories - #ffffff - - id + reason SMALLINT True - True - - - name - VARCHAR(64) - True False - git_repository - SMALLINT + log_file + VARCHAR(512) True False
- + - 770 - 508 + 247 + 291 - git_repositories + build_assignments#ffffff id - SMALLINT + BIGINT + True + True + + + package_source + BIGINT True - True + False - name - VARCHAR(64) + architecture + SMALLINT True False - url + is_blocked VARCHAR(128) - True + False False - directory + is_black_listed VARCHAR(128) + False + False + + + is_broken + BIT True False - head - VARCHAR(40) + priority + SMALLINT True False + + return_date + DATETIME + False + False +
- + - 529 - 273 + 186 + 137 - repositories + build_slaves#ffffff @@ -463,50 +481,38 @@ name - VARCHAR(64) + VARCHAR(32) True False - stability - SMALLINT + ssh_key + BIGINT True False - is_on_master_mirror - BIT - True + currently_building + BIGINT + False False - -
-
- - - 553 - 131 - - - install_target_providers - #ffffff - - id - BIGINT + last_connection + TIME True - True + False - package + logged_lines BIGINT - True + False False - install_target - BIGINT - True + last_action + VARCHAR(32) + False False @@ -514,8 +520,8 @@ - 375 - 54 + 360 + 56
binary_packages @@ -602,169 +608,121 @@
- + - 186 - 137 + 554 + 117 - build_slaves + install_target_providers#ffffff id - MEDIUMINT + BIGINT True True - name - VARCHAR(32) - True - False - - - ssh_key + package BIGINT True False - currently_building + install_target BIGINT - False - False - - - last_connection - TIME True False - - logged_lines - BIGINT - False - False - - - last_action - VARCHAR(32) - False - False -
- + - 247 - 291 + 529 + 273 - build_assignments + repositories#ffffff id - BIGINT + MEDIUMINT True True - package_source - BIGINT + name + VARCHAR(64) True False - architecture + stability SMALLINT True False - is_blocked - VARCHAR(128) - False - False - - - is_black_listed - VARCHAR(128) - False - False - - - is_broken + is_on_master_mirror BIT True False - - priority - SMALLINT - True - False -
- + - 53 - 346 + 770 + 508 - failed_builds + git_repositories#ffffff id - MEDIUMINT + SMALLINT True True - build_slave - MEDIUMINT - True - False - - - build_assignment - BIGINT + name + VARCHAR(64) True False - date - DATETIME + url + VARCHAR(128) True False - reason - SMALLINT + directory + VARCHAR(128) True False - log_file - VARCHAR(512) + head + VARCHAR(40) True False
- + - -62 - 370 + 539 + 533 - fail_reasons + upstream_repositories#ffffff @@ -775,18 +733,12 @@ name - VARCHAR(32) - True - False - - - identifier VARCHAR(64) True False - severity + git_repository SMALLINT True False @@ -794,179 +746,209 @@
- + - 754 - 399 + 226 + 473 - repository_stability_relations + package_sources#ffffff id - MEDIUMINT + BIGINT True True - more_stable - MEDIUMINT + pkgbase + VARCHAR(64) True False - less_stable - MEDIUMINT + git_revision + VARCHAR(40) True False - -
-
- - - 737 - 38 - - - statitstics - #ffffff - - id - BIGINT + mod_git_revision + VARCHAR(40) True - True + False - date - DATETIME + upsream_package_repository + SMALLINT True False - stable_packages_count - MEDIUMINT + uses_upstream + BIT True False - pending_tasks_count - MEDIUMINT + uses_modification + BIT + True + False + + + commit_time + DATETIME True False + +
+
+ + + 415 + 321 + + + architectures + #ffffff + - staging_packages_count - MEDIUMINT + id + SMALLINT True - False + True - testing_packages_count - MEDIUMINT + name + VARCHAR(16) True False + +
+
+ + + 563 + 42 + + + install_targets + #ffffff + - broken_tasks_count - MEDIUMINT + id + BIGINT True - False + True - dependency_loops_count - MEDIUMINT + name + VARCHAR(64) True False + +
+
+ + + 348 + -60 + + + dependencies + #ffffff + - dependency_looped_tasks_count - MEDIUMINT + id + BIGINT True - False + True - locked_tasks_count - MEDIUMINT + dependent + BIGINT True False - blocked_tasks_count - MEDIUMINT + depending_on + BIGINT True False - next_tasks_count - MEDIUMINT + dependency_type + SMALLINT True False
- + - 945 - -70 + 540 + -64 - todos + dependency_types#ffffff id - BIGINT + SMALLINT True True - file - VARCHAR(64) + name + VARCHAR(32) True False - line - MEDIUMINT + relevant_for_building + BIT True False - description - TEXT + relevant_for_binary_packages + BIT True False - - importance - SMALLINT - False - False -
- + - 788 - -60 + 53 + 501 - todo_links + build_dependency_loops#ffffff - dependent + id BIGINT True + True + + + loop + MEDIUMINT + True False - depending_on + build_assignment BIGINT True False @@ -974,18 +956,18 @@
- + - 258 - -44 + 763 + 241 - persons + repository_stabilities#ffffff id - MEDIUMINT + SMALLINT True True @@ -995,46 +977,58 @@ True False + + bugtracker_category + VARCHAR(32) + False + False +
- + - 106 - -51 + 481 + 395 - gpg_keys + repository_moves#ffffff id - BIGINT + MEDIUMINT True True - fingerprint - VARCHAR(40) + from_repository + MEDIUMINT True False - owner + to_repository MEDIUMINT True False + + upstream_package_repository + SMALLINT + True + False +
- + - 68 - 49 + -55 + -72 - allowed_email_actions + email_log#ffffff @@ -1044,51 +1038,51 @@ True - gpg_key - BIGINT + date + DATETIME + True + False + + + success + BIT True False action MEDIUMINT - True + False False - -
-
- - - -68 - 71 - - - email_actions - #ffffff - - id + count MEDIUMINT - True - True + False + False - name - VARCHAR(32) - True + gpg_key + BIGINT + False + False + + + comment + TEXT + False False
- + - 237 - 40 + 42 + 135 - ssh_keys + ssh_log#ffffff @@ -1098,13 +1092,25 @@ True - owner + date + DATETIME + True + False + + + build_slave MEDIUMINT + False + False + + + action + VARCHAR(32) True False - fingerprint + parameters TEXT True False @@ -1112,24 +1118,24 @@
- + - 153.531 - 180.906 + 290.109 + 40 - 0 - + 90 + - 186 - 196.906 + 293.289 + 5.8125 - 180 - + 270 + @@ -1140,29 +1146,29 @@ Mandatory - 2 + 1 0 - + - 599.133 - 472.812 + 256.727 + 137 - 270 - + 90 + - 613.727 - 533 + 290.109 + 103.812 - 90 - + 270 + @@ -1173,29 +1179,29 @@ Mandatory - 3 + 2 0 - + - 559.755 - 395 + -9.85156 + 47.8125 - 90 - + 270 + - 585.469 - 350.812 + -19.2734 + 71 - 270 - + 90 + @@ -1206,29 +1212,29 @@ Mandatory - 1 + 3 0 - + - 638.51 - 395 + 68 + 80.9062 - 90 - + 180 + - 641.938 - 350.812 + 29.4531 + 95.9062 - 270 - + 0 + @@ -1244,24 +1250,24 @@ - + - 476.146 - 257.812 + 142.789 + 49 - 270 - + 90 + - 462.273 - 321 + 159.109 + 12.8125 - 90 - + 270 + @@ -1272,29 +1278,29 @@ Mandatory - 11 + 1 0 - + - 499.672 - -34.0625 + 35.2969 + -12.0938 0 - + - 540 - -25.0938 + 106 + -19.0938 180 - + @@ -1305,29 +1311,29 @@ Mandatory - 3 + 5 0 - + - 698.406 - 311.906 + 212.219 + -19.0938 0 - + - 763 - 272.906 + 258 + -19.0938 180 - + @@ -1343,24 +1349,24 @@ - + - 499.672 - -8.125 + 915.234 + -43.3958 0 - + - 563 - 66.9062 + 945 + -39.3958 180 - + @@ -1371,29 +1377,29 @@ Mandatory - 2 + 0 0 - + - 631.109 - 131 + 915.234 + -26.7917 - 90 - + 0 + - 613.016 - 91.8125 + 945 + -8.79167 - 270 - + 180 + @@ -1404,29 +1410,29 @@ Mandatory - 2 + 1 0 - + - 423.836 - 17.8125 + 816.656 + 399 - 270 - + 90 + - 450.859 - 54 + 815.635 + 304.812 - 90 - + 270 + @@ -1437,29 +1443,29 @@ Mandatory - 1 + 2 0 - + - 553 - 162.906 + 879.312 + 399 - 180 - + 90 + - 526.719 - 121.938 + 868.271 + 304.812 - 0 - + 270 + @@ -1475,24 +1481,24 @@ - + - 459.531 - 537.906 + 53 + 398.906 - 0 - + 180 + - 539 - 564.906 + 33.4375 + 408.906 - 180 - + 0 + @@ -1508,24 +1514,24 @@ - + - 526.719 - 189.875 + 204.719 + 398.906 0 - + - 613.703 - 273 + 247 + 357.906 - 90 - + 180 + @@ -1541,24 +1547,24 @@ - + - 688.453 - 564.906 + 128.859 + 346 - 0 - + 90 + - 770 - 553.906 + 233.151 + 256.812 - 180 - + 270 + @@ -1569,29 +1575,29 @@ Mandatory - 2 + 1 0 - + - 340.948 - 410.812 + 134.195 + 501 - 270 - + 90 + - 344.266 - 471 + 293.974 + 424.812 - 90 - + 270 + @@ -1602,29 +1608,29 @@ Mandatory - 1 + 2 0 - + - 387.922 - 350.906 + 280.302 + 256.812 - 0 - + 270 + - 415 - 345.906 + 293.974 + 291 - 180 - + 90 + @@ -1635,7 +1641,7 @@ Mandatory - 2 + 3 0 @@ -1645,8 +1651,8 @@ - 425.573 - 257.812 + 410.573 + 259.812 270 @@ -1673,24 +1679,24 @@ - + - 280.302 - 256.812 + 387.922 + 357.906 - 270 - + 0 + - 293.974 - 291 + 415 + 345.906 - 90 - + 180 + @@ -1701,29 +1707,29 @@ Mandatory - 3 + 2 0 - + - 133.195 - 516 + 340.948 + 424.812 - 90 - + 270 + - 293.974 - 410.812 + 341.266 + 473 - 270 - + 90 + @@ -1734,29 +1740,29 @@ Mandatory - 2 + 1 0 - + - 128.859 - 346 + 688.453 + 564.906 - 90 - + 0 + - 233.151 - 256.812 + 770 + 553.906 - 270 - + 180 + @@ -1767,29 +1773,29 @@ Mandatory - 1 + 2 0 - + - 204.719 - 398.906 + 511.719 + 191.875 0 - + - 247 - 350.906 + 613.703 + 273 - 180 - + 90 + @@ -1805,24 +1811,24 @@ - + - 53 - 398.906 + 456.531 + 539.906 - 180 - + 0 + - 33.4375 - 408.906 + 539 + 564.906 - 0 - + 180 + @@ -1838,24 +1844,24 @@ - + - 816.656 - 399 + 554 + 148.906 - 90 - + 180 + - 815.635 - 304.812 + 511.719 + 123.938 - 270 - + 0 + @@ -1871,24 +1877,24 @@ - + - 879.312 - 399 + 423.836 + 17.8125 - 90 - + 270 + - 868.271 - 304.812 + 435.859 + 56 - 270 - + 90 + @@ -1899,29 +1905,29 @@ Mandatory - 2 + 1 0 - + - 915.234 - -43.3958 + 632.109 + 117 - 0 - + 90 + - 945 - -39.3958 + 613.016 + 91.8125 - 180 - + 270 + @@ -1932,29 +1938,29 @@ Mandatory - 1 + 2 0 - + - 915.234 - -26.7917 + 499.672 + -8.125 0 - + - 945 - -8.79167 + 563 + 66.9062 180 - + @@ -1965,29 +1971,29 @@ Mandatory - 0 + 2 0 - + - 212.219 - -19.0938 + 698.406 + 311.906 0 - + - 258 - -19.0938 + 763 + 272.906 180 - + @@ -2003,24 +2009,24 @@ - + - 35.2969 - -12.0938 + 499.672 + -34.0625 0 - + - 106 - -19.0938 + 540 + -25.0938 180 - + @@ -2031,29 +2037,29 @@ Mandatory - 5 + 3 0 - + - 142.789 - 49 + 461.146 + 259.812 - 90 - + 270 + - 159.109 - 12.8125 + 462.273 + 321 - 270 - + 90 + @@ -2064,29 +2070,29 @@ Mandatory - 1 + 11 0 - + - 68 - 80.9062 + 559.755 + 395 - 180 - + 90 + - 29.4531 - 95.9062 + 585.469 + 350.812 - 0 - + 270 + @@ -2102,24 +2108,24 @@ - + - -9.85156 - 47.8125 + 638.51 + 395 - 270 - + 90 + - -19.2734 - 71 + 641.938 + 350.812 - 90 - + 270 + @@ -2130,29 +2136,29 @@ Mandatory - 3 + 1 0 - + - 256.727 - 137 + 599.133 + 472.812 - 90 - + 270 + - 290.109 - 103.812 + 613.727 + 533 - 270 - + 90 + @@ -2163,29 +2169,29 @@ Mandatory - 2 + 3 0 - + - 290.109 - 40 + 153.531 + 180.906 - 90 - + 0 + - 293.289 - 5.8125 + 186 + 196.906 - 270 - + 180 + @@ -2196,7 +2202,7 @@ Mandatory - 1 + 2 0 diff --git a/misc/database-layout.dump b/misc/database-layout.dump index 7dfdb1a..fffdef4 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -276,6 +276,7 @@ build_assignments CREATE TABLE `build_assignments` ( `is_broken` bit(1) NOT NULL, `priority` smallint(6) NOT NULL, `is_black_listed` text COLLATE utf8mb4_unicode_ci, + `return_date` datetime DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `content` (`package_source`,`architecture`), KEY `architecture` (`architecture`), -- cgit v1.2.3-70-g09d2