Changeset 69781 in vbox for trunk/src/VBox/ValidationKit/testmanager
- Timestamp:
- Nov 20, 2017 6:41:33 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119185
- Location:
- trunk/src/VBox/ValidationKit/testmanager/db
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/db/TestManagerDatabaseComments.pgsql
r69778 r69781 29 29 'When this was logged.'; 30 30 31 32 31 COMMENT ON COLUMN SystemLog.sEvent IS 33 32 'The event type. … … 35 34 some enum type everytime we introduce a new event type.'; 36 35 37 38 36 COMMENT ON COLUMN SystemLog.sLogText IS 39 37 'The log text.'; 40 41 38 42 39 COMMENT ON TABLE Users IS … … 54 51 current_timestamp.'; 55 52 56 57 53 COMMENT ON COLUMN Users.tsEffective IS 58 54 'When this row starts taking effect (inclusive).'; 59 55 60 61 56 COMMENT ON COLUMN Users.tsExpire IS 62 57 'When this row stops being tsEffective (exclusive).'; 63 58 64 65 59 COMMENT ON COLUMN Users.uidAuthor IS 66 60 'The user id of the one who created/modified this entry. 67 61 Non-unique foreign key: Users(uid)'; 68 69 62 70 63 COMMENT ON COLUMN Users.sUsername IS 71 64 'User name.'; 72 65 73 74 66 COMMENT ON COLUMN Users.sEmail IS 75 67 'The email address of the user.'; 76 68 77 78 69 COMMENT ON COLUMN Users.sFullName IS 79 70 'The full name.'; 80 71 81 82 72 COMMENT ON COLUMN Users.sLoginName IS 83 73 'The login name used by apache.'; 84 74 85 86 75 COMMENT ON COLUMN Users.fReadOnly IS 87 76 'Read access only.'; 88 77 89 90 78 COMMENT ON TABLE GlobalResources IS 91 79 'Global resource configuration. … … 97 85 current_timestamp.'; 98 86 99 100 87 COMMENT ON COLUMN GlobalResources.tsEffective IS 101 88 'When this row starts taking effect (inclusive).'; 102 89 103 104 90 COMMENT ON COLUMN GlobalResources.tsExpire IS 105 91 'When this row stops being tsEffective (exclusive).'; 106 92 107 108 93 COMMENT ON COLUMN GlobalResources.uidAuthor IS 109 94 'The user id of the one who created/modified this entry. 110 95 Non-unique foreign key: Users(uid)'; 111 112 96 113 97 COMMENT ON COLUMN GlobalResources.sName IS 114 98 'The name of the resource.'; 115 99 116 117 100 COMMENT ON COLUMN GlobalResources.sDescription IS 118 101 'Optional resource description.'; 119 102 120 121 103 COMMENT ON COLUMN GlobalResources.fEnabled IS 122 104 'Indicates whether this resource is currently enabled (online).'; 123 105 124 125 106 COMMENT ON TABLE BuildSources IS 126 107 'Build sources. … … 136 117 join/whatever when searching for builds?'; 137 118 138 139 119 COMMENT ON COLUMN BuildSources.tsEffective IS 140 120 'When this row starts taking effect (inclusive).'; 141 121 142 143 122 COMMENT ON COLUMN BuildSources.tsExpire IS 144 123 'When this row stops being tsEffective (exclusive).'; 145 124 146 147 125 COMMENT ON COLUMN BuildSources.uidAuthor IS 148 126 'The user id of the one who created/modified this entry. 149 127 Non-unique foreign key: Users(uid)'; 150 151 128 152 129 COMMENT ON COLUMN BuildSources.sName IS 153 130 'The name of the build source.'; 154 131 155 156 132 COMMENT ON COLUMN BuildSources.sDescription IS 157 133 'Description.'; 158 159 134 160 135 COMMENT ON COLUMN BuildSources.sProduct IS … … 162 137 ASSUME that it is okay to limit a build source to a single product.'; 163 138 164 165 139 COMMENT ON COLUMN BuildSources.sBranch IS 166 140 'Which branch. 167 141 ASSUME that it is okay to limit a build source to a branch.'; 168 142 169 170 143 COMMENT ON COLUMN BuildSources.asTypes IS 171 144 'Build types to include, all matches if NULL. 172 145 @todo Weighting the types would be nice in a later version.'; 173 174 146 175 147 COMMENT ON COLUMN BuildSources.asOsArches IS … … 180 152 @remarks See marks on ''os-agnostic'' and ''noarch'' in BuildCategories.'; 181 153 182 183 154 COMMENT ON COLUMN BuildSources.iFirstRevision IS 184 155 'The first subversion tree revision to match, no lower limit if NULL.'; 185 156 186 187 157 COMMENT ON COLUMN BuildSources.iLastRevision IS 188 158 'The last subversion tree revision to match, no upper limit if NULL.'; 189 159 190 191 160 COMMENT ON COLUMN BuildSources.cSecMaxAge IS 192 161 'The maximum age of the builds in seconds, unlimited if NULL.'; 193 162 194 195 163 COMMENT ON TABLE TestCases IS 196 164 'Test case configuration. … … 200 168 current_timestamp.'; 201 169 202 203 170 COMMENT ON COLUMN TestCases.tsEffective IS 204 171 'When this row starts taking effect (inclusive).'; 205 172 206 207 173 COMMENT ON COLUMN TestCases.tsExpire IS 208 174 'When this row stops being tsEffective (exclusive).'; 209 175 210 211 176 COMMENT ON COLUMN TestCases.uidAuthor IS 212 177 'The user id of the one who created/modified this entry. 213 178 Non-unique foreign key: Users(uid)'; 214 215 179 216 180 COMMENT ON COLUMN TestCases.sName IS 217 181 'The name of the test case.'; 218 182 219 220 183 COMMENT ON COLUMN TestCases.sDescription IS 221 184 'Optional test case description.'; 222 185 223 224 186 COMMENT ON COLUMN TestCases.fEnabled IS 225 187 'Indicates whether this test case is currently enabled.'; 226 188 227 228 189 COMMENT ON COLUMN TestCases.cSecTimeout IS 229 190 'Default test case timeout given in seconds.'; 230 231 191 232 192 COMMENT ON COLUMN TestCases.sTestBoxReqExpr IS … … 236 196 If NULL everything matches.'; 237 197 238 239 198 COMMENT ON COLUMN TestCases.sBuildReqExpr IS 240 199 'Default build requirement expression (python boolean expression). … … 243 202 If NULL everything matches.'; 244 203 245 246 204 COMMENT ON COLUMN TestCases.sBaseCmd IS 247 205 'The base command. … … 249 207 (IFS). References to @BUILD_BINARIES@ will be replaced WITH the content 250 208 of the Builds(sBinaries) field.'; 251 252 209 253 210 COMMENT ON COLUMN TestCases.sTestSuiteZips IS … … 261 218 @DOWNLOAD_BASE_URL@ prefix can be used to refer to this area.'; 262 219 263 264 220 COMMENT ON TABLE TestCaseArgs IS 265 221 'Test case argument list variations. … … 307 263 current_timestamp.'; 308 264 309 310 265 COMMENT ON COLUMN TestCaseArgs.tsEffective IS 311 266 'When this row starts taking effect (inclusive).'; 312 267 313 314 268 COMMENT ON COLUMN TestCaseArgs.tsExpire IS 315 269 'When this row stops being tsEffective (exclusive).'; 316 270 317 318 271 COMMENT ON COLUMN TestCaseArgs.uidAuthor IS 319 272 'The user id of the one who created/modified this entry. 320 273 Non-unique foreign key: Users(uid)'; 321 322 274 323 275 COMMENT ON COLUMN TestCaseArgs.sArgs IS … … 327 279 the content of the Builds(sBinaries) field.'; 328 280 329 330 281 COMMENT ON COLUMN TestCaseArgs.cSecTimeout IS 331 282 'Optional test case timeout given in seconds. 332 283 If NULL, the TestCases.cSecTimeout field is used instead.'; 333 334 284 335 285 COMMENT ON COLUMN TestCaseArgs.sTestBoxReqExpr IS … … 338 288 as in that table. This is checked after first checking the requirements 339 289 in the TestCases.sTestBoxReqExpr field.'; 340 341 290 342 291 COMMENT ON COLUMN TestCaseArgs.sBuildReqExpr IS … … 347 296 TestCases.sBuildReqExpr field.'; 348 297 349 350 298 COMMENT ON COLUMN TestCaseArgs.cGangMembers IS 351 299 'Number of testboxes required (gang scheduling).'; 352 300 353 354 301 COMMENT ON COLUMN TestCaseArgs.sSubName IS 355 302 'Optional variation sub-name.'; 356 357 303 358 304 COMMENT ON INDEX TestCaseArgsLookupIdx IS … … 363 309 reconfigured with more/less permutations.'; 364 310 365 366 311 COMMENT ON TABLE TestCaseDeps IS 367 312 'Test case dependencies (N:M) … … 380 325 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 381 326 382 383 327 COMMENT ON COLUMN TestCaseDeps.tsEffective IS 384 328 'When this row starts taking effect (inclusive).'; 385 329 386 387 330 COMMENT ON COLUMN TestCaseDeps.tsExpire IS 388 331 'When this row stops being tsEffective (exclusive).'; 389 332 390 391 333 COMMENT ON COLUMN TestCaseDeps.uidAuthor IS 392 334 'The user id of the one who created/modified this entry. 393 335 Non-unique foreign key: Users(uid)'; 394 395 336 396 337 COMMENT ON TABLE TestCaseGlobalRsrcDeps IS … … 402 343 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 403 344 404 405 345 COMMENT ON COLUMN TestCaseGlobalRsrcDeps.tsEffective IS 406 346 'When this row starts taking effect (inclusive).'; 407 347 408 409 348 COMMENT ON COLUMN TestCaseGlobalRsrcDeps.tsExpire IS 410 349 'When this row stops being tsEffective (exclusive).'; 411 350 412 413 351 COMMENT ON COLUMN TestCaseGlobalRsrcDeps.uidAuthor IS 414 352 'The user id of the one who created/modified this entry. 415 353 Non-unique foreign key: Users(uid)'; 416 417 354 418 355 COMMENT ON TABLE TestGroups IS … … 431 368 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 432 369 433 434 370 COMMENT ON COLUMN TestGroups.tsEffective IS 435 371 'When this row starts taking effect (inclusive).'; 436 372 437 438 373 COMMENT ON COLUMN TestGroups.tsExpire IS 439 374 'When this row stops being tsEffective (exclusive).'; 440 375 441 442 376 COMMENT ON COLUMN TestGroups.uidAuthor IS 443 377 'The user id of the one who created/modified this entry. 444 378 Non-unique foreign key: Users(uid)'; 445 446 379 447 380 COMMENT ON COLUMN TestGroups.sName IS 448 381 'The name of the scheduling group.'; 449 382 450 451 383 COMMENT ON COLUMN TestGroups.sDescription IS 452 384 'Optional group description.'; 453 385 454 455 386 COMMENT ON TABLE TestGroupMembers IS 456 387 'The N:M relationship between test case configurations and test groups. … … 461 392 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 462 393 463 464 394 COMMENT ON COLUMN TestGroupMembers.tsEffective IS 465 395 'When this row starts taking effect (inclusive).'; 466 396 467 468 397 COMMENT ON COLUMN TestGroupMembers.tsExpire IS 469 398 'When this row stops being tsEffective (exclusive).'; 470 399 471 472 400 COMMENT ON COLUMN TestGroupMembers.uidAuthor IS 473 401 'The user id of the one who created/modified this entry. 474 402 Non-unique foreign key: Users(uid)'; 475 476 403 477 404 COMMENT ON COLUMN TestGroupMembers.iSchedPriority IS … … 481 408 @todo Not sure we want to keep this...'; 482 409 483 484 410 COMMENT ON TABLE SchedGroups IS 485 411 'Scheduling group (aka. testbox partitioning) configuration. … … 505 431 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 506 432 507 508 433 COMMENT ON COLUMN SchedGroups.tsEffective IS 509 434 'When this row starts taking effect (inclusive).'; 510 435 511 512 436 COMMENT ON COLUMN SchedGroups.tsExpire IS 513 437 'When this row stops being tsEffective (exclusive).'; 514 515 438 516 439 COMMENT ON COLUMN SchedGroups.uidAuthor IS … … 519 442 @note This is NULL for the default group.'; 520 443 521 522 444 COMMENT ON COLUMN SchedGroups.sName IS 523 445 'The name of the scheduling group.'; 524 446 525 526 447 COMMENT ON COLUMN SchedGroups.sDescription IS 527 448 'Optional group description.'; 528 449 529 530 450 COMMENT ON COLUMN SchedGroups.fEnabled IS 531 451 'Indicates whether this group is currently enabled.'; 532 533 452 534 453 COMMENT ON COLUMN SchedGroups.enmScheduler IS … … 537 456 effort stuff provided by the initial implementation.'; 538 457 539 540 458 COMMENT ON COLUMN SchedGroups.sComment IS 541 459 'The Validation Kit build source (@VALIDATIONKIT_ZIP@). 542 460 Non-unique foreign key: BuildSources(idBuildSrc)'; 543 544 461 545 462 COMMENT ON TABLE SchedGroupMembers IS … … 559 476 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 560 477 561 562 478 COMMENT ON COLUMN SchedGroupMembers.tsEffective IS 563 479 'When this row starts taking effect (inclusive).'; 564 480 565 566 481 COMMENT ON COLUMN SchedGroupMembers.tsExpire IS 567 482 'When this row stops being tsEffective (exclusive).'; 568 483 569 570 484 COMMENT ON COLUMN SchedGroupMembers.uidAuthor IS 571 485 'The user id of the one who created/modified this entry. 572 486 Non-unique foreign key: Users(uid)'; 573 574 487 575 488 COMMENT ON COLUMN SchedGroupMembers.iSchedPriority IS … … 577 490 Higher number causes the test case to be run more frequently. 578 491 @sa TestGroupMembers.iSchedPriority, TestBoxesInSchedGroups.iSchedPriority'; 579 580 492 581 493 COMMENT ON COLUMN SchedGroupMembers.bmHourlySchedule IS … … 584 496 Each bit in the bitstring represents one hour, with bit 0 indicating the 585 497 midnight hour on a monday.'; 586 587 498 588 499 COMMENT ON TABLE TestBoxStrTab IS … … 617 528 Average row cost strings: 5709824 / 1292 = 4420 bytes/row'; 618 529 619 620 530 COMMENT ON COLUMN TestBoxStrTab.sValue IS 621 531 'The string value.'; 622 532 623 624 533 COMMENT ON COLUMN TestBoxStrTab.tsCreated IS 625 534 'Creation time stamp.'; 626 535 627 628 536 COMMENT ON TYPE TestBoxCmd_T IS 629 537 'Testbox commands.'; 630 538 631 632 539 COMMENT ON TYPE LomKind_T IS 633 540 'The kind of lights out management on a testbox.'; 634 635 541 636 542 COMMENT ON TABLE TestBoxes IS … … 652 558 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 653 559 654 655 560 COMMENT ON COLUMN TestBoxes.tsEffective IS 656 561 'When this row starts taking effect (inclusive).'; 657 562 658 659 563 COMMENT ON COLUMN TestBoxes.tsExpire IS 660 564 'When this row stops being tsEffective (exclusive).'; 661 565 662 663 566 COMMENT ON COLUMN TestBoxes.uidAuthor IS 664 567 'The user id of the one who created/modified this entry. 665 568 When modified automatically by the testbox, NULL is used. 666 569 Non-unique foreign key: Users(uid)'; 667 668 570 669 571 COMMENT ON COLUMN TestBoxes.uuidSystem IS … … 673 575 establish its identity beyond doubt.'; 674 576 675 676 577 COMMENT ON COLUMN TestBoxes.sName IS 677 578 'The testbox name. 678 579 Usually similar to the DNS name.'; 679 680 580 681 581 COMMENT ON COLUMN TestBoxes.fEnabled IS … … 685 585 alternative to deleting the testbox.'; 686 586 687 688 587 COMMENT ON COLUMN TestBoxes.enmLomKind IS 689 588 'The kind of lights-out-management.'; 690 691 589 692 590 COMMENT ON COLUMN TestBoxes.lCpuRevision IS … … 695 593 (EffFamily << 24) | (EffModel << 8) | Stepping.'; 696 594 697 698 595 COMMENT ON COLUMN TestBoxes.cCpus IS 699 596 'Number of CPUs, CPU cores and CPU threads.'; 700 597 701 702 598 COMMENT ON COLUMN TestBoxes.fCpuHwVirt IS 703 599 'Set if capable of hardware virtualization.'; 704 600 705 706 601 COMMENT ON COLUMN TestBoxes.fCpuNestedPaging IS 707 602 'Set if capable of nested paging.'; 708 603 709 710 604 COMMENT ON COLUMN TestBoxes.fCpu64BitGuest IS 711 605 'Set if CPU capable of 64-bit (VBox) guests.'; 712 606 713 714 607 COMMENT ON COLUMN TestBoxes.fChipsetIoMmu IS 715 608 'Set if chipset with usable IOMMU (VT-d / AMD-Vi).'; 716 609 717 718 610 COMMENT ON COLUMN TestBoxes.fRawMode IS 719 611 'Set if the test box does raw-mode tests.'; 720 612 721 722 613 COMMENT ON COLUMN TestBoxes.cMbMemory IS 723 614 'The (approximate) memory size in megabytes (rounded down to nearest 4 MB).'; 724 615 725 726 616 COMMENT ON COLUMN TestBoxes.cMbScratch IS 727 617 'The amount of scratch space in megabytes (rounded down to nearest 64 MB).'; 728 729 618 730 619 COMMENT ON COLUMN TestBoxes.iTestBoxScriptRev IS … … 732 621 Probably good to have when scheduling upgrades as well for status purposes.'; 733 622 734 735 623 COMMENT ON COLUMN TestBoxes.iPythonHexVersion IS 736 624 'The python sys.hexversion (layed out as of 2.7). 737 625 Good to know which python versions we need to support.'; 738 626 739 740 627 COMMENT ON COLUMN TestBoxes.enmPendingCmd IS 741 628 'Pending command. 742 629 @note We put it here instead of in TestBoxStatuses to get history.'; 743 630 744 745 631 COMMENT ON INDEX TestBoxesUuidIdx IS 746 632 'Nested paging requires hardware virtualization.'; 747 633 748 749 634 COMMENT ON TABLE TestBoxesInSchedGroups IS 750 635 'N:M relationship between test boxes and scheduling groups. … … 757 642 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 758 643 759 760 644 COMMENT ON COLUMN TestBoxesInSchedGroups.tsEffective IS 761 645 'When this row starts taking effect (inclusive).'; 762 646 763 764 647 COMMENT ON COLUMN TestBoxesInSchedGroups.tsExpire IS 765 648 'When this row stops being tsEffective (exclusive).'; 766 649 767 768 650 COMMENT ON COLUMN TestBoxesInSchedGroups.uidAuthor IS 769 651 'The user id of the one who created/modified this entry. 770 652 Non-unique foreign key: Users(uid)'; 771 772 653 773 654 COMMENT ON COLUMN TestBoxesInSchedGroups.iSchedPriority IS … … 776 657 @sa TestGroupMembers.iSchedPriority, SchedGroups.iSchedPriority'; 777 658 778 779 659 COMMENT ON TABLE FailureCategories IS 780 660 'Failure categories. … … 787 667 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 788 668 789 790 669 COMMENT ON COLUMN FailureCategories.tsEffective IS 791 670 'When this row starts taking effect (inclusive).'; 792 671 793 794 672 COMMENT ON COLUMN FailureCategories.tsExpire IS 795 673 'When this row stops being tsEffective (exclusive).'; 796 674 797 798 675 COMMENT ON COLUMN FailureCategories.uidAuthor IS 799 676 'The user id of the one who created/modified this entry. 800 677 Non-unique foreign key: Users(uid)'; 801 802 678 803 679 COMMENT ON COLUMN FailureCategories.sShort IS … … 805 681 For combo boxes and other selection lists.'; 806 682 807 808 683 COMMENT ON COLUMN FailureCategories.sFull IS 809 684 'Full description 810 685 For cursor-over-poppups for instance.'; 811 812 686 813 687 COMMENT ON TABLE FailureReasons IS … … 824 698 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 825 699 826 827 700 COMMENT ON COLUMN FailureReasons.tsEffective IS 828 701 'When this row starts taking effect (inclusive).'; 829 702 830 831 703 COMMENT ON COLUMN FailureReasons.tsExpire IS 832 704 'When this row stops being tsEffective (exclusive).'; 833 705 834 835 706 COMMENT ON COLUMN FailureReasons.uidAuthor IS 836 707 'The user id of the one who created/modified this entry. 837 708 Non-unique foreign key: Users(uid)'; 838 839 709 840 710 COMMENT ON COLUMN FailureReasons.sShort IS … … 842 712 For combo boxes and other selection lists.'; 843 713 844 845 714 COMMENT ON COLUMN FailureReasons.sFull IS 846 715 'Full failure description.'; 847 716 848 849 717 COMMENT ON COLUMN FailureReasons.iTicket IS 850 718 'Ticket number in the primary bugtracker.'; 851 719 852 853 720 COMMENT ON COLUMN FailureReasons.asUrls IS 854 721 'Other URLs to reports or discussions of the observed symptoms.'; 855 722 856 857 723 COMMENT ON TABLE TestResultFailures IS 858 724 'This is for tracking/discussing test result failures. … … 866 732 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 867 733 868 869 734 COMMENT ON COLUMN TestResultFailures.tsEffective IS 870 735 'When this row starts taking effect (inclusive).'; 871 736 872 873 737 COMMENT ON COLUMN TestResultFailures.tsExpire IS 874 738 'When this row stops being tsEffective (exclusive).'; 875 739 876 877 740 COMMENT ON COLUMN TestResultFailures.uidAuthor IS 878 741 'The user id of the one who created/modified this entry. 879 742 Non-unique foreign key: Users(uid)'; 880 881 743 882 744 COMMENT ON COLUMN TestResultFailures.sComment IS 883 745 'Optional comment.'; 884 885 746 886 747 COMMENT ON TABLE BuildBlacklist IS … … 908 769 now, as it''s relatively easy to change this later one.'; 909 770 910 911 771 COMMENT ON COLUMN BuildBlacklist.tsEffective IS 912 772 'When this row starts taking effect (inclusive).'; 913 773 914 915 774 COMMENT ON COLUMN BuildBlacklist.tsExpire IS 916 775 'When this row stops being tsEffective (exclusive).'; 917 776 918 919 777 COMMENT ON COLUMN BuildBlacklist.uidAuthor IS 920 778 'The user id of the one who created/modified this entry. 921 779 Non-unique foreign key: Users(uid)'; 922 923 780 924 781 COMMENT ON COLUMN BuildBlacklist.sProduct IS … … 926 783 ASSUME that it is okay to limit a blacklisting to a single product.'; 927 784 928 929 785 COMMENT ON COLUMN BuildBlacklist.sBranch IS 930 786 'Which branch. 931 787 ASSUME that it is okay to limit a blacklisting to a branch.'; 932 788 933 934 789 COMMENT ON COLUMN BuildBlacklist.asTypes IS 935 790 'Build types to include, all matches if NULL.'; 936 937 791 938 792 COMMENT ON COLUMN BuildBlacklist.asOsArches IS … … 943 797 @remarks See marks on ''os-agnostic'' and ''noarch'' in BuildCategories.'; 944 798 945 946 799 COMMENT ON COLUMN BuildBlacklist.iFirstRevision IS 947 800 'The first subversion tree revision to blacklist.'; 948 801 949 950 802 COMMENT ON COLUMN BuildBlacklist.iLastRevision IS 951 803 'The last subversion tree revision to blacklist, no upper limit if NULL.'; 952 953 804 954 805 COMMENT ON TABLE BuildCategories IS … … 961 812 Insert only table, no update, no delete. History is not needed.'; 962 813 963 964 814 COMMENT ON COLUMN BuildCategories.sProduct IS 965 815 'Product. 966 816 The product name. For instance ''VBox'' or ''VBoxTestSuite''.'; 967 817 968 969 818 COMMENT ON COLUMN BuildCategories.sRepository IS 970 819 'The version control repository name.'; 971 820 972 973 821 COMMENT ON COLUMN BuildCategories.sBranch IS 974 822 'The branch name (in the version control system).'; 975 976 823 977 824 COMMENT ON COLUMN BuildCategories.sType IS 978 825 'The build type. 979 826 See KBUILD_BLD_TYPES in kBuild for a list of standard build types.'; 980 981 827 982 828 COMMENT ON COLUMN BuildCategories.asOsArches IS … … 993 839 @note The array shall be sorted ascendingly to prevent unnecessary duplicates!'; 994 840 995 996 841 COMMENT ON TABLE Builds IS 997 842 'The builds table contains builds from the tinderboxes and oaccasionally from … … 1016 861 tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.'; 1017 862 1018 1019 863 COMMENT ON COLUMN Builds.tsCreated IS 1020 864 'When this build was created or entered into the database. 1021 865 This remains unchanged'; 1022 866 1023 1024 867 COMMENT ON COLUMN Builds.tsEffective IS 1025 868 'When this row starts taking effect (inclusive).'; 1026 869 1027 1028 870 COMMENT ON COLUMN Builds.tsExpire IS 1029 871 'When this row stops being tsEffective (exclusive).'; 1030 1031 872 1032 873 COMMENT ON COLUMN Builds.uidAuthor IS … … 1035 876 @note This is NULL if added by a batch job / tinderbox.'; 1036 877 1037 1038 878 COMMENT ON COLUMN Builds.iRevision IS 1039 879 'The subversion tree revision of the build.'; 1040 880 1041 1042 881 COMMENT ON COLUMN Builds.sVersion IS 1043 882 'The product version number (suitable for RTStrVersionCompare).'; 1044 883 1045 1046 884 COMMENT ON COLUMN Builds.sLogUrl IS 1047 885 'The link to the tinderbox log of this build.'; 1048 1049 886 1050 887 COMMENT ON COLUMN Builds.sBinaries IS … … 1052 889 The binaries have paths relative to the TESTBOX_PATH_BUILDS or full URLs.'; 1053 890 1054 1055 891 COMMENT ON COLUMN Builds.fBinariesDeleted IS 1056 892 'Set when the binaries gets deleted by the build quota script.'; 1057 1058 893 1059 894 COMMENT ON TABLE VcsRevisions IS … … 1073 908 associate a commit to a branch.'; 1074 909 1075 1076 910 COMMENT ON COLUMN VcsRevisions.sRepository IS 1077 911 'The version control tree name.'; 1078 912 1079 1080 913 COMMENT ON COLUMN VcsRevisions.iRevision IS 1081 914 'The version control tree revision number.'; 1082 915 1083 1084 916 COMMENT ON COLUMN VcsRevisions.tsCreated IS 1085 917 'When the revision was created (committed).'; 1086 1087 918 1088 919 COMMENT ON COLUMN VcsRevisions.sAuthor IS … … 1090 921 @note Not to be confused with uidAuthor and test manager users.'; 1091 922 1092 1093 923 COMMENT ON COLUMN VcsRevisions.sMessage IS 1094 924 'The commit message.'; 1095 1096 925 1097 926 COMMENT ON TABLE TestResultStrTab IS … … 1109 938 @note Should use a stored procedure to query/insert a string.'; 1110 939 1111 1112 940 COMMENT ON COLUMN TestResultStrTab.sValue IS 1113 941 'The string value.'; 1114 942 1115 1116 943 COMMENT ON COLUMN TestResultStrTab.tsCreated IS 1117 944 'Creation time stamp.'; 1118 945 1119 1120 946 COMMENT ON TYPE TestStatus_T IS 1121 947 'The status of a test (set / result).'; 1122 1123 948 1124 949 COMMENT ON TABLE TestResults IS … … 1141 966 test set.'; 1142 967 1143 1144 968 COMMENT ON COLUMN TestResults.tsCreated IS 1145 969 'Creation time stamp. This may also be the timestamp of when the test started.'; 1146 1147 970 1148 971 COMMENT ON COLUMN TestResults.tsElapsed IS … … 1152 975 @todo maybe use a nanosecond field here, check with what'; 1153 976 1154 1155 977 COMMENT ON COLUMN TestResults.cErrors IS 1156 978 'The error count.'; 1157 979 1158 1159 980 COMMENT ON COLUMN TestResults.enmStatus IS 1160 981 'The test status.'; 1161 982 1162 1163 983 COMMENT ON COLUMN TestResults.iNestingDepth IS 1164 984 'Nesting depth.'; 1165 1166 985 1167 986 COMMENT ON TABLE TestResultValues IS … … 1174 993 This is an insert only table, no deletes, no updates.'; 1175 994 1176 1177 995 COMMENT ON COLUMN TestResultValues.tsCreated IS 1178 996 'Creation time stamp.'; 1179 997 1180 1181 998 COMMENT ON COLUMN TestResultValues.lValue IS 1182 999 'The value.'; 1183 1184 1000 1185 1001 COMMENT ON COLUMN TestResultValues.iUnit IS … … 1188 1004 with the other places we use unit (IPRT/testdriver/VMMDev).'; 1189 1005 1190 1191 1006 COMMENT ON TABLE TestResultFiles IS 1192 1007 'Test result files. … … 1201 1016 This is an insert only table, no deletes, no updates.'; 1202 1017 1203 1204 1018 COMMENT ON COLUMN TestResultFiles.tsCreated IS 1205 1019 'Creation time stamp.'; 1206 1207 1020 1208 1021 COMMENT ON INDEX TestResultFilesIdx IS … … 1213 1026 ''text/xml'''; 1214 1027 1215 1216 1028 COMMENT ON TABLE TestResultMsgs IS 1217 1029 'Test result message. … … 1225 1037 This is an insert only table, no deletes, no updates.'; 1226 1038 1227 1228 1039 COMMENT ON COLUMN TestResultMsgs.tsCreated IS 1229 1040 'Creation time stamp.'; 1230 1041 1231 1232 1042 COMMENT ON COLUMN TestResultMsgs.enmLevel IS 1233 1043 'The message level.'; 1234 1044 1235 1236 1045 COMMENT ON TABLE TestSets IS 1237 1046 'Test sets / Test case runs. … … 1242 1051 finding something more appropriate.'; 1243 1052 1244 1245 1053 COMMENT ON COLUMN TestSets.tsConfig IS 1246 1054 'The test config timestamp, used when reading test config.'; 1247 1248 1055 1249 1056 COMMENT ON COLUMN TestSets.tsCreated IS … … 1251 1058 idGenTestBox is valid at this point.'; 1252 1059 1253 1254 1060 COMMENT ON COLUMN TestSets.tsDone IS 1255 1061 'When this test completed, i.e. testing stopped. This should only be set once.'; 1256 1062 1257 1258 1063 COMMENT ON COLUMN TestSets.enmStatus IS 1259 1064 'The current status.'; 1260 1261 1065 1262 1066 COMMENT ON COLUMN TestSets.sBaseFilename IS … … 1276 1080 at some later point.'; 1277 1081 1278 1279 1082 COMMENT ON COLUMN TestSets.iGangMemberNo IS 1280 1083 'The gang member number number, 0 is the leader.'; 1281 1282 1084 1283 1085 COMMENT ON INDEX TestSetsGangIdx IS … … 1286 1088 gang members by WHERE idTestSetGangLeader = :id.'; 1287 1089 1288 1289 1090 COMMENT ON INDEX TestSetsDoneCreatedBuildCatIdx IS 1290 1091 'The TestSetsDoneCreatedBuildCatIdx is for testbox results, graph options and such.'; 1291 1092 1292 1293 1093 COMMENT ON INDEX TestSetsGraphBoxIdx IS 1294 1094 'For graphs.'; 1295 1095 1296 1297 1096 COMMENT ON TYPE TestBoxState_T IS 1298 1097 'TestBox state. … … 1300 1099 @todo Consider drawing a state diagram for this.'; 1301 1100 1302 1303 1101 COMMENT ON TABLE TestBoxStatuses IS 1304 1102 'Testbox status table. 1305 1103 1306 1104 History is not planned on this table.'; 1307 1308 1105 1309 1106 COMMENT ON COLUMN TestBoxStatuses.tsUpdated IS … … 1315 1112 scenario it won''t be updated until the gang is gathered or we time out.'; 1316 1113 1317 1318 1114 COMMENT ON COLUMN TestBoxStatuses.enmState IS 1319 1115 'The current state.'; 1320 1321 1116 1322 1117 COMMENT ON COLUMN TestBoxStatuses.iWorkItem IS … … 1324 1119 This is used to pick and prioritize between multiple scheduling groups.'; 1325 1120 1326 1327 1121 COMMENT ON TABLE GlobalResourceStatuses IS 1328 1122 'Global resource status, tracks which test set resources are allocated by. … … 1330 1124 History is not planned on this table.'; 1331 1125 1332 1333 1126 COMMENT ON COLUMN GlobalResourceStatuses.tsAllocated IS 1334 1127 'When the allocation took place.'; 1335 1336 1128 1337 1129 COMMENT ON TABLE SchedQueues IS … … 1364 1156 History is not planned on this table.'; 1365 1157 1366 1367 1158 COMMENT ON COLUMN SchedQueues.bmHourlySchedule IS 1368 1159 'The scheduling time constraints (see SchedGroupMembers.bmHourlySchedule).'; 1369 1370 1160 1371 1161 COMMENT ON COLUMN SchedQueues.tsConfig IS 1372 1162 'When the queue entry was created and for which config is valid. 1373 1163 This is the timestamp that should be used when reading config info.'; 1374 1375 1164 1376 1165 COMMENT ON COLUMN SchedQueues.tsLastScheduled IS … … 1380 1169 useful beyond introspection and non-unique foreign key hacking.'; 1381 1170 1382 1383 1171 COMMENT ON COLUMN SchedQueues.cMissingGangMembers IS 1384 1172 'The number of gang members still missing. … … 1390 1178 to figure out whether to remain in ''gather-gang''::TestBoxState_T.'; 1391 1179 1392 -
trunk/src/VBox/ValidationKit/testmanager/db/gen-sql-comments.py
r69778 r69781 71 71 def commitComment2(self, sSqlObj): 72 72 if self.sComment is not None and sSqlObj is not None: 73 print("COMMENT ON %s IS\n '%s';\n \n" % (sSqlObj, self.quoteSqlString(self.sComment.strip())));73 print("COMMENT ON %s IS\n '%s';\n" % (sSqlObj, self.quoteSqlString(self.sComment.strip()))); 74 74 self.resetComment(); 75 75 return True;
Note:
See TracChangeset
for help on using the changeset viewer.