From c0e2e2a802f3eb7203dac1433d1b2935e67f0955 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Jun 2018 10:59:24 +0200 Subject: new column `failed_builds`.`log_file_exists` --- misc/database-layout.dmf | 1630 +++++++++++++++++++++++---------------------- misc/database-layout.dump | 1 + 2 files changed, 819 insertions(+), 812 deletions(-) (limited to 'misc') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index 14c5710..9277d32 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,13 +2,13 @@ Relational - + - 543 - 182 + 952 + 253 - binary_packages_in_repositories + mirror_statuses#ffffff @@ -18,176 +18,152 @@ True - package - BIGINT + protocol + VARCHAR(8) True False - repository - MEDIUMINT + url + VARCHAR(128) True False - is_to_be_deleted - BIT + country + VARCHAR(64) True False - last_moved - TIMESTAMP + country_code + VARCHAR(4) True False - -
-
- - - -52 - 134 - - - ssh_log - #ffffff - - id + last_sync BIGINT True - True + False - date - TIMESTAMP + start + FLOAT True False - build_slave - MEDIUMINT - False + stop + FLOAT + True False - action - VARCHAR(32) + isos + BIT True False - parameters - TEXT + ipv4 + BIT + True + False + + + ipv6 + BIT + True + False + + + active + BIT True False
- + - -55 - -72 + 375 + 369 - email_log + architecture_compatibilities#ffffff id - BIGINT + MEDIUMINT True True - date - TIMESTAMP + built_for + SMALLINT True False - success - BIT + runs_on + SMALLINT True False - action - MEDIUMINT - False - False - - - count - MEDIUMINT - False - False - - - gpg_key - BIGINT - False - False - - - comment - TEXT - False + fully_compatible + BIT + True False
- + - 492 - 459 + 237 + 40 - repository_moves + ssh_keys#ffffff id - MEDIUMINT + BIGINT True True - from_repository - MEDIUMINT - True - False - - - to_repository + owner MEDIUMINT True False - upstream_package_repository - SMALLINT + fingerprint + TEXT True False
- + - 770 - 345 + -59 + 73 - repository_stabilities + email_actions#ffffff id - SMALLINT + MEDIUMINT True True @@ -197,22 +173,16 @@ True False - - bugtracker_category - VARCHAR(32) - False - False -
- + - -21 - 537 + 68 + 49 - build_dependency_loops + allowed_email_actions#ffffff @@ -222,99 +192,105 @@ True - loop - MEDIUMINT + gpg_key + BIGINT True False - build_assignment - BIGINT + action + MEDIUMINT True False
- + - 540 - -64 + 106 + -51 - dependency_types + gpg_keys#ffffff id - SMALLINT + BIGINT True True - name - VARCHAR(32) - True - False - - - relevant_for_building - BIT + fingerprint + VARCHAR(40) True False - relevant_for_binary_packages - BIT + owner + MEDIUMINT True False
- + - 348 - -60 + 258 + -44 - dependencies + persons#ffffff id - BIGINT + MEDIUMINT True True - dependent - BIGINT + name + VARCHAR(32) True False + +
+
+ + + 788 + -60 + + + todo_links + #ffffff + - depending_on + dependent BIGINT True False - dependency_type - SMALLINT + depending_on + BIGINT True False
- + - 557 - 30 + 945 + -70 - install_targets + todos#ffffff @@ -324,45 +300,39 @@ True - name + file VARCHAR(64) True False - -
-
- - - 399 - 289 - - - architectures - #ffffff - - id - SMALLINT + line + MEDIUMINT True - True + False - name - VARCHAR(16) + description + TEXT True False + + importance + SMALLINT + False + False +
- + - 175 - 497 + 777 + 32 - package_sources + statitstics#ffffff @@ -372,87 +342,111 @@ True - pkgbase - VARCHAR(64) + date + TIMESTAMP True False - git_revision - VARCHAR(40) + stable_packages_count + MEDIUMINT True False - mod_git_revision - VARCHAR(40) + pending_tasks_count + MEDIUMINT True False - upsream_package_repository - SMALLINT + staging_packages_count + MEDIUMINT True False - uses_upstream - BIT + testing_packages_count + MEDIUMINT True False - uses_modification - BIT + broken_tasks_count + MEDIUMINT True False - commit_time - TIMESTAMP + 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
- + - 535 - 562 + 756 + 452 - upstream_repositories + repository_stability_relations#ffffff id - SMALLINT + MEDIUMINT True True - name - VARCHAR(64) + more_stable + MEDIUMINT True False - git_repository - SMALLINT + less_stable + MEDIUMINT True False
- + - 803 - 533 + -53 + 240 - git_repositories + fail_reasons#ffffff @@ -463,38 +457,32 @@ name - VARCHAR(64) - True - False - - - url - VARCHAR(128) + VARCHAR(32) True False - directory - VARCHAR(128) + identifier + VARCHAR(64) True False - head - VARCHAR(40) + severity + SMALLINT True False
- + - 566 - 299 + -17 + 342 - repositories + failed_builds#ffffff @@ -504,69 +492,51 @@ True - name - VARCHAR(64) + build_slave + MEDIUMINT True False - stability - SMALLINT + build_assignment + BIGINT True False - is_on_master_mirror - BIT + date + TIMESTAMP True False - architecture + reason SMALLINT True False - -
-
- - - 549 - 105 - - - install_target_providers - #ffffff - - - id - BIGINT - True - True - - package - BIGINT + log_file + VARCHAR(512) True False - install_target - BIGINT + log_file_exists + BIT True False
- + - 360 - 56 + 187 + 311 - binary_packages + build_assignments#ffffff @@ -576,71 +546,47 @@ True - build_assignment + package_source BIGINT True False - epoch - MEDIUMINT - True - False - - - pkgver - VARCHAR(64) - True - False - - - pkgrel - MEDIUMINT + architecture + SMALLINT True False - sub_pkgrel - MEDIUMINT - True + is_blocked + VARCHAR(128) + False False - has_issues - BIT - True + is_black_listed + VARCHAR(128) + False False - is_tested + is_broken BIT True False - pkgname - VARCHAR(64) - True - False - - - architecture + priority SMALLINT True False - sha512sum - VARCHAR(128) + return_date + TIMESTAMP False False - - sub_pkgrel_omitted - BIT - True - False -
@@ -710,13 +656,13 @@
- + - 187 - 311 + 360 + 56 - build_assignments + binary_packages#ffffff @@ -726,105 +672,153 @@ True - package_source + build_assignment BIGINT True False - architecture - SMALLINT + epoch + MEDIUMINT True False - is_blocked - VARCHAR(128) - False + pkgver + VARCHAR(64) + True False - is_black_listed - VARCHAR(128) - False + pkgrel + MEDIUMINT + True False - is_broken + sub_pkgrel + MEDIUMINT + True + False + + + has_issues BIT True False - priority + is_tested + BIT + True + False + + + pkgname + VARCHAR(64) + True + False + + + architecture SMALLINT True False - return_date - TIMESTAMP + sha512sum + VARCHAR(128) False False + + sub_pkgrel_omitted + BIT + True + False +
- + - -17 - 342 + 549 + 105 - failed_builds + install_target_providers#ffffff id - MEDIUMINT + BIGINT True True - build_slave - MEDIUMINT + package + BIGINT True False - build_assignment + install_target BIGINT True False + +
+
+ + + 566 + 299 + + + repositories + #ffffff + + + id + MEDIUMINT + True + True + - date - TIMESTAMP + name + VARCHAR(64) True False - reason + stability SMALLINT True False - log_file - VARCHAR(512) + is_on_master_mirror + BIT + True + False + + + architecture + SMALLINT True False
- + - -53 - 240 + 803 + 533 - fail_reasons + git_repositories#ffffff @@ -835,62 +829,68 @@ name - VARCHAR(32) + VARCHAR(64) True False - identifier - VARCHAR(64) + url + VARCHAR(128) True False - severity - SMALLINT + directory + VARCHAR(128) + True + False + + + head + VARCHAR(40) True False
- + - 756 - 452 + 535 + 562 - repository_stability_relations + upstream_repositories#ffffff id - MEDIUMINT + SMALLINT True True - more_stable - MEDIUMINT + name + VARCHAR(64) True False - less_stable - MEDIUMINT + git_repository + SMALLINT True False
- + - 777 - 32 + 175 + 497 - statitstics + package_sources#ffffff @@ -900,81 +900,81 @@ True - date - TIMESTAMP - True - False - - - stable_packages_count - MEDIUMINT - True - False - - - pending_tasks_count - MEDIUMINT + pkgbase + VARCHAR(64) True False - staging_packages_count - MEDIUMINT + git_revision + VARCHAR(40) True False - testing_packages_count - MEDIUMINT + mod_git_revision + VARCHAR(40) True False - broken_tasks_count - MEDIUMINT + upsream_package_repository + SMALLINT True False - dependency_loops_count - MEDIUMINT + uses_upstream + BIT True False - dependency_looped_tasks_count - MEDIUMINT + uses_modification + BIT True False - locked_tasks_count - MEDIUMINT + commit_time + TIMESTAMP True False + +
+
+ + + 399 + 289 + + + architectures + #ffffff + - blocked_tasks_count - MEDIUMINT + id + SMALLINT True - False + True - next_tasks_count - MEDIUMINT + name + VARCHAR(16) True False
- + - 945 - -70 + 557 + 30 - todos + install_targets#ffffff @@ -984,41 +984,29 @@ True - file + name VARCHAR(64) True False - - line - MEDIUMINT - True - False - - - description - TEXT - True - False - - - importance - SMALLINT - False - False -
- + - 788 + 348 -60 - todo_links + dependencies#ffffff + + id + BIGINT + True + True + dependent BIGINT @@ -1031,21 +1019,27 @@ True False + + dependency_type + SMALLINT + True + False +
- + - 258 - -44 + 540 + -64 - persons + dependency_types#ffffff id - MEDIUMINT + SMALLINT True True @@ -1055,46 +1049,28 @@ True False - -
-
- - - 106 - -51 - - - gpg_keys - #ffffff - - - id - BIGINT - True - True - - fingerprint - VARCHAR(40) + relevant_for_building + BIT True False - owner - MEDIUMINT + relevant_for_binary_packages + BIT True False
- + - 68 - 49 + -21 + 537 - allowed_email_actions + build_dependency_loops#ffffff @@ -1104,32 +1080,32 @@ True - gpg_key - BIGINT + loop + MEDIUMINT True False - action - MEDIUMINT + build_assignment + BIGINT True False
- + - -59 - 73 + 770 + 345 - email_actions + repository_stabilities#ffffff id - MEDIUMINT + SMALLINT True True @@ -1139,82 +1115,112 @@ True False + + bugtracker_category + VARCHAR(32) + False + False +
- + - 237 - 40 + 492 + 459 - ssh_keys + repository_moves#ffffff id - BIGINT + MEDIUMINT True True - owner + from_repository MEDIUMINT True False - fingerprint - TEXT + to_repository + MEDIUMINT + True + False + + + upstream_package_repository + SMALLINT True False
- + - 375 - 369 + -55 + -72 - architecture_compatibilities + email_log#ffffff id - MEDIUMINT + BIGINT True True - built_for - SMALLINT + date + TIMESTAMP True False - runs_on - SMALLINT + success + BIT True False - fully_compatible - BIT - True + action + MEDIUMINT + False + False + + + count + MEDIUMINT + False + False + + + gpg_key + BIGINT + False + False + + + comment + TEXT + False False
- + - 952 - 253 + -52 + 134 - mirror_statuses + ssh_log#ffffff @@ -1224,125 +1230,125 @@ True - protocol - VARCHAR(8) + date + TIMESTAMP True False - url - VARCHAR(128) - True + build_slave + MEDIUMINT + False False - country - VARCHAR(64) + action + VARCHAR(32) True False - country_code - VARCHAR(4) + parameters + TEXT True False + +
+
+ + + 543 + 182 + + + binary_packages_in_repositories + #ffffff + - last_sync + id BIGINT True - False - - - start - FLOAT - True - False - - - stop - FLOAT - True - False + True - isos - BIT + package + BIGINT True False - ipv4 - BIT + repository + MEDIUMINT True False - ipv6 + is_to_be_deleted BIT True False - active - BIT + last_moved + TIMESTAMP True False
- + - 647.922 - 273.812 + 435.714 + 369 - 270 - + 90 + - 650.703 - 299 + 430.516 + 338.812 - 90 - + 270 + - OneToMany + OneToOne - Optional - Optional + Mandatory + Mandatory - 2 + 1 0 - + - 543 - 227.906 + 496.427 + 369 - 180 - + 90 + - 525.859 - 182.542 + 462.031 + 338.812 - 0 - + 270 + @@ -1353,29 +1359,29 @@ Mandatory - 1 + 2 0 - + - 59.5312 - 179.906 + 566 + 344.906 - 0 - + 180 + - 185 - 171.271 + 493.547 + 313.906 - 180 - + 0 + @@ -1386,29 +1392,29 @@ Mandatory - 2 + 4 0 - + - 610.133 - 536.812 + 290.109 + 40 - 270 - + 90 + - 609.727 - 562 + 293.289 + 5.8125 - 90 - + 270 + @@ -1419,29 +1425,29 @@ Mandatory - 3 + 1 0 - + - 649.51 - 459 + 255.727 + 122 90 - + - 678.938 - 390.812 + 290.109 + 103.812 270 - + @@ -1452,29 +1458,29 @@ Mandatory - 1 + 2 0 - + - 570.755 - 459 + -9.85156 + 47.8125 - 90 - + 270 + - 622.469 - 390.812 + -10.2734 + 73 - 270 - + 90 + @@ -1485,29 +1491,29 @@ Mandatory - 2 + 3 0 - + - 470.573 - 245.812 + 68 + 80.9062 - 270 - + 180 + - 446.273 - 289 + 38.4531 + 97.9062 - 90 - + 0 + @@ -1518,29 +1524,29 @@ Mandatory - 9 + 2 0 - + - 499.672 - -34.0625 + 142.789 + 49 - 0 - + 90 + - 540 - -25.0938 + 159.109 + 12.8125 - 180 - + 270 + @@ -1551,29 +1557,29 @@ Mandatory - 3 + 1 0 - + - 735.406 - 344.906 + 35.2969 + -12.0938 0 - + - 770 - 376.906 + 106 + -19.0938 180 - + @@ -1584,29 +1590,29 @@ Mandatory - 2 + 5 0 - + - 499.672 - -8.125 + 212.219 + -19.0938 0 - + - 557 - 54.9062 + 258 + -19.0938 180 - + @@ -1622,24 +1628,24 @@ - + - 627.109 - 105 + 915.234 + -43.3958 - 90 - + 0 + - 607.016 - 79.8125 + 945 + -39.3958 - 270 - + 180 + @@ -1650,29 +1656,29 @@ Mandatory - 2 + 0 0 - + - 423.836 - 17.8125 + 915.234 + -26.7917 - 270 - + 0 + - 442.93 - 56 + 945 + -8.79167 - 90 - + 180 + @@ -1688,24 +1694,24 @@ - + - 549 - 136.906 + 818.656 + 452 - 180 - + 90 + - 525.859 - 119.271 + 822.635 + 408.812 - 0 - + 270 + @@ -1716,29 +1722,29 @@ Mandatory - 1 + 2 0 - + - 405.531 - 563.906 + 881.312 + 452 - 0 - + 90 + - 535 - 593.906 + 875.271 + 408.812 - 180 - + 270 + @@ -1749,29 +1755,29 @@ Mandatory - 4 + 1 0 - + - 684.453 - 593.906 + 33.5729 + 342 - 0 - + 90 + - 803 - 578.906 + -5.28125 + 317.812 - 180 - + 270 + @@ -1782,29 +1788,29 @@ Mandatory - 2 + 4 0 - + - 280.948 - 444.812 + 134.719 + 401.906 - 270 - + 0 + - 290.266 - 497 + 187 + 377.906 - 90 - + 180 + @@ -1815,29 +1821,29 @@ Mandatory - 1 + 2 0 - + - 327.922 - 377.906 + 84.1458 + 342 - 0 - + 90 + - 399 - 313.906 + 232.151 + 269.812 - 180 - + 270 + @@ -1848,28 +1854,28 @@ Mandatory - 2 + 1 0 - + - 415.286 - 245.812 + 60.1953 + 537 - 270 - + 90 + - 280.948 - 311 + 233.974 + 444.812 - 90 + 270 @@ -1881,7 +1887,7 @@ Mandatory - 1 + 2 0 @@ -1891,7 +1897,7 @@ - 255.727 + 279.302 269.812 270 @@ -1919,23 +1925,23 @@ - + - 60.1953 - 537 + 415.286 + 245.812 - 90 - + 270 + - 233.974 - 444.812 + 280.948 + 311 - 270 + 90 @@ -1947,29 +1953,29 @@ Mandatory - 2 + 1 0 - + - 84.1458 - 342 + 327.922 + 377.906 - 90 - + 0 + - 185 - 220.542 + 399 + 313.906 180 - + @@ -1980,29 +1986,29 @@ Mandatory - 1 + 2 0 - + - 134.719 - 394.906 + 280.948 + 444.812 - 0 - + 270 + - 187 - 377.906 + 290.266 + 497 - 180 - + 90 + @@ -2013,29 +2019,29 @@ Mandatory - 2 + 1 0 - + - 33.5729 - 342 + 684.453 + 593.906 - 90 - + 0 + - -5.28125 - 317.812 + 803 + 578.906 - 270 - + 180 + @@ -2046,29 +2052,29 @@ Mandatory - 4 + 2 0 - + - 818.656 - 452 + 405.531 + 563.906 - 90 - + 0 + - 822.635 - 408.812 + 535 + 593.906 - 270 - + 180 + @@ -2079,29 +2085,29 @@ Mandatory - 1 + 4 0 - + - 881.312 - 452 + 549 + 136.906 - 90 - + 180 + - 875.271 - 408.812 + 525.859 + 119.271 - 270 - + 0 + @@ -2112,29 +2118,29 @@ Mandatory - 2 + 1 0 - + - 915.234 - -43.3958 + 423.836 + 17.8125 - 0 - + 270 + - 945 - -39.3958 + 442.93 + 56 - 180 - + 90 + @@ -2150,24 +2156,24 @@ - + - 915.234 - -26.7917 + 627.109 + 105 - 0 - + 90 + - 945 - -8.79167 + 607.016 + 79.8125 - 180 - + 270 + @@ -2178,29 +2184,29 @@ Mandatory - 0 + 2 0 - + - 212.219 - -19.0938 + 499.672 + -8.125 0 - + - 258 - -19.0938 + 557 + 54.9062 180 - + @@ -2216,24 +2222,24 @@ - + - 35.2969 - -12.0938 + 735.406 + 344.906 0 - + - 106 - -19.0938 + 770 + 376.906 180 - + @@ -2244,29 +2250,29 @@ Mandatory - 5 + 2 0 - + - 142.789 - 49 + 499.672 + -34.0625 - 90 - + 0 + - 159.109 - 12.8125 + 540 + -25.0938 - 270 - + 180 + @@ -2277,29 +2283,29 @@ Mandatory - 1 + 3 0 - + - 68 - 80.9062 + 470.573 + 245.812 - 180 - + 270 + - 38.4531 - 97.9062 + 446.273 + 289 - 0 - + 90 + @@ -2310,29 +2316,29 @@ Mandatory - 2 + 9 0 - + - -9.85156 - 47.8125 + 570.755 + 459 - 270 - + 90 + - -10.2734 - 73 + 622.469 + 390.812 - 90 - + 270 + @@ -2343,29 +2349,29 @@ Mandatory - 3 + 2 0 - + - 255.727 - 122 + 649.51 + 459 90 - + - 290.109 - 103.812 + 678.938 + 390.812 270 - + @@ -2376,29 +2382,29 @@ Mandatory - 2 + 1 0 - + - 290.109 - 40 + 610.133 + 536.812 - 90 - + 270 + - 293.289 - 5.8125 + 609.727 + 562 - 270 - + 90 + @@ -2409,29 +2415,29 @@ Mandatory - 1 + 3 0 - + - 566 - 344.906 + 59.5312 + 179.906 - 180 - + 0 + - 493.547 - 313.906 + 185 + 195.906 - 0 - + 180 + @@ -2442,29 +2448,29 @@ Mandatory - 4 + 2 0 - + - 496.427 - 369 + 543 + 227.906 - 90 - + 180 + - 462.031 - 338.812 + 525.859 + 182.542 - 270 - + 0 + @@ -2475,40 +2481,40 @@ Mandatory - 2 + 1 0 - + - 435.714 - 369 + 647.922 + 273.812 - 90 - + 270 + - 430.516 - 338.812 + 650.703 + 299 - 270 - + 90 + - OneToOne + OneToMany - Mandatory - Mandatory + Optional + Optional - 1 + 2 0 diff --git a/misc/database-layout.dump b/misc/database-layout.dump index e85e279..d41e704 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -531,6 +531,7 @@ failed_builds CREATE TABLE `failed_builds` ( `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `reason` smallint(6) NOT NULL, `log_file` varchar(512) COLLATE utf8mb4_unicode_ci NOT NULL, + `log_file_exists` bit(1) NOT NULL, PRIMARY KEY (`id`), KEY `build_slave` (`build_slave`), KEY `build_assignment` (`build_assignment`), -- cgit v1.2.3-70-g09d2