From cf3c20ce7b9afefac53980bb1741af4031125c2e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 23 Aug 2019 11:01:13 +0200 Subject: misc/database-layout: `toolchain_order` has a new column `requires_all_dependencies_built` and a new key --- misc/database-layout.dmf | 196 ++++++++++++++++++++++++---------------------- misc/database-layout.dump | 27 ++++--- 2 files changed, 117 insertions(+), 106 deletions(-) (limited to 'misc') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index a81a109..0a227c3 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -2,7 +2,7 @@ Relational - + 901 641 @@ -86,7 +86,7 @@ - + 656 380 @@ -128,7 +128,7 @@ - + 229 20 @@ -158,7 +158,7 @@ - + -54 70 @@ -182,7 +182,7 @@ - + 68 42 @@ -212,7 +212,7 @@ - + 92 -69 @@ -248,7 +248,7 @@ - + 240 -66 @@ -272,7 +272,7 @@ - + 821 -49 @@ -296,7 +296,7 @@ - + 971 -69 @@ -338,7 +338,7 @@ - + 357 455 @@ -440,7 +440,7 @@ - + 816 57 @@ -470,7 +470,7 @@ - + -43 267 @@ -506,7 +506,7 @@ - + -22 374 @@ -560,7 +560,7 @@ - + 164 408 @@ -626,7 +626,7 @@ - + 118 148 @@ -698,7 +698,7 @@ - + 299 99 @@ -782,7 +782,7 @@ - + 604 88 @@ -824,7 +824,7 @@ - + 803 261 @@ -866,7 +866,7 @@ - + 598 736 @@ -908,7 +908,7 @@ - + 729 684 @@ -938,10 +938,10 @@ - + - 173 - 709 + 103 + 694 package_sources @@ -998,7 +998,7 @@
- + 382 378 @@ -1022,7 +1022,7 @@ - + 653 21 @@ -1046,7 +1046,7 @@ - + 580 -71 @@ -1082,10 +1082,10 @@ - + - -8 - 572 + -22 + 527 build_dependency_loops @@ -1112,7 +1112,7 @@
- + 829 168 @@ -1142,7 +1142,7 @@ - + 793 497 @@ -1178,7 +1178,7 @@ - + -55 -72 @@ -1232,7 +1232,7 @@ - + -52 134 @@ -1286,7 +1286,7 @@ - + 525 215 @@ -1328,7 +1328,7 @@ - + 345 -71 @@ -1376,7 +1376,7 @@ - + 483 57 @@ -1412,10 +1412,10 @@ - + - -23 - 750 + -31 + 605 toolchain_order @@ -1433,10 +1433,16 @@ TrueFalse + + requires_all_dependencies_built + BIT + True + False +
- + 632 498 @@ -1490,7 +1496,7 @@ - + 977 378 @@ -1532,7 +1538,7 @@ - + @@ -1565,7 +1571,7 @@ - + @@ -1598,7 +1604,7 @@ - + @@ -1631,7 +1637,7 @@ - + @@ -1664,7 +1670,7 @@ - + @@ -1697,7 +1703,7 @@ - + @@ -1730,7 +1736,7 @@ - + @@ -1763,7 +1769,7 @@ - + @@ -1796,7 +1802,7 @@ - + @@ -1829,7 +1835,7 @@ - + @@ -1862,7 +1868,7 @@ - + @@ -1895,7 +1901,7 @@ - + @@ -1928,7 +1934,7 @@ - + @@ -1961,7 +1967,7 @@ - + @@ -1994,7 +2000,7 @@ - + @@ -2027,7 +2033,7 @@ - + @@ -2060,7 +2066,7 @@ - + @@ -2093,13 +2099,13 @@ - + - 73.1953 - 572 + 59.1953 + 527 90 @@ -2126,7 +2132,7 @@ - + @@ -2159,7 +2165,7 @@ - + @@ -2192,7 +2198,7 @@ - + @@ -2225,7 +2231,7 @@ - + @@ -2238,8 +2244,8 @@ - 291.133 - 709 + 260.51 + 694 90 @@ -2258,7 +2264,7 @@ - + @@ -2291,13 +2297,13 @@ - + - 409.266 - 776.406 + 339.266 + 761.406 0 @@ -2324,7 +2330,7 @@ - + @@ -2357,7 +2363,7 @@ - + @@ -2390,7 +2396,7 @@ - + @@ -2423,7 +2429,7 @@ - + @@ -2456,7 +2462,7 @@ - + @@ -2489,7 +2495,7 @@ - + @@ -2522,7 +2528,7 @@ - + @@ -2555,7 +2561,7 @@ - + @@ -2588,7 +2594,7 @@ - + @@ -2621,7 +2627,7 @@ - + @@ -2654,7 +2660,7 @@ - + @@ -2687,7 +2693,7 @@ - + @@ -2720,7 +2726,7 @@ - + @@ -2753,7 +2759,7 @@ - + @@ -2786,7 +2792,7 @@ - + @@ -2819,23 +2825,23 @@ - + - 85.5469 - 775.406 + 93.3906 + 669.813 - 0 + 270 - 173 - 776.406 + 181.755 + 694 - 180 + 90 @@ -2852,7 +2858,7 @@ - + @@ -2885,7 +2891,7 @@ - + diff --git a/misc/database-layout.dump b/misc/database-layout.dump index 538f63f..2cd009e 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -485,8 +485,8 @@ binary_packages CREATE TABLE `binary_packages` ( `sha512sum` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `sub_pkgrel_omitted` bit(1) NOT NULL DEFAULT b'0', PRIMARY KEY (`id`), - UNIQUE KEY `file_name` (`pkgname`,`epoch`,`pkgver`,`pkgrel`,`sub_pkgrel`,`architecture`), - UNIQUE KEY `content` (`build_assignment`,`sub_pkgrel`,`pkgname`,`architecture`), + UNIQUE KEY `file_name` (`pkgname`,`epoch`,`pkgver`,`pkgrel`,`sub_pkgrel`,`architecture`,`sub_pkgrel_omitted`), + UNIQUE KEY `content` (`build_assignment`,`sub_pkgrel`,`pkgname`,`architecture`,`sub_pkgrel_omitted`), KEY `architecture` (`architecture`), KEY `epoch` (`epoch`), KEY `pkgver` (`pkgver`), @@ -811,7 +811,9 @@ todos CREATE TABLE `todos` ( toolchain_order CREATE TABLE `toolchain_order` ( `number` smallint(6) NOT NULL, `pkgbase` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `requires_all_dependencies_built` bit(1) NOT NULL, PRIMARY KEY (`number`), + UNIQUE KEY `content` (`pkgbase`,`requires_all_dependencies_built`), KEY `pkgbase` (`pkgbase`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci upstream_packages CREATE TABLE `upstream_packages` ( @@ -881,7 +883,7 @@ INSERT INTO `email_actions` VALUES (3,'unblock'); INSERT INTO `fail_reasons` VALUES (1,'build()','==> ERROR: A failure occurred in build()\\.',1), - (2,'source','==> ERROR: Could not download sources\\.',2), + (2,'source','==> ERROR: Could not download sources\\.\\|==> ERROR: Failure while downloading .*',2), (3,'package-cache','.*error: failed to commit transaction (invalid or corrupted package (PGP signature))',3), (4,'prepare()','==> ERROR: A failure occurred in prepare()\\.',3), (5,'package()','==> ERROR: A failure occurred in package\\(_\\S\\+\\)\\?()\\.',4), @@ -890,13 +892,16 @@ INSERT INTO `fail_reasons` VALUES (8,'run-as-root','==> ERROR: Running makepkg as root is not allowed as it can cause permanent,',2), (9,'unknown','.*',101), (10,'pacman','==> ERROR: Failed to install all packages',6), - (11,'unclean-chroot','==> ERROR: \'.*\' does not appear to be an Arch chroot\\.|==> ERROR: Working directory \'.*\' already exists',6), + (11,'unclean-chroot','==> ERROR: \'.*\' does not appear to be an Arch chroot\\.\\|==> ERROR: Working directory \'.*\' already exists',6), (12,'vcs-source','==> ERROR: Failure while creating working copy of .*',6), (14,'pacman-sync','error: failed to synchronize all databases',6), (15,'broken-slave:missing-programs','sudo: .*: command not found',7), (16,'broken-slave:systemd-hangup','Failed to attach [0-9]\\+ to compat systemd cgroup /\\S\\+: No such file or directory',7), (17,'build():broken-haskell-source','.*mismatched interface file versions (.*)',0), - (18,'out-of-space','.*No space left on device',0); + (18,'out-of-space','.*No space left on device',0), + (19,'validity','==> ERROR: One or more files did not pass the validity check!',2), + (20,'pgp-verify','==> ERROR: One or more PGP signatures could not be verified!',2), + (21,'checksum-verify','==> ERROR: Integrity checks (.*) differ in size from the source array.',2); INSERT INTO `repositories` VALUES (1,'core',1,'1',2), (2,'extra',1,'1',2), @@ -999,12 +1004,12 @@ INSERT INTO `repository_stability_relations` VALUES (23,4,4), (4,5,6); INSERT INTO `toolchain_order` VALUES - (2,'binutils'), - (4,'binutils'), - (3,'gcc'), - (1,'glibc'), - (5,'glibc'), - (0,'linux-api-headers'); + (2,'binutils','\0'), + (4,'binutils','1'), + (3,'gcc','1'), + (1,'glibc','\0'), + (5,'glibc','1'), + (0,'linux-api-headers','\0'); INSERT INTO `upstream_repositories` VALUES (4,'community',2), (1,'core',1), -- cgit v1.2.3-54-g00ecf