VirtualBox

Ignore:
Timestamp:
Nov 20, 2017 6:41:33 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119185
Message:

gen-sql-comment.py: Another shot at output stuff that makes scm happy.

Location:
trunk/src/VBox/ValidationKit/testmanager/db
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/db/TestManagerDatabaseComments.pgsql

    r69778 r69781  
    2929  'When this was logged.';
    3030
    31 
    3231COMMENT ON COLUMN SystemLog.sEvent IS
    3332  'The event type.
     
    3534some enum type everytime we introduce a new event type.';
    3635
    37 
    3836COMMENT ON COLUMN SystemLog.sLogText IS
    3937  'The log text.';
    40 
    4138
    4239COMMENT ON TABLE Users IS
     
    5451         current_timestamp.';
    5552
    56 
    5753COMMENT ON COLUMN Users.tsEffective IS
    5854  'When this row starts taking effect (inclusive).';
    5955
    60 
    6156COMMENT ON COLUMN Users.tsExpire IS
    6257  'When this row stops being tsEffective (exclusive).';
    6358
    64 
    6559COMMENT ON COLUMN Users.uidAuthor IS
    6660  'The user id of the one who created/modified this entry.
    6761Non-unique foreign key: Users(uid)';
    68 
    6962
    7063COMMENT ON COLUMN Users.sUsername IS
    7164  'User name.';
    7265
    73 
    7466COMMENT ON COLUMN Users.sEmail IS
    7567  'The email address of the user.';
    7668
    77 
    7869COMMENT ON COLUMN Users.sFullName IS
    7970  'The full name.';
    8071
    81 
    8272COMMENT ON COLUMN Users.sLoginName IS
    8373  'The login name used by apache.';
    8474
    85 
    8675COMMENT ON COLUMN Users.fReadOnly IS
    8776  'Read access only.';
    8877
    89 
    9078COMMENT ON TABLE GlobalResources IS
    9179  'Global resource configuration.
     
    9785         current_timestamp.';
    9886
    99 
    10087COMMENT ON COLUMN GlobalResources.tsEffective IS
    10188  'When this row starts taking effect (inclusive).';
    10289
    103 
    10490COMMENT ON COLUMN GlobalResources.tsExpire IS
    10591  'When this row stops being tsEffective (exclusive).';
    10692
    107 
    10893COMMENT ON COLUMN GlobalResources.uidAuthor IS
    10994  'The user id of the one who created/modified this entry.
    11095Non-unique foreign key: Users(uid)';
    111 
    11296
    11397COMMENT ON COLUMN GlobalResources.sName IS
    11498  'The name of the resource.';
    11599
    116 
    117100COMMENT ON COLUMN GlobalResources.sDescription IS
    118101  'Optional resource description.';
    119102
    120 
    121103COMMENT ON COLUMN GlobalResources.fEnabled IS
    122104  'Indicates whether this resource is currently enabled (online).';
    123105
    124 
    125106COMMENT ON TABLE BuildSources IS
    126107  'Build sources.
     
    136117      join/whatever when searching for builds?';
    137118
    138 
    139119COMMENT ON COLUMN BuildSources.tsEffective IS
    140120  'When this row starts taking effect (inclusive).';
    141121
    142 
    143122COMMENT ON COLUMN BuildSources.tsExpire IS
    144123  'When this row stops being tsEffective (exclusive).';
    145124
    146 
    147125COMMENT ON COLUMN BuildSources.uidAuthor IS
    148126  'The user id of the one who created/modified this entry.
    149127Non-unique foreign key: Users(uid)';
    150 
    151128
    152129COMMENT ON COLUMN BuildSources.sName IS
    153130  'The name of the build source.';
    154131
    155 
    156132COMMENT ON COLUMN BuildSources.sDescription IS
    157133  'Description.';
    158 
    159134
    160135COMMENT ON COLUMN BuildSources.sProduct IS
     
    162137ASSUME that it is okay to limit a build source to a single product.';
    163138
    164 
    165139COMMENT ON COLUMN BuildSources.sBranch IS
    166140  'Which branch.
    167141ASSUME that it is okay to limit a build source to a branch.';
    168142
    169 
    170143COMMENT ON COLUMN BuildSources.asTypes IS
    171144  'Build types to include, all matches if NULL.
    172145@todo Weighting the types would be nice in a later version.';
    173 
    174146
    175147COMMENT ON COLUMN BuildSources.asOsArches IS
     
    180152@remarks See marks on ''os-agnostic'' and ''noarch'' in BuildCategories.';
    181153
    182 
    183154COMMENT ON COLUMN BuildSources.iFirstRevision IS
    184155  'The first subversion tree revision to match, no lower limit if NULL.';
    185156
    186 
    187157COMMENT ON COLUMN BuildSources.iLastRevision IS
    188158  'The last subversion tree revision to match, no upper limit if NULL.';
    189159
    190 
    191160COMMENT ON COLUMN BuildSources.cSecMaxAge IS
    192161  'The maximum age of the builds in seconds, unlimited if NULL.';
    193162
    194 
    195163COMMENT ON TABLE TestCases IS
    196164  'Test case configuration.
     
    200168         current_timestamp.';
    201169
    202 
    203170COMMENT ON COLUMN TestCases.tsEffective IS
    204171  'When this row starts taking effect (inclusive).';
    205172
    206 
    207173COMMENT ON COLUMN TestCases.tsExpire IS
    208174  'When this row stops being tsEffective (exclusive).';
    209175
    210 
    211176COMMENT ON COLUMN TestCases.uidAuthor IS
    212177  'The user id of the one who created/modified this entry.
    213178Non-unique foreign key: Users(uid)';
    214 
    215179
    216180COMMENT ON COLUMN TestCases.sName IS
    217181  'The name of the test case.';
    218182
    219 
    220183COMMENT ON COLUMN TestCases.sDescription IS
    221184  'Optional test case description.';
    222185
    223 
    224186COMMENT ON COLUMN TestCases.fEnabled IS
    225187  'Indicates whether this test case is currently enabled.';
    226188
    227 
    228189COMMENT ON COLUMN TestCases.cSecTimeout IS
    229190  'Default test case timeout given in seconds.';
    230 
    231191
    232192COMMENT ON COLUMN TestCases.sTestBoxReqExpr IS
     
    236196If NULL everything matches.';
    237197
    238 
    239198COMMENT ON COLUMN TestCases.sBuildReqExpr IS
    240199  'Default build requirement expression (python boolean expression).
     
    243202If NULL everything matches.';
    244203
    245 
    246204COMMENT ON COLUMN TestCases.sBaseCmd IS
    247205  'The base command.
     
    249207(IFS). References to @BUILD_BINARIES@ will be replaced WITH the content
    250208of the Builds(sBinaries) field.';
    251 
    252209
    253210COMMENT ON COLUMN TestCases.sTestSuiteZips IS
     
    261218@DOWNLOAD_BASE_URL@ prefix can be used to refer to this area.';
    262219
    263 
    264220COMMENT ON TABLE TestCaseArgs IS
    265221  'Test case argument list variations.
     
    307263         current_timestamp.';
    308264
    309 
    310265COMMENT ON COLUMN TestCaseArgs.tsEffective IS
    311266  'When this row starts taking effect (inclusive).';
    312267
    313 
    314268COMMENT ON COLUMN TestCaseArgs.tsExpire IS
    315269  'When this row stops being tsEffective (exclusive).';
    316270
    317 
    318271COMMENT ON COLUMN TestCaseArgs.uidAuthor IS
    319272  'The user id of the one who created/modified this entry.
    320273Non-unique foreign key: Users(uid)';
    321 
    322274
    323275COMMENT ON COLUMN TestCaseArgs.sArgs IS
     
    327279the content of the Builds(sBinaries) field.';
    328280
    329 
    330281COMMENT ON COLUMN TestCaseArgs.cSecTimeout IS
    331282  'Optional test case timeout given in seconds.
    332283If NULL, the TestCases.cSecTimeout field is used instead.';
    333 
    334284
    335285COMMENT ON COLUMN TestCaseArgs.sTestBoxReqExpr IS
     
    338288as in that table.  This is checked after first checking the requirements
    339289in the TestCases.sTestBoxReqExpr field.';
    340 
    341290
    342291COMMENT ON COLUMN TestCaseArgs.sBuildReqExpr IS
     
    347296TestCases.sBuildReqExpr field.';
    348297
    349 
    350298COMMENT ON COLUMN TestCaseArgs.cGangMembers IS
    351299  'Number of testboxes required (gang scheduling).';
    352300
    353 
    354301COMMENT ON COLUMN TestCaseArgs.sSubName IS
    355302  'Optional variation sub-name.';
    356 
    357303
    358304COMMENT ON INDEX TestCaseArgsLookupIdx IS
     
    363309reconfigured with more/less permutations.';
    364310
    365 
    366311COMMENT ON TABLE TestCaseDeps IS
    367312  'Test case dependencies (N:M)
     
    380325         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    381326
    382 
    383327COMMENT ON COLUMN TestCaseDeps.tsEffective IS
    384328  'When this row starts taking effect (inclusive).';
    385329
    386 
    387330COMMENT ON COLUMN TestCaseDeps.tsExpire IS
    388331  'When this row stops being tsEffective (exclusive).';
    389332
    390 
    391333COMMENT ON COLUMN TestCaseDeps.uidAuthor IS
    392334  'The user id of the one who created/modified this entry.
    393335Non-unique foreign key: Users(uid)';
    394 
    395336
    396337COMMENT ON TABLE TestCaseGlobalRsrcDeps IS
     
    402343         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    403344
    404 
    405345COMMENT ON COLUMN TestCaseGlobalRsrcDeps.tsEffective IS
    406346  'When this row starts taking effect (inclusive).';
    407347
    408 
    409348COMMENT ON COLUMN TestCaseGlobalRsrcDeps.tsExpire IS
    410349  'When this row stops being tsEffective (exclusive).';
    411350
    412 
    413351COMMENT ON COLUMN TestCaseGlobalRsrcDeps.uidAuthor IS
    414352  'The user id of the one who created/modified this entry.
    415353Non-unique foreign key: Users(uid)';
    416 
    417354
    418355COMMENT ON TABLE TestGroups IS
     
    431368         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    432369
    433 
    434370COMMENT ON COLUMN TestGroups.tsEffective IS
    435371  'When this row starts taking effect (inclusive).';
    436372
    437 
    438373COMMENT ON COLUMN TestGroups.tsExpire IS
    439374  'When this row stops being tsEffective (exclusive).';
    440375
    441 
    442376COMMENT ON COLUMN TestGroups.uidAuthor IS
    443377  'The user id of the one who created/modified this entry.
    444378Non-unique foreign key: Users(uid)';
    445 
    446379
    447380COMMENT ON COLUMN TestGroups.sName IS
    448381  'The name of the scheduling group.';
    449382
    450 
    451383COMMENT ON COLUMN TestGroups.sDescription IS
    452384  'Optional group description.';
    453385
    454 
    455386COMMENT ON TABLE TestGroupMembers IS
    456387  'The N:M relationship between test case configurations and test groups.
     
    461392         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    462393
    463 
    464394COMMENT ON COLUMN TestGroupMembers.tsEffective IS
    465395  'When this row starts taking effect (inclusive).';
    466396
    467 
    468397COMMENT ON COLUMN TestGroupMembers.tsExpire IS
    469398  'When this row stops being tsEffective (exclusive).';
    470399
    471 
    472400COMMENT ON COLUMN TestGroupMembers.uidAuthor IS
    473401  'The user id of the one who created/modified this entry.
    474402Non-unique foreign key: Users(uid)';
    475 
    476403
    477404COMMENT ON COLUMN TestGroupMembers.iSchedPriority IS
     
    481408@todo Not sure we want to keep this...';
    482409
    483 
    484410COMMENT ON TABLE SchedGroups IS
    485411  'Scheduling group (aka. testbox partitioning) configuration.
     
    505431         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    506432
    507 
    508433COMMENT ON COLUMN SchedGroups.tsEffective IS
    509434  'When this row starts taking effect (inclusive).';
    510435
    511 
    512436COMMENT ON COLUMN SchedGroups.tsExpire IS
    513437  'When this row stops being tsEffective (exclusive).';
    514 
    515438
    516439COMMENT ON COLUMN SchedGroups.uidAuthor IS
     
    519442@note This is NULL for the default group.';
    520443
    521 
    522444COMMENT ON COLUMN SchedGroups.sName IS
    523445  'The name of the scheduling group.';
    524446
    525 
    526447COMMENT ON COLUMN SchedGroups.sDescription IS
    527448  'Optional group description.';
    528449
    529 
    530450COMMENT ON COLUMN SchedGroups.fEnabled IS
    531451  'Indicates whether this group is currently enabled.';
    532 
    533452
    534453COMMENT ON COLUMN SchedGroups.enmScheduler IS
     
    537456effort stuff provided by the initial implementation.';
    538457
    539 
    540458COMMENT ON COLUMN SchedGroups.sComment IS
    541459  'The Validation Kit build source (@VALIDATIONKIT_ZIP@).
    542460Non-unique foreign key: BuildSources(idBuildSrc)';
    543 
    544461
    545462COMMENT ON TABLE SchedGroupMembers IS
     
    559476         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    560477
    561 
    562478COMMENT ON COLUMN SchedGroupMembers.tsEffective IS
    563479  'When this row starts taking effect (inclusive).';
    564480
    565 
    566481COMMENT ON COLUMN SchedGroupMembers.tsExpire IS
    567482  'When this row stops being tsEffective (exclusive).';
    568483
    569 
    570484COMMENT ON COLUMN SchedGroupMembers.uidAuthor IS
    571485  'The user id of the one who created/modified this entry.
    572486Non-unique foreign key: Users(uid)';
    573 
    574487
    575488COMMENT ON COLUMN SchedGroupMembers.iSchedPriority IS
     
    577490Higher number causes the test case to be run more frequently.
    578491@sa TestGroupMembers.iSchedPriority, TestBoxesInSchedGroups.iSchedPriority';
    579 
    580492
    581493COMMENT ON COLUMN SchedGroupMembers.bmHourlySchedule IS
     
    584496Each bit in the bitstring represents one hour, with bit 0 indicating the
    585497midnight hour on a monday.';
    586 
    587498
    588499COMMENT ON TABLE TestBoxStrTab IS
     
    617528     Average row cost strings:       5709824 / 1292 =      4420 bytes/row';
    618529
    619 
    620530COMMENT ON COLUMN TestBoxStrTab.sValue IS
    621531  'The string value.';
    622532
    623 
    624533COMMENT ON COLUMN TestBoxStrTab.tsCreated IS
    625534  'Creation time stamp.';
    626535
    627 
    628536COMMENT ON TYPE TestBoxCmd_T IS
    629537  'Testbox commands.';
    630538
    631 
    632539COMMENT ON TYPE LomKind_T IS
    633540  'The kind of lights out management on a testbox.';
    634 
    635541
    636542COMMENT ON TABLE TestBoxes IS
     
    652558         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    653559
    654 
    655560COMMENT ON COLUMN TestBoxes.tsEffective IS
    656561  'When this row starts taking effect (inclusive).';
    657562
    658 
    659563COMMENT ON COLUMN TestBoxes.tsExpire IS
    660564  'When this row stops being tsEffective (exclusive).';
    661565
    662 
    663566COMMENT ON COLUMN TestBoxes.uidAuthor IS
    664567  'The user id of the one who created/modified this entry.
    665568When modified automatically by the testbox, NULL is used.
    666569Non-unique foreign key: Users(uid)';
    667 
    668570
    669571COMMENT ON COLUMN TestBoxes.uuidSystem IS
     
    673575establish its identity beyond doubt.';
    674576
    675 
    676577COMMENT ON COLUMN TestBoxes.sName IS
    677578  'The testbox name.
    678579Usually similar to the DNS name.';
    679 
    680580
    681581COMMENT ON COLUMN TestBoxes.fEnabled IS
     
    685585alternative to deleting the testbox.';
    686586
    687 
    688587COMMENT ON COLUMN TestBoxes.enmLomKind IS
    689588  'The kind of lights-out-management.';
    690 
    691589
    692590COMMENT ON COLUMN TestBoxes.lCpuRevision IS
     
    695593  (EffFamily << 24) | (EffModel << 8) | Stepping.';
    696594
    697 
    698595COMMENT ON COLUMN TestBoxes.cCpus IS
    699596  'Number of CPUs, CPU cores and CPU threads.';
    700597
    701 
    702598COMMENT ON COLUMN TestBoxes.fCpuHwVirt IS
    703599  'Set if capable of hardware virtualization.';
    704600
    705 
    706601COMMENT ON COLUMN TestBoxes.fCpuNestedPaging IS
    707602  'Set if capable of nested paging.';
    708603
    709 
    710604COMMENT ON COLUMN TestBoxes.fCpu64BitGuest IS
    711605  'Set if CPU capable of 64-bit (VBox) guests.';
    712606
    713 
    714607COMMENT ON COLUMN TestBoxes.fChipsetIoMmu IS
    715608  'Set if chipset with usable IOMMU (VT-d / AMD-Vi).';
    716609
    717 
    718610COMMENT ON COLUMN TestBoxes.fRawMode IS
    719611  'Set if the test box does raw-mode tests.';
    720612
    721 
    722613COMMENT ON COLUMN TestBoxes.cMbMemory IS
    723614  'The (approximate) memory size in megabytes (rounded down to nearest 4 MB).';
    724615
    725 
    726616COMMENT ON COLUMN TestBoxes.cMbScratch IS
    727617  'The amount of scratch space in megabytes (rounded down to nearest 64 MB).';
    728 
    729618
    730619COMMENT ON COLUMN TestBoxes.iTestBoxScriptRev IS
     
    732621Probably good to have when scheduling upgrades as well for status purposes.';
    733622
    734 
    735623COMMENT ON COLUMN TestBoxes.iPythonHexVersion IS
    736624  'The python sys.hexversion (layed out as of 2.7).
    737625Good to know which python versions we need to support.';
    738626
    739 
    740627COMMENT ON COLUMN TestBoxes.enmPendingCmd IS
    741628  'Pending command.
    742629@note We put it here instead of in TestBoxStatuses to get history.';
    743630
    744 
    745631COMMENT ON INDEX TestBoxesUuidIdx IS
    746632  'Nested paging requires hardware virtualization.';
    747633
    748 
    749634COMMENT ON TABLE TestBoxesInSchedGroups IS
    750635  'N:M relationship between test boxes and scheduling groups.
     
    757642         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    758643
    759 
    760644COMMENT ON COLUMN TestBoxesInSchedGroups.tsEffective IS
    761645  'When this row starts taking effect (inclusive).';
    762646
    763 
    764647COMMENT ON COLUMN TestBoxesInSchedGroups.tsExpire IS
    765648  'When this row stops being tsEffective (exclusive).';
    766649
    767 
    768650COMMENT ON COLUMN TestBoxesInSchedGroups.uidAuthor IS
    769651  'The user id of the one who created/modified this entry.
    770652Non-unique foreign key: Users(uid)';
    771 
    772653
    773654COMMENT ON COLUMN TestBoxesInSchedGroups.iSchedPriority IS
     
    776657@sa TestGroupMembers.iSchedPriority, SchedGroups.iSchedPriority';
    777658
    778 
    779659COMMENT ON TABLE FailureCategories IS
    780660  'Failure categories.
     
    787667         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    788668
    789 
    790669COMMENT ON COLUMN FailureCategories.tsEffective IS
    791670  'When this row starts taking effect (inclusive).';
    792671
    793 
    794672COMMENT ON COLUMN FailureCategories.tsExpire IS
    795673  'When this row stops being tsEffective (exclusive).';
    796674
    797 
    798675COMMENT ON COLUMN FailureCategories.uidAuthor IS
    799676  'The user id of the one who created/modified this entry.
    800677Non-unique foreign key: Users(uid)';
    801 
    802678
    803679COMMENT ON COLUMN FailureCategories.sShort IS
     
    805681For combo boxes and other selection lists.';
    806682
    807 
    808683COMMENT ON COLUMN FailureCategories.sFull IS
    809684  'Full description
    810685For cursor-over-poppups for instance.';
    811 
    812686
    813687COMMENT ON TABLE FailureReasons IS
     
    824698         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    825699
    826 
    827700COMMENT ON COLUMN FailureReasons.tsEffective IS
    828701  'When this row starts taking effect (inclusive).';
    829702
    830 
    831703COMMENT ON COLUMN FailureReasons.tsExpire IS
    832704  'When this row stops being tsEffective (exclusive).';
    833705
    834 
    835706COMMENT ON COLUMN FailureReasons.uidAuthor IS
    836707  'The user id of the one who created/modified this entry.
    837708Non-unique foreign key: Users(uid)';
    838 
    839709
    840710COMMENT ON COLUMN FailureReasons.sShort IS
     
    842712For combo boxes and other selection lists.';
    843713
    844 
    845714COMMENT ON COLUMN FailureReasons.sFull IS
    846715  'Full failure description.';
    847716
    848 
    849717COMMENT ON COLUMN FailureReasons.iTicket IS
    850718  'Ticket number in the primary bugtracker.';
    851719
    852 
    853720COMMENT ON COLUMN FailureReasons.asUrls IS
    854721  'Other URLs to reports or discussions of the observed symptoms.';
    855722
    856 
    857723COMMENT ON TABLE TestResultFailures IS
    858724  'This is for tracking/discussing test result failures.
     
    866732         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    867733
    868 
    869734COMMENT ON COLUMN TestResultFailures.tsEffective IS
    870735  'When this row starts taking effect (inclusive).';
    871736
    872 
    873737COMMENT ON COLUMN TestResultFailures.tsExpire IS
    874738  'When this row stops being tsEffective (exclusive).';
    875739
    876 
    877740COMMENT ON COLUMN TestResultFailures.uidAuthor IS
    878741  'The user id of the one who created/modified this entry.
    879742Non-unique foreign key: Users(uid)';
    880 
    881743
    882744COMMENT ON COLUMN TestResultFailures.sComment IS
    883745  'Optional comment.';
    884 
    885746
    886747COMMENT ON TABLE BuildBlacklist IS
     
    908769      now, as it''s relatively easy to change this later one.';
    909770
    910 
    911771COMMENT ON COLUMN BuildBlacklist.tsEffective IS
    912772  'When this row starts taking effect (inclusive).';
    913773
    914 
    915774COMMENT ON COLUMN BuildBlacklist.tsExpire IS
    916775  'When this row stops being tsEffective (exclusive).';
    917776
    918 
    919777COMMENT ON COLUMN BuildBlacklist.uidAuthor IS
    920778  'The user id of the one who created/modified this entry.
    921779Non-unique foreign key: Users(uid)';
    922 
    923780
    924781COMMENT ON COLUMN BuildBlacklist.sProduct IS
     
    926783ASSUME that it is okay to limit a blacklisting to a single product.';
    927784
    928 
    929785COMMENT ON COLUMN BuildBlacklist.sBranch IS
    930786  'Which branch.
    931787ASSUME that it is okay to limit a blacklisting to a branch.';
    932788
    933 
    934789COMMENT ON COLUMN BuildBlacklist.asTypes IS
    935790  'Build types to include, all matches if NULL.';
    936 
    937791
    938792COMMENT ON COLUMN BuildBlacklist.asOsArches IS
     
    943797@remarks See marks on ''os-agnostic'' and ''noarch'' in BuildCategories.';
    944798
    945 
    946799COMMENT ON COLUMN BuildBlacklist.iFirstRevision IS
    947800  'The first subversion tree revision to blacklist.';
    948801
    949 
    950802COMMENT ON COLUMN BuildBlacklist.iLastRevision IS
    951803  'The last subversion tree revision to blacklist, no upper limit if NULL.';
    952 
    953804
    954805COMMENT ON TABLE BuildCategories IS
     
    961812Insert only table, no update, no delete.  History is not needed.';
    962813
    963 
    964814COMMENT ON COLUMN BuildCategories.sProduct IS
    965815  'Product.
    966816The product name.  For instance ''VBox'' or ''VBoxTestSuite''.';
    967817
    968 
    969818COMMENT ON COLUMN BuildCategories.sRepository IS
    970819  'The version control repository name.';
    971820
    972 
    973821COMMENT ON COLUMN BuildCategories.sBranch IS
    974822  'The branch name (in the version control system).';
    975 
    976823
    977824COMMENT ON COLUMN BuildCategories.sType IS
    978825  'The build type.
    979826See KBUILD_BLD_TYPES in kBuild for a list of standard build types.';
    980 
    981827
    982828COMMENT ON COLUMN BuildCategories.asOsArches IS
     
    993839@note    The array shall be sorted ascendingly to prevent unnecessary duplicates!';
    994840
    995 
    996841COMMENT ON TABLE Builds IS
    997842  'The builds table contains builds from the tinderboxes and oaccasionally from
     
    1016861         tsExpire = TIMESTAMP WITH TIME ZONE ''infinity''.';
    1017862
    1018 
    1019863COMMENT ON COLUMN Builds.tsCreated IS
    1020864  'When this build was created or entered into the database.
    1021865This remains unchanged';
    1022866
    1023 
    1024867COMMENT ON COLUMN Builds.tsEffective IS
    1025868  'When this row starts taking effect (inclusive).';
    1026869
    1027 
    1028870COMMENT ON COLUMN Builds.tsExpire IS
    1029871  'When this row stops being tsEffective (exclusive).';
    1030 
    1031872
    1032873COMMENT ON COLUMN Builds.uidAuthor IS
     
    1035876@note This is NULL if added by a batch job / tinderbox.';
    1036877
    1037 
    1038878COMMENT ON COLUMN Builds.iRevision IS
    1039879  'The subversion tree revision of the build.';
    1040880
    1041 
    1042881COMMENT ON COLUMN Builds.sVersion IS
    1043882  'The product version number (suitable for RTStrVersionCompare).';
    1044883
    1045 
    1046884COMMENT ON COLUMN Builds.sLogUrl IS
    1047885  'The link to the tinderbox log of this build.';
    1048 
    1049886
    1050887COMMENT ON COLUMN Builds.sBinaries IS
     
    1052889The binaries have paths relative to the TESTBOX_PATH_BUILDS or full URLs.';
    1053890
    1054 
    1055891COMMENT ON COLUMN Builds.fBinariesDeleted IS
    1056892  'Set when the binaries gets deleted by the build quota script.';
    1057 
    1058893
    1059894COMMENT ON TABLE VcsRevisions IS
     
    1073908      associate a commit to a branch.';
    1074909
    1075 
    1076910COMMENT ON COLUMN VcsRevisions.sRepository IS
    1077911  'The version control tree name.';
    1078912
    1079 
    1080913COMMENT ON COLUMN VcsRevisions.iRevision IS
    1081914  'The version control tree revision number.';
    1082915
    1083 
    1084916COMMENT ON COLUMN VcsRevisions.tsCreated IS
    1085917  'When the revision was created (committed).';
    1086 
    1087918
    1088919COMMENT ON COLUMN VcsRevisions.sAuthor IS
     
    1090921@note Not to be confused with uidAuthor and test manager users.';
    1091922
    1092 
    1093923COMMENT ON COLUMN VcsRevisions.sMessage IS
    1094924  'The commit message.';
    1095 
    1096925
    1097926COMMENT ON TABLE TestResultStrTab IS
     
    1109938@note Should use a stored procedure to query/insert a string.';
    1110939
    1111 
    1112940COMMENT ON COLUMN TestResultStrTab.sValue IS
    1113941  'The string value.';
    1114942
    1115 
    1116943COMMENT ON COLUMN TestResultStrTab.tsCreated IS
    1117944  'Creation time stamp.';
    1118945
    1119 
    1120946COMMENT ON TYPE TestStatus_T IS
    1121947  'The status of a test (set / result).';
    1122 
    1123948
    1124949COMMENT ON TABLE TestResults IS
     
    1141966         test set.';
    1142967
    1143 
    1144968COMMENT ON COLUMN TestResults.tsCreated IS
    1145969  'Creation time stamp.  This may also be the timestamp of when the test started.';
    1146 
    1147970
    1148971COMMENT ON COLUMN TestResults.tsElapsed IS
     
    1152975@todo maybe use a nanosecond field here, check with what';
    1153976
    1154 
    1155977COMMENT ON COLUMN TestResults.cErrors IS
    1156978  'The error count.';
    1157979
    1158 
    1159980COMMENT ON COLUMN TestResults.enmStatus IS
    1160981  'The test status.';
    1161982
    1162 
    1163983COMMENT ON COLUMN TestResults.iNestingDepth IS
    1164984  'Nesting depth.';
    1165 
    1166985
    1167986COMMENT ON TABLE TestResultValues IS
     
    1174993This is an insert only table, no deletes, no updates.';
    1175994
    1176 
    1177995COMMENT ON COLUMN TestResultValues.tsCreated IS
    1178996  'Creation time stamp.';
    1179997
    1180 
    1181998COMMENT ON COLUMN TestResultValues.lValue IS
    1182999  'The value.';
    1183 
    11841000
    11851001COMMENT ON COLUMN TestResultValues.iUnit IS
     
    11881004      with the other places we use unit (IPRT/testdriver/VMMDev).';
    11891005
    1190 
    11911006COMMENT ON TABLE TestResultFiles IS
    11921007  'Test result files.
     
    12011016This is an insert only table, no deletes, no updates.';
    12021017
    1203 
    12041018COMMENT ON COLUMN TestResultFiles.tsCreated IS
    12051019  'Creation time stamp.';
    1206 
    12071020
    12081021COMMENT ON INDEX TestResultFilesIdx IS
     
    12131026              ''text/xml''';
    12141027
    1215 
    12161028COMMENT ON TABLE TestResultMsgs IS
    12171029  'Test result message.
     
    12251037This is an insert only table, no deletes, no updates.';
    12261038
    1227 
    12281039COMMENT ON COLUMN TestResultMsgs.tsCreated IS
    12291040  'Creation time stamp.';
    12301041
    1231 
    12321042COMMENT ON COLUMN TestResultMsgs.enmLevel IS
    12331043  'The message level.';
    12341044
    1235 
    12361045COMMENT ON TABLE TestSets IS
    12371046  'Test sets / Test case runs.
     
    12421051      finding something more appropriate.';
    12431052
    1244 
    12451053COMMENT ON COLUMN TestSets.tsConfig IS
    12461054  'The test config timestamp, used when reading test config.';
    1247 
    12481055
    12491056COMMENT ON COLUMN TestSets.tsCreated IS
     
    12511058idGenTestBox is valid at this point.';
    12521059
    1253 
    12541060COMMENT ON COLUMN TestSets.tsDone IS
    12551061  'When this test completed, i.e. testing stopped.  This should only be set once.';
    12561062
    1257 
    12581063COMMENT ON COLUMN TestSets.enmStatus IS
    12591064  'The current status.';
    1260 
    12611065
    12621066COMMENT ON COLUMN TestSets.sBaseFilename IS
     
    12761080         at some later point.';
    12771081
    1278 
    12791082COMMENT ON COLUMN TestSets.iGangMemberNo IS
    12801083  'The gang member number number, 0 is the leader.';
    1281 
    12821084
    12831085COMMENT ON INDEX TestSetsGangIdx IS
     
    12861088      gang members by WHERE idTestSetGangLeader = :id.';
    12871089
    1288 
    12891090COMMENT ON INDEX TestSetsDoneCreatedBuildCatIdx IS
    12901091  'The TestSetsDoneCreatedBuildCatIdx is for testbox results, graph options and such.';
    12911092
    1292 
    12931093COMMENT ON INDEX TestSetsGraphBoxIdx IS
    12941094  'For graphs.';
    12951095
    1296 
    12971096COMMENT ON TYPE TestBoxState_T IS
    12981097  'TestBox state.
     
    13001099@todo Consider drawing a state diagram for this.';
    13011100
    1302 
    13031101COMMENT ON TABLE TestBoxStatuses IS
    13041102  'Testbox status table.
    13051103
    13061104History is not planned on this table.';
    1307 
    13081105
    13091106COMMENT ON COLUMN TestBoxStatuses.tsUpdated IS
     
    13151112scenario it won''t be updated until the gang is gathered or we time out.';
    13161113
    1317 
    13181114COMMENT ON COLUMN TestBoxStatuses.enmState IS
    13191115  'The current state.';
    1320 
    13211116
    13221117COMMENT ON COLUMN TestBoxStatuses.iWorkItem IS
     
    13241119This is used to pick and prioritize between multiple scheduling groups.';
    13251120
    1326 
    13271121COMMENT ON TABLE GlobalResourceStatuses IS
    13281122  'Global resource status, tracks which test set resources are allocated by.
     
    13301124History is not planned on this table.';
    13311125
    1332 
    13331126COMMENT ON COLUMN GlobalResourceStatuses.tsAllocated IS
    13341127  'When the allocation took place.';
    1335 
    13361128
    13371129COMMENT ON TABLE SchedQueues IS
     
    13641156History is not planned on this table.';
    13651157
    1366 
    13671158COMMENT ON COLUMN SchedQueues.bmHourlySchedule IS
    13681159  'The scheduling time constraints (see SchedGroupMembers.bmHourlySchedule).';
    1369 
    13701160
    13711161COMMENT ON COLUMN SchedQueues.tsConfig IS
    13721162  'When the queue entry was created and for which config is valid.
    13731163This is the timestamp that should be used when reading config info.';
    1374 
    13751164
    13761165COMMENT ON COLUMN SchedQueues.tsLastScheduled IS
     
    13801169useful beyond introspection and non-unique foreign key hacking.';
    13811170
    1382 
    13831171COMMENT ON COLUMN SchedQueues.cMissingGangMembers IS
    13841172  'The number of gang members still missing.
     
    13901178to figure out whether to remain in ''gather-gang''::TestBoxState_T.';
    13911179
    1392 
  • trunk/src/VBox/ValidationKit/testmanager/db/gen-sql-comments.py

    r69778 r69781  
    7171    def commitComment2(self, sSqlObj):
    7272        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())));
    7474        self.resetComment();
    7575        return True;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette