From 11e612e5ea88d38a7a5f41947067a9794d54897e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 27 Mar 2018 10:54:12 +0200 Subject: misc/database-layout.dmf: new column in `build_slaves` --- misc/database-layout.dmf | 1024 +++++++++++++++++++++++----------------------- 1 file changed, 515 insertions(+), 509 deletions(-) (limited to 'misc') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index 1677e2c..bd66c00 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,43 +2,79 @@ Relational - + - 792 - 155 + 481 + 395 - file_providers + repository_moves#ffffff id - BIGINT + MEDIUMINT True True - package - BIGINT + from_repository + MEDIUMINT True False - file - BIGINT + to_repository + MEDIUMINT + True + False + + + upstream_package_repository + SMALLINT True False
- + - 785 - 6 + 763 + 241 - files + repository_stabilities + #ffffff + + + id + SMALLINT + True + True + + + name + VARCHAR(32) + True + False + + + bugtracker_category + VARCHAR(32) + False + False + + +
+
+ + + 52 + 516 + + + build_dependency_loops#ffffff @@ -48,207 +84,273 @@ True - path - TEXT + loop + MEDIUMINT True False + + build_assignment + BIGINT + True + False + + +
+
+ + + 51 + -8 + + + dependency_types + #ffffff + + + id + SMALLINT + True + True + name - TEXT + VARCHAR(32) True False - name_hash - VARCHAR(128) + relevant_for_building + BIT True False - absolute_name_hash - VARCHAR(128) + relevant_for_binary_packages + BIT True False
- + - 754 - 399 + 496 + -6 - repository_stability_relations + dependencies#ffffff id - MEDIUMINT + BIGINT True True - more_stable - MEDIUMINT + dependent + BIGINT True False - less_stable - MEDIUMINT + depending_on + BIGINT + True + False + + + dependency_type + SMALLINT True False
- + - 53 - 103 + 680 + 3 - fail_reasons + install_targets#ffffff id - SMALLINT + BIGINT True True name - VARCHAR(32) + VARCHAR(64) True False + +
+
+ + + 421 + 321 + + + architectures + #ffffff + - identifier - VARCHAR(64) + id + SMALLINT True - False + True - severity - SMALLINT + name + VARCHAR(16) True False
- + - 45 - 287 + 229 + 487 - failed_builds + package_sources#ffffff id - MEDIUMINT + BIGINT True True - build_slave - MEDIUMINT + pkgbase + VARCHAR(64) True False - build_assignment - BIGINT + git_revision + VARCHAR(40) True False - date - TIME + mod_git_revision + VARCHAR(40) True False - reason + upsream_package_repository SMALLINT True False - log_file - VARCHAR(512) + uses_upstream + BIT + True + False + + + uses_modification + BIT True False
- + - 245 - 331 + 539 + 533 - build_assignments + upstream_repositories#ffffff id - BIGINT + SMALLINT True True - package_source - BIGINT + name + VARCHAR(64) True False - architecture + git_repository SMALLINT True False + +
+
+ + + 770 + 508 + + + git_repositories + #ffffff + + + id + SMALLINT + True + True + - is_blocked - VARCHAR(128) - False + name + VARCHAR(64) + True False - is_black_listed + url VARCHAR(128) - False + True False - is_broken - BIT + directory + VARCHAR(128) True False - priority - SMALLINT + head + VARCHAR(40) True False
- + - 163 - 110 + 516 + 246 - build_slaves + repositories#ffffff @@ -259,31 +361,49 @@ name - VARCHAR(32) + VARCHAR(64) True False - ssh_key - VARCHAR(1024) + stability + SMALLINT True False - operator - VARCHAR(32) + is_on_master_mirror + BIT True False + +
+
+ + + 611 + 89 + + + install_target_providers + #ffffff + + + id + BIGINT + True + True + - currently_building + package BIGINT - False + True False - last_connection - TIME + install_target + BIGINT True False @@ -380,151 +500,67 @@
- - - 656 - 82 - - - install_target_providers - #ffffff - - - id - BIGINT - True - True - - - package - BIGINT - True - False - - - install_target - BIGINT - True - False - - -
-
- - - 516 - 246 - - - repositories - #ffffff - - - id - MEDIUMINT - True - True - - - name - VARCHAR(64) - True - False - - - stability - SMALLINT - True - False - - - is_on_master_mirror - BIT - True - False - - -
-
- + - 770 - 508 + 163 + 110 - git_repositories + build_slaves#ffffff id - SMALLINT + MEDIUMINT True True name - VARCHAR(64) + VARCHAR(32) True False - url - VARCHAR(128) + ssh_key + VARCHAR(1024) True False - directory - VARCHAR(128) + operator + VARCHAR(32) True False - head - VARCHAR(40) - True + currently_building + BIGINT + False False - -
-
- - - 539 - 533 - - - upstream_repositories - #ffffff - - - id - SMALLINT - True - True - - name - VARCHAR(64) + last_connection + TIME True False - git_repository - SMALLINT - True + logged_lines + BIGINT + False False
- + - 229 - 487 + 245 + 331 - package_sources + build_assignments#ffffff @@ -534,135 +570,99 @@ True - pkgbase - VARCHAR(64) - True - False - - - git_revision - VARCHAR(40) + package_source + BIGINT True False - mod_git_revision - VARCHAR(40) + architecture + SMALLINT True False - upsream_package_repository - SMALLINT - True + is_blocked + VARCHAR(128) + False False - uses_upstream - BIT - True + is_black_listed + VARCHAR(128) + False False - uses_modification + is_broken BIT True False - -
-
- - - 421 - 321 - - - architectures - #ffffff - - id + priority SMALLINT True - True - - - name - VARCHAR(16) - True False
- + - 680 - 3 + 45 + 287 - install_targets + failed_builds#ffffff id - BIGINT + MEDIUMINT True True - name - VARCHAR(64) + build_slave + MEDIUMINT True False - -
-
- - - 496 - -6 - - - dependencies - #ffffff - - id + build_assignment BIGINT True - True + False - dependent - BIGINT + date + TIME True False - depending_on - BIGINT + reason + SMALLINT True False - dependency_type - SMALLINT + log_file + VARCHAR(512) True False
- + - 51 - -8 + 53 + 103 - dependency_types + fail_reasons#ffffff @@ -678,134 +678,140 @@ False - relevant_for_building - BIT + identifier + VARCHAR(64) True False - relevant_for_binary_packages - BIT + severity + SMALLINT True False
- + - 52 - 516 + 754 + 399 - build_dependency_loops + repository_stability_relations#ffffff id - BIGINT + MEDIUMINT True True - loop + more_stable MEDIUMINT True False - build_assignment - BIGINT + less_stable + MEDIUMINT True False
- + - 763 - 241 + 785 + 6 - repository_stabilities + files#ffffff id - SMALLINT + BIGINT True True + + path + TEXT + True + False + name - VARCHAR(32) + TEXT True False - bugtracker_category - VARCHAR(32) - False + name_hash + VARCHAR(128) + True + False + + + absolute_name_hash + VARCHAR(128) + True False
- + - 481 - 395 + 792 + 155 - repository_moves + file_providers#ffffff id - MEDIUMINT + BIGINT True True - from_repository - MEDIUMINT - True - False - - - to_repository - MEDIUMINT + package + BIGINT True False - upstream_package_repository - SMALLINT + file + BIGINT True False
- + - 792 - 190.812 + 599.133 + 472.812 - 180 - + 270 + - 475.969 - 184.975 + 613.727 + 533 - 0 - + 90 + @@ -816,62 +822,62 @@ Mandatory - 1 + 3 0 - + - 834.562 - 155 + 638.51 + 395 90 - + - 869.336 - 109.625 + 628.938 + 323.812 270 - + OneToMany - Optional - Optional + Mandatory + Mandatory - 2 + 1 0 - + - 799.115 - 399 + 559.755 + 395 90 - + - 801.13 - 312.625 + 572.469 + 323.812 270 - + @@ -887,24 +893,24 @@ - + - 844.229 - 399 + 430.146 + 249.812 - 90 - + 270 + - 839.26 - 312.625 + 468.273 + 321 - 270 - + 90 + @@ -915,29 +921,29 @@ Mandatory - 1 + 11 0 - + - 93.9896 - 287 + 496 + 32.9062 - 90 - + 180 + - 98.3438 - 190.625 + 284.844 + 30.9062 - 270 - + 0 + @@ -948,29 +954,29 @@ Mandatory - 4 + 3 0 - + - 191.969 - 346.812 + 685.406 + 284.906 0 - + - 245 - 376.208 + 763 + 272.906 180 - + @@ -986,24 +992,24 @@ - + - 142.979 - 287 + 647.672 + 32.9062 - 90 - + 0 + - 207.635 - 229.625 + 680 + 27.9062 - 270 - + 180 + @@ -1014,29 +1020,29 @@ Mandatory - 1 + 2 0 - + - 125.484 - 516 + 689.109 + 89 90 - + - 245 - 421.417 + 730.016 + 52.8125 - 180 - + 270 + @@ -1052,24 +1058,24 @@ - + - 252.271 - 229.625 + 571.836 + 71.8125 270 - + - 290.391 - 331 + 480.719 + 86.7625 - 90 - + 0 + @@ -1080,29 +1086,29 @@ Mandatory - 4 + 1 0 - + - 377.99 - 277.625 + 611 + 120.906 - 270 - + 180 + - 335.781 - 331 + 480.719 + 127.525 - 90 - + 0 + @@ -1118,24 +1124,24 @@ - + - 381.172 - 398.812 + 459.531 + 546.906 0 - + - 421 - 348.812 + 539 + 564.906 180 - + @@ -1146,29 +1152,29 @@ Mandatory - 2 + 4 0 - + - 313.086 - 466.625 + 480.719 + 209.05 - 270 - + 0 + - 341.891 - 487 + 600.703 + 246 90 - + @@ -1179,7 +1185,7 @@ Mandatory - 1 + 2 0 @@ -1189,8 +1195,8 @@ - 661.781 - 568.812 + 688.453 + 564.906 0 @@ -1198,7 +1204,7 @@ 770 - 559.812 + 553.906 180 @@ -1217,24 +1223,24 @@ - + - 475.969 - 231.3 + 338.948 + 450.812 - 0 - + 270 + - 598.328 - 246 + 344.266 + 487 90 - + @@ -1245,29 +1251,29 @@ Mandatory - 2 + 1 0 - + - 454.781 - 554.812 + 385.922 + 390.906 0 - + - 539 - 568.812 + 421 + 345.906 180 - + @@ -1278,29 +1284,29 @@ Mandatory - 4 + 2 0 - + - 656 - 117.812 + 379.573 + 249.812 - 180 - + 270 + - 475.969 - 138.65 + 338.948 + 331 - 0 - + 90 + @@ -1316,24 +1322,24 @@ - + - 569.461 - 81.625 + 257.302 + 229.812 270 - + - 475.969 - 92.325 + 291.974 + 331 - 0 - + 90 + @@ -1344,29 +1350,29 @@ Mandatory - 1 + 4 0 - + - 715.289 - 82 + 133.195 + 516 90 - + - 716.156 - 58.625 + 291.974 + 450.812 270 - + @@ -1382,24 +1388,24 @@ - + - 642.922 - 37.8125 + 146.146 + 287 - 0 - + 90 + - 680 - 30.8125 + 210.151 + 229.812 - 180 - + 270 + @@ -1410,29 +1416,29 @@ Mandatory - 2 + 1 0 - + - 680.656 - 289.812 + 196.719 + 339.906 0 - + - 763 - 276.812 + 245 + 390.906 180 - + @@ -1448,24 +1454,24 @@ - + - 496 - 37.8125 + 95.5729 + 287 - 180 - + 90 + - 280.094 - 35.8125 + 100.719 + 180.812 - 0 - + 270 + @@ -1476,29 +1482,29 @@ Mandatory - 3 + 4 0 - + - 426.979 - 277.625 + 879.312 + 399 - 270 - + 90 + - 453.914 - 321 + 868.271 + 304.812 - 90 - + 270 + @@ -1509,29 +1515,29 @@ Mandatory - 11 + 1 0 - + - 558.172 - 395 + 816.656 + 399 90 - + - 570.885 - 333.625 + 815.635 + 304.812 270 - + @@ -1547,57 +1553,57 @@ - + - 635.344 - 395 + 839.969 + 155 90 - + - 625.771 - 333.625 + 871.711 + 97.8125 270 - + OneToMany - Mandatory - Mandatory + Optional + Optional - 1 + 2 0 - + - 596.758 - 482.625 + 792 + 186.906 - 270 - + 180 + - 600.391 - 533 + 480.719 + 168.288 - 90 - + 0 + @@ -1608,7 +1614,7 @@ Mandatory - 3 + 1 0 -- cgit v1.2.3-70-g09d2