-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathschema_remarks.py
6981 lines (6932 loc) · 252 KB
/
schema_remarks.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Perforce Defect Tracking Integration Project
# <http://www.ravenbrook.com/project/p4dti/>
#
# SCHEMA-REMARKS.PY -- REMARKS FOR BUGZILLA SCHEMA DOCUMENTATION
#
# Nick Barnes, Ravenbrook Limited, 2003-07-07
#
#
# 1. INTRODUCTION
#
# This module contains data structures holding remarks concerning
# the Bugzilla schema. These remarks are automatically included in the
# Bugzilla schema doc by the code in make_schema_doc.py.
#
# The intended readership is project developers.
#
# This document is not confidential.
import string
import re
# All the strings here are going to be passed to Python's % formatting
# operator, with a dictionary on the right-hand-side containing various
# strings which can therefore be automatically inserted.
#
# %(column-foo-bar)s turns into a link "foo.bar" to column bar of table foo.
#
# %(table-foo)s turns into a link "foo" to table foo.
#
# %(the-table-foo)s turns into "the foo table" where "foo" is a link
# to table foo.
#
# and some other special-case strings such as VERSION_STRING,
# VERSION_COLOUR, and so on.
# Bugzilla versions which we know about, in order.
version_order = [
'2.0',
'2.2',
'2.4',
'2.6',
'2.8',
'2.10',
'2.12',
'2.14',
'2.14.1',
'2.14.2',
'2.14.3',
'2.14.4',
'2.14.5',
'2.16rc1',
'2.16rc2',
'2.16',
'2.16.1',
'2.16.2',
'2.16.3',
'2.16.4',
'2.16.5',
'2.16.6',
'2.16.7',
'2.16.8',
'2.16.9',
'2.16.10',
'2.16.11',
'2.17.1',
'2.17.3',
'2.17.4',
'2.17.5',
'2.17.6',
'2.17.7',
'2.18rc1',
'2.18rc2',
'2.18rc3',
'2.18',
'2.18.1',
'2.18.2',
'2.18.3',
'2.18.4',
'2.18.5',
'2.18.6',
'2.19.1',
'2.19.2',
'2.19.3',
'2.20rc1',
'2.20rc2',
'2.20',
'2.20.1',
'2.20.2',
'2.20.3',
'2.20.4',
'2.20.5',
'2.20.6',
'2.20.7',
'2.21.1',
'2.22rc1',
'2.22',
'2.22.1',
'2.22.2',
'2.22.3',
'2.22.4',
'2.22.5',
'2.22.6',
'2.22.7',
'2.23.1',
'2.23.2',
'2.23.3',
'2.23.4',
'3.0rc1',
'3.0',
'3.0.1',
'3.0.2',
'3.0.3',
'3.0.4',
'3.0.5',
'3.0.6',
'3.0.7',
'3.0.8',
'3.0.9',
'3.0.10',
'3.0.11',
'3.1.1',
'3.1.2',
'3.1.3',
'3.1.4',
'3.2rc1',
'3.2rc2',
'3.2',
'3.2.1',
'3.2.2',
'3.2.3',
'3.2.4',
'3.2.5',
'3.2.6',
'3.2.7',
'3.2.8',
'3.2.9',
'3.2.10',
'3.3.1',
'3.3.2',
'3.3.3',
'3.3.4',
'3.4rc1',
'3.4',
'3.4.1',
'3.4.2',
'3.4.3',
'3.4.4',
'3.4.5',
'3.4.6',
'3.4.7',
'3.4.8',
'3.4.9',
'3.4.10',
'3.4.11',
'3.4.12',
'3.4.13',
'3.4.14',
'3.5.1',
'3.5.2',
'3.5.3',
'3.6rc1',
'3.6',
'3.6.1',
'3.6.2',
'3.6.3',
'3.6.4',
'3.6.5',
'3.6.6',
'3.6.7',
'3.6.8',
'3.6.9',
'3.6.10',
'3.6.11',
'3.6.12',
'3.6.13',
'3.7.1',
'3.7.2',
'3.7.3',
'4.0rc1',
'4.0rc2',
'4.0',
'4.0.1',
'4.0.2',
'4.0.3',
'4.0.4',
'4.0.5',
'4.0.6',
'4.0.7',
'4.0.8',
'4.0.9',
'4.0.10',
'4.0.11',
'4.0.12',
'4.0.13',
'4.0.14',
'4.0.15',
'4.0.16',
'4.0.17',
'4.0.18',
'4.1.1',
'4.1.2',
'4.1.3',
'4.2rc1',
'4.2rc2',
'4.2',
'4.2.1',
'4.2.2',
'4.2.3',
'4.2.4',
'4.2.5',
'4.2.6',
'4.2.7',
'4.2.8',
'4.2.9',
'4.2.10',
'4.2.11',
'4.2.12',
'4.2.13',
'4.2.14',
'4.2.15',
'4.2.16',
'4.3.1',
'4.3.2',
'4.3.3',
'4.4rc1',
'4.4rc2',
'4.4',
'4.4.1',
'4.4.2',
'4.4.3',
'4.4.4',
'4.4.5',
'4.4.6',
'4.4.7',
'4.4.8',
'4.4.9',
'4.4.10',
'4.4.11',
'4.4.12',
'4.4.13',
'4.4.14',
'4.5.1',
'4.5.2',
'4.5.3',
'4.5.4',
'4.5.5',
'4.5.6',
'5.0rc1',
'5.0rc2',
'5.0rc3',
'5.0',
'5.0.1',
'5.0.2',
'5.0.3',
'5.0.4',
'5.0.4.1',
'5.0.5',
'5.0.6',
'5.2',
'5.1.1',
'5.1.2',
'5.3.3',
'5.9.1',
]
default_first_version = '5.0'
default_last_version = '5.2'
# Bugzilla schema versions. A map from Bugzilla version to
# the version which introduces the schema used in that version.
version_schema_map = {
'2.0': '2.0',
'2.2': '2.2',
'2.4': '2.4',
'2.6': '2.6',
'2.8': '2.8',
'2.10': '2.10',
'2.12': '2.12',
'2.14': '2.14',
'2.14.1': '2.14',
'2.14.2': '2.14.2',
'2.14.3': '2.14.2',
'2.14.4': '2.14.2',
'2.14.5': '2.14.2',
'2.16rc1': '2.16',
'2.16rc2': '2.16',
'2.16': '2.16',
'2.16.1': '2.16',
'2.16.2': '2.16',
'2.16.3': '2.16',
'2.16.4': '2.16',
'2.16.5': '2.16',
'2.16.6': '2.16',
'2.16.7': '2.16',
'2.16.8': '2.16',
'2.16.9': '2.16',
'2.16.10': '2.16',
'2.16.11': '2.16',
'2.17.1': '2.17.1',
'2.17.3': '2.17.3',
'2.17.4': '2.17.4',
'2.17.5': '2.17.5',
'2.17.6': '2.17.5',
'2.17.7': '2.17.7',
'2.18rc1': '2.18rc1',
'2.18rc2': '2.18rc1',
'2.18rc3': '2.18rc3',
'2.18': '2.18rc3',
'2.18.1': '2.18.1',
'2.18.2': '2.18.2',
'2.18.3': '2.18.2',
'2.18.4': '2.18.2',
'2.18.5': '2.18.2',
'2.18.6': '2.18.2',
'2.19.1': '2.19.1',
'2.19.2': '2.19.2',
'2.19.3': '2.19.3',
'2.20rc1': '2.20rc1',
'2.20rc2': '2.20rc2',
'2.20': '2.20rc2',
'2.20.1': '2.20rc2',
'2.20.2': '2.20rc2',
'2.20.3': '2.20rc2',
'2.20.4': '2.20rc2',
'2.20.5': '2.20rc2',
'2.20.6': '2.20rc2',
'2.20.7': '2.20rc2',
'2.21.1': '2.21.1',
'2.22rc1': '2.22rc1',
'2.22': '2.22rc1',
'2.22.1': '2.22rc1',
'2.22.2': '2.22rc1',
'2.22.3': '2.22rc1',
'2.22.4': '2.22rc1',
'2.22.5': '2.22rc1',
'2.22.6': '2.22rc1',
'2.22.7': '2.22rc1',
'2.23.1': '2.23.1',
'2.23.2': '2.23.2',
'2.23.3': '2.23.3',
'2.23.4': '2.23.4',
'3.0rc1': '2.23.4',
'3.0': '2.23.4',
'3.0.1': '2.23.4',
'3.0.2': '2.23.4',
'3.0.3': '2.23.4',
'3.0.4': '2.23.4',
'3.0.5': '2.23.4',
'3.0.6': '2.23.4',
'3.0.7': '2.23.4',
'3.0.8': '2.23.4',
'3.0.9': '2.23.4',
'3.0.10': '2.23.4',
'3.0.11': '2.23.4',
'3.1.1': '3.1.1',
'3.1.2': '3.1.2',
'3.1.3': '3.1.3',
'3.1.4': '3.1.4',
'3.2rc1': '3.1.4',
'3.2rc2': '3.1.4',
'3.2': '3.1.4',
'3.2.1': '3.1.4',
'3.2.2': '3.1.4',
'3.2.3': '3.1.4',
'3.2.4': '3.1.4',
'3.2.5': '3.1.4',
'3.2.6': '3.1.4',
'3.2.7': '3.1.4',
'3.2.8': '3.1.4',
'3.2.9': '3.1.4',
'3.2.10': '3.1.4',
'3.3.1': '3.3.1',
'3.3.2': '3.3.2',
'3.3.3': '3.3.2',
'3.3.4': '3.3.4',
'3.4rc1': '3.3.4',
'3.4': '3.3.4',
'3.4.1': '3.3.4',
'3.4.2': '3.3.4',
'3.4.3': '3.3.4',
'3.4.4': '3.3.4',
'3.4.5': '3.3.4',
'3.4.6': '3.3.4',
'3.4.7': '3.3.4',
'3.4.8': '3.3.4',
'3.4.9': '3.3.4',
'3.4.10': '3.3.4',
'3.4.11': '3.3.4',
'3.4.12': '3.3.4',
'3.4.13': '3.3.4',
'3.4.14': '3.3.4',
'3.5.1': '3.5.1',
'3.5.2': '3.5.1',
'3.5.3': '3.5.3',
'3.6rc1': '3.5.3',
'3.6': '3.5.3',
'3.6.1': '3.5.3',
'3.6.2': '3.5.3',
'3.6.3': '3.5.3',
'3.6.4': '3.5.3',
'3.6.5': '3.5.3',
'3.6.6': '3.5.3',
'3.6.7': '3.5.3',
'3.6.8': '3.5.3',
'3.6.9': '3.5.3',
'3.6.10': '3.5.3',
'3.6.11': '3.5.3',
'3.6.12': '3.5.3',
'3.6.13': '3.5.3',
'3.7.1': '3.7.1',
'3.7.2': '3.7.2',
'3.7.3': '3.7.2',
'4.0rc1': '4.0rc1',
'4.0rc2': '4.0rc1',
'4.0': '4.0rc1',
'4.0.1': '4.0rc1',
'4.0.2': '4.0rc1',
'4.0.3': '4.0rc1',
'4.0.4': '4.0rc1',
'4.0.5': '4.0rc1',
'4.0.6': '4.0rc1',
'4.0.7': '4.0rc1',
'4.0.8': '4.0rc1',
'4.0.9': '4.0rc1',
'4.0.10': '4.0rc1',
'4.0.11': '4.0rc1',
'4.0.12': '4.0rc1',
'4.0.13': '4.0rc1',
'4.0.14': '4.0rc1',
'4.0.15': '4.0rc1',
'4.0.16': '4.0rc1',
'4.0.17': '4.0rc1',
'4.0.18': '4.0rc1',
'4.1.1': '4.1.1',
'4.1.2': '4.1.1',
'4.1.3': '4.1.3',
'4.2rc1': '4.2rc1',
'4.2rc2': '4.2rc1',
'4.2': '4.2',
'4.2.1': '4.2.1',
'4.2.2': '4.2.1',
'4.2.3': '4.2.1',
'4.2.4': '4.2.1',
'4.2.5': '4.2.1',
'4.2.6': '4.2.1',
'4.2.7': '4.2.1',
'4.2.8': '4.2.1',
'4.2.9': '4.2.1',
'4.2.10': '4.2.1',
'4.2.11': '4.2.1',
'4.2.12': '4.2.1',
'4.2.13': '4.2.1',
'4.2.14': '4.2.1',
'4.2.15': '4.2.1',
'4.2.16': '4.2.1',
'4.3.1': '4.3.1',
'4.3.2': '4.3.2',
'4.3.3': '4.3.3',
'4.4rc1': '4.3.3',
'4.4rc2': '4.4rc2',
'4.4': '4.4rc2',
'4.4.1': '4.4rc2',
'4.4.2': '4.4rc2',
'4.4.3': '4.4rc2',
'4.4.4': '4.4rc2',
'4.4.5': '4.4rc2',
'4.4.6': '4.4rc2',
'4.4.7': '4.4rc2',
'4.4.8': '4.4rc2',
'4.4.9': '4.4rc2',
'4.4.10': '4.4rc2',
'4.4.11': '4.4rc2',
'4.4.12': '4.4rc2',
'4.4.13': '4.4rc2',
'4.4.14': '4.4rc2',
'4.5.1': '4.5.1',
'4.5.2': '4.5.2',
'4.5.3': '4.5.2',
'4.5.4': '4.5.2',
'4.5.5': '4.5.5',
'4.5.6': '4.5.6',
'5.0rc1': '5.0rc1',
'5.0rc2': '5.0rc1',
'5.0rc3': '5.0rc1',
'5.0': '5.0rc1',
'5.0.1': '5.0rc1',
'5.0.2': '5.0rc1',
'5.0.3': '5.0rc1',
'5.0.4': '5.0rc1',
'5.0.4.1': '5.0rc1',
'5.0.5': '5.0rc1',
'5.0.6': '5.0.6',
'5.2': '5.0.6',
'5.1.1': '5.1.1',
'5.1.2': '5.1.1',
'5.3.3': '5.1.1',
'5.9.1': '5.9.1',
}
version_remark = [
('2.0', '1998-09-19', ''),
('2.2', '1999-02-10', ''),
('2.4', '1999-04-30', ''),
('2.6', '1999-08-30', ''),
('2.8', '1999-11-19', ''),
('2.10', '2000-05-09', ''),
('2.12', '2001-04-27', ''),
('2.14', '2001-08-29', ''),
('2.14.1', '2002-01-05', 'A security patch release.'),
('2.16rc1', '2002-05-10', 'A release candidate.'),
('2.16rc2', '2002-06-07', 'A release candidate.'),
('2.14.2', '2002-06-07', 'A security patch release.'),
('2.16', '2002-07-28', ''),
('2.14.3', '2002-07-28', 'A security patch release.'),
('2.16.1', '2002-09-30', 'A security patch release.'),
('2.14.4', '2002-09-30', 'A security patch release.'),
('2.17.1', '2002-11-25', 'A development release.'),
('2.16.2', '2003-01-02', 'A security patch release.'),
('2.14.5', '2003-01-02', 'A security patch release.'),
('2.17.3', '2003-01-02', 'A development release.'),
('2.16.3', '2003-04-25', 'A security patch release.'),
('2.17.4', '2003-04-25', 'A development release.'),
('2.17.5', '2003-11-03', 'A development release.'),
('2.16.4', '2003-11-03', 'A security patch release'),
('2.17.6', '2003-11-10', 'A development release.'),
('2.16.5', '2004-03-03', 'A security patch release'),
('2.17.7', '2004-03-03', 'A development release.'),
('2.16.6', '2004-07-10', 'A security patch release'),
('2.18rc1', '2004-07-10', 'A release candidate.'),
('2.18rc2', '2004-07-28', 'A release candidate.'),
('2.16.7', '2004-10-24', 'A security patch release'),
('2.18rc3', '2004-10-24', 'A release candidate.'),
('2.19.1', '2004-10-24', 'A development release.'),
('2.16.8', '2005-01-15', 'A security patch release'),
('2.18', '2005-01-15', ''),
('2.19.2', '2005-01-15', 'A development release.'),
('2.16.9', '2005-05-12', 'A security patch release'),
('2.18.1', '2005-05-12', 'A security patch release'),
('2.19.3', '2005-05-12', 'A development release.'),
('2.16.10', '2005-05-19', 'A security patch release'),
('2.18.2', '2005-07-08', 'A security patch release'),
('2.20rc1', '2005-07-08', 'A release candidate'),
('2.18.3', '2005-07-09', 'A security patch release'),
('2.20rc2', '2005-08-08', 'A release candidate'),
('2.18.4', '2005-10-01', 'A security patch release'),
('2.20', '2005-10-01', ''),
('2.21.1', '2005-10-01', 'A development release.'),
('2.16.11', '2006-02-21', 'A security patch release'),
('2.18.5', '2006-02-21', 'A security patch release'),
('2.20.1', '2006-02-21', 'A security patch release'),
('2.22rc1', '2006-02-21', 'A release candidate'),
('2.20.2', '2006-04-23', 'A security patch release'),
('2.22', '2006-04-23', ''),
('2.23.1', '2006-04-23', 'A development release.'),
('2.23.2', '2006-07-09', 'A development release.'),
('2.18.6', '2006-10-15', 'A security patch release'),
('2.20.3', '2006-10-15', 'A security patch release'),
('2.22.1', '2006-10-15', 'A security patch release'),
('2.23.3', '2006-10-15', 'A development release'),
('2.20.4', '2007-02-02', 'A security patch release'),
('2.22.2', '2007-02-02', 'A security patch release'),
('2.23.4', '2007-02-02', 'A development release'),
('3.0rc1', '2007-02-26', 'A release candidate'),
('3.0', '2007-05-09', ''),
('2.20.5', '2007-08-23', 'A security patch release'),
('2.22.3', '2007-08-23', 'A security patch release'),
('3.0.1', '2007-08-23', 'A security patch release'),
('3.1.1', '2007-08-23', 'A development release'),
('3.0.2', '2007-09-19', 'A security patch release'),
('3.1.2', '2007-09-19', 'A development release'),
('3.0.3', '2008-01-09', 'A patch release'),
('3.1.3', '2008-02-02', 'A development release'),
('2.20.6', '2008-05-04', 'A security patch release'),
('2.22.4', '2008-05-04', 'A security patch release'),
('3.0.4', '2008-05-04', 'A security patch release'),
('3.1.4', '2008-05-04', 'A development release'),
('2.22.5', '2008-08-12', 'A security patch release'),
('3.0.5', '2008-08-12', 'A security patch release'),
('3.2rc1', '2008-08-12', 'A release candidate'),
('2.20.7', '2008-11-07', 'A security patch release'),
('2.22.6', '2008-11-07', 'A security patch release'),
('3.0.6', '2008-11-07', 'A security patch release'),
('3.2rc2', '2008-11-07', 'A release candidate'),
('3.2', '2008-11-30', ''),
('3.3.1', '2009-01-06', 'A development release'),
('2.22.7', '2009-02-03', 'A security patch release'),
('3.0.7', '2009-02-03', 'A security patch release'),
('3.2.1', '2009-02-03', 'A security patch release'),
('3.0.8', '2009-02-03', 'A security patch release'),
('3.2.2', '2009-02-03', 'A security patch release'),
('3.3.2', '2009-02-03', 'A development release'),
('3.3.3', '2009-02-03', 'A security patch reease'),
('3.2.3', '2009-03-31', 'A security patch release'),
('3.3.4', '2009-03-31', 'A development release'),
('3.2.4', '2009-07-08', 'A security patch release'),
('3.4rc1', '2009-07-08', 'A release candidate'),
('3.4', '2009-07-28', ''),
('3.4.1', '2009-08-01', 'A security patch release'),
('3.0.9', '2009-09-11', 'A security patch release'),
('3.2.5', '2009-09-11', 'A security patch release'),
('3.4.2', '2009-09-11', 'A security patch release'),
('3.0.10', '2009-11-05', 'A patch release'),
('3.4.3', '2009-11-05', 'A patch release'),
('3.5.1', '2009-11-05', 'A development release'),
('3.4.4', '2009-11-18', 'A security patch release'),
('3.5.2', '2009-11-18', 'A development release'),
('3.0.11', '2010-01-31', 'A security patch release'),
('3.2.6', '2010-01-31', 'A security patch release'),
('3.4.5', '2010-01-31', 'A security patch release'),
('3.5.3', '2010-01-31', 'A development release'),
('3.6rc1', '2010-03-08', 'A release candidate'),
('3.4.6', '2010-03-08', 'A patch release'),
('3.6', '2010-04-13', ''),
('3.2.7', '2010-06-24', 'A security patch release'),
('3.4.7', '2010-06-24', 'A security patch release'),
('3.6.1', '2010-06-24', 'A security patch release'),
('3.7.1', '2010-06-24', 'A development release'),
('3.7.2', '2010-07-05', 'A development release'),
('3.2.8', '2010-08-05', 'A security patch release'),
('3.4.8', '2010-08-05', 'A security patch release'),
('3.6.2', '2010-08-05', 'A security patch release'),
('3.7.3', '2010-08-05', 'A development release'),
('3.2.9', '2010-11-02', 'A security patch release'),
('3.4.9', '2010-11-02', 'A security patch release'),
('3.6.3', '2010-11-02', 'A security patch release'),
('4.0rc1', '2010-11-02', 'A release candidate'),
('3.2.10', '2011-01-24', 'A security patch release'),
('3.4.10', '2011-01-24', 'A security patch release'),
('3.6.4', '2011-01-24', 'A security patch release'),
('4.0rc2', '2011-01-24', 'A release candidate'),
('4.0', '2011-02-15', ''),
('4.1.1', '2011-03-13', 'A development release'),
('3.4.11', '2011-04-27', 'A patch release'),
('3.6.5', '2011-04-27', 'A patch release'),
('4.0.1', '2011-04-27', 'A patch release'),
('4.1.2', '2011-04-27', 'A development release'),
('3.4.12', '2011-08-04', 'A security patch release'),
('3.6.6', '2011-08-04', 'A security patch release'),
('4.0.2', '2011-08-04', 'A security patch release'),
('4.1.3', '2011-08-04', 'A development release'),
('3.4.13', '2011-12-28', 'A security patch release'),
('3.6.7', '2011-12-28', 'A security patch release'),
('4.0.3', '2011-12-28', 'A security patch release'),
('4.2rc1', '2011-12-28', 'A release candidate'),
('3.4.14', '2012-01-31', 'A security patch release'),
('3.6.8', '2012-01-31', 'A security patch release'),
('4.0.4', '2012-01-31', 'A security patch release'),
('4.2rc2', '2012-01-31', 'A release candidate'),
('4.0.5', '2012-02-22', 'A patch release'),
('4.2', '2012-02-22', ''),
('3.6.9', '2012-04-18', 'A security patch release'),
('4.0.6', '2012-04-18', 'A security patch release'),
('4.2.1', '2012-04-18', 'A security patch release'),
('4.3.1', '2012-04-18', 'A development release'),
('3.6.10', '2012-07-26', 'A security patch release'),
('4.0.7', '2012-07-26', 'A security patch release'),
('4.2.2', '2012-07-26', 'A security patch release'),
('4.3.2', '2012-07-26', 'A development release'),
('3.6.11', '2012-08-30', 'A security patch release'),
('4.0.8', '2012-08-30', 'A security patch release'),
('4.2.3', '2012-08-30', 'A security patch release'),
('4.3.3', '2012-08-30', 'A development release'),
('3.6.12', '2012-11-13', 'A security patch release'),
('4.0.9', '2012-11-13', 'A security patch release'),
('4.2.4', '2012-11-13', 'A security patch release'),
('4.4rc1', '2012-11-13', 'A release candidate'),
('3.6.13', '2013-02-19', 'A security patch release'),
('4.0.10', '2013-02-19', 'A security patch release'),
('4.2.5', '2013-02-19', 'A security patch release'),
('4.4rc2', '2013-02-19', 'A release candidate'),
('4.2.6', '2013-05-22', 'A patch release'),
('4.4', '2013-05-22', ''),
('4.0.11', '2013-10-16', 'A security patch release'),
('4.2.7', '2013-10-16', 'A security patch release'),
('4.4.1', '2013-10-16', 'A security patch release'),
('4.5.1', '2013-10-16', 'A development release'),
('4.4.2', '2014-01-27', 'A patch release'),
('4.5.2', '2014-01-27', 'A development release'),
('4.0.12', '2014-04-17', 'A security patch release'),
('4.2.8', '2014-04-17', 'A security patch release'),
('4.4.3', '2014-04-17', 'A security patch release'),
('4.5.3', '2014-04-17', 'A development release'),
('4.0.13', '2014-04-18', 'A patch release'),
('4.2.9', '2014-04-18', 'A patch release'),
('4.4.4', '2014-04-18', 'A patch release'),
('4.5.4', '2014-04-18', 'A development release'),
('4.0.14', '2014-07-24', 'A security patch release'),
('4.2.10', '2014-07-24', 'A security patch release'),
('4.4.5', '2014-07-24', 'A security patch release'),
('4.5.5', '2014-07-24', 'A development release'),
('4.0.15', '2014-10-06', 'A security patch release'),
('4.2.11', '2014-10-06', 'A security patch release'),
('4.4.6', '2014-10-06', 'A security patch release'),
('4.5.6', '2014-10-06', 'A development release'),
('4.0.16', '2015-01-21', 'A security patch release'),
('4.2.12', '2015-01-21', 'A security patch release'),
('4.4.7', '2015-01-21', 'A security patch release'),
('5.0rc1', '2015-01-21', 'A release candidate'),
('4.0.17', '2015-01-27', 'A patch release'),
('4.2.13', '2015-01-27', 'A patch release'),
('4.4.8', '2015-01-27', 'A patch release'),
('5.0rc2', '2015-01-27', 'A release candidate'),
('4.0.18', '2015-04-15', 'A patch release'),
('4.2.14', '2015-04-15', 'A patch release'),
('4.4.9', '2015-04-15', 'A patch release'),
('5.0rc3', '2015-04-15', 'A patch release'),
('5.0', '2015-07-07', ''),
('4.2.15', '2015-09-10', 'A security patch release'),
('4.4.10', '2015-09-10', 'A security patch release'),
('5.0.1', '2015-09-10', 'A security patch release'),
('4.2.16', '2015-12-22', 'A security patch release'),
('4.4.11', '2015-12-22', 'A security patch release'),
('5.0.2', '2015-12-22', 'A security patch release'),
('4.4.12', '2016-05-16', 'A security patch release'),
('5.0.3', '2016-05-16', 'A security patch release'),
('5.1.1', '2016-05-16', 'A development release'),
('4.4.13', '2018-02-16', 'A security patch release'),
('5.0.4', '2018-02-16', 'A security patch release'),
('5.1.2', '2018-02-16', 'A development release'),
('5.0.5', '2019-01-30', 'An invasive patch release'),
('5.0.6', '2019-02-09', 'An invasive patch release'),
('4.4.14', '2024-05-??', 'A not-yet-released security patch release'),
('5.0.4.1', '2024-05-??', 'A not-yet-released security patch release'),
('5.2', '2024-05-??', 'Forked from 5.0.6 not from 5.1. Not-yet released.'),
(
'5.3.3',
'2024-05-??',
(
'A development release following 5.1.2 (the branch was renamed). '
'Not-yet-released.'
),
),
('5.9.1', '2024-05-??', 'A not-yet-released development release'),
]
# This is a map from table name to an HTML remark concerning that
# table, which is output before the schema for that table.
#
# Tables with no attached remarks are given 'None' as a placeholder, so
# we know to add a remark later.
table_remark = {
'antispam_comment_blocklist': 'TODO',
'antispam_domain_blocklist': 'TODO',
'antispam_ip_blocklist': 'TODO',
'attach_data': 'The content of <a href="#notes-attachments">attachments</a>.',
'attachment_storage_class': 'TODO',
'attachments': 'Bug <a href="#notes-attachments">attachments</a>.',
'attachstatusdefs': 'Attachment status definitions.',
'attachstatuses': 'Attachment statuses.',
'audit_log': (
'Changes to anything that subclasses Bugzilla::Object (such as '
'users, products, components) get logged here. A class can '
'exclude itself from being logged by including `use constant '
'AUDIT_UPDATES => 1;` within the object .pm file. Attachments, '
'Bugs, Comments, and Flags are excluded as they are tracked in '
'%(table-bugs_activity)s.'
),
'bug_group_map': (
'Which bugs are in which groups. See <a '
'href="#notes-groups">the notes on groups</a>.'
),
'bug_interest': 'TODO',
'bug_mentors': 'TODO',
'bug_see_also': '<a href="#notes-see_also">Related bugs</a> in other Bugzillas.',
'bug_severity': 'The severity values of bugs.',
'bug_status': 'The status values of bugs.',
'bug_type': 'TODO',
'bug_user_agent': 'TODO',
'bug_user_last_visit': (
'Keeps track of the last time a user looked at a bug '
'when logged in. This allows jumping to the '
'last-viewed comment when you next return to the bug.'
),
'bugmail_filters': 'TODO',
'bugs': 'The bugs themselves.',
'bugs_activity': '<a href="#notes-activity">Activity</a> on the bugs table.',
'bugs_aliases': 'A mapping of bugs to their aliases.',
'bugs_fulltext': 'All the descriptive text on bugs, to speed up searching.',
'bz_schema': 'The database schema itself.',
'category_group_map': (
'Which groups does a user have to be in to view chart '
'data in a given category. See <a '
'href="#notes-charts">the notes on charts</a>. '
),
'cc': (
'Users who have asked to receive <a href="#notes-email">email</a> when '
'a bug changes.'
),
'classifications': (
'Product classifications. See <a '
'href="#notes-products">the notes on products</a>.'
),
'component_cc': (
'Users to put on the <a href="#notes-email">CC list</a> for a '
'new bug in a given component.'
),
'component_reviewers': 'TODO',
'component_watch': 'TODO',
'components': (
'One row for each component. See <a href="#notes-products">the '
'notes on products and components.</a>'
),
'dependencies': (
'Which bugs <a href="#notes-dependencies">depend</a> on other bugs.'
),
'duplicates': 'Which bugs are duplicates of which other bugs.',
'email_bug_ignore': (
'Stores lists of bugs users have opted not to receive notifications about.'
),
'email_rates': (
'Logs timestamps of messages sent to users so that they can be rate-limited.'
),
'email_setting': 'Per-user settings controlling when email is sent to that user.',
'field_visibility': (
'Tracks when custom fields are visible based on other fields on the bug.'
),
'fielddefs': 'The properties of each bug field.',
'flag_state_activity': 'TODO',
'flagexclusions': (
'It may be forbidden to set a given flag on an item (bug or '
'attachment) if that item is in a given product and/or '
'component. This table records such exclusions. See the '
'notes on <a href="#notes-flags">flags</a>.'
),
'flaginclusions': (
'An item (bug or attachment) may be required to be in a '
'given product and/or component for a flag to be set. This '
'table records such requirements. See the notes on <a '
'href="#notes-flags">flags</a>.'
),
'flags': (
'This table records the flags set on bugs or attachments. See the '
'notes on <a href="#notes-flags">flags</a>.'
),
'flagtype_comments': 'TODO',
'flagtypes': (
'The types of flags available for bugs and attachments. See the '
'notes on <a href="#notes-flags">flags</a>.'
),
'group_control_map': (
'This table describes the relationship of groups to '
'products (whether membership in a given group is '
'required for entering or editing a bug in a given '
'product). See <a href="#notes-groups">the notes on '
'groups</a>.'
),
'group_group_map': (
'Groups can be configured such that membership of one '
'group automatically confers rights over some other '
'groups. This table records that configuration. See <a '
'href="#notes-groups">the notes on groups</a>.'
),
'groups': (
'This table describes a number of user groups. Each group allows '
'its members to perform a restricted activity. See <a '
'href="#notes-groups">the notes on groups</a>. '
),
'job_last_run': 'TODO',
'keyworddefs': (
'Names and definitions of the keywords. See <a '
'href="#notes-keywords">the notes on keywords</a>.'
),
'keywords': (
'Bugs may have keywords. This table defines which bugs have '
'which keywords. The keywords are defined in '
'%(the-table-keyworddefs)s.'
),
'login_failure': (
'Log of failed user login attempts. Records for a given user '
'are cleared when they successfully log in. Users are locked '
'out if they exceed MAX_LOGIN_ATTEMPTS in '
'LOGIN_LOCKOUT_INTERVAL minutes (defined in '
'Bugzilla::Constants).'
),
'logincookies': (
'Bugzilla generates a cookie each time a user logs in, and '
'uses it for subsequent authentication. The cookies '
'generated are stored in this table. For more information, '
'see <a href="#notes-authentication">the notes on '
'authentication</a>.'
),
'longdescs': 'Long bug <a href="#notes-descriptions">descriptions</a>.',
'longdescs_activity': 'TODO',
'longdescs_tags': 'Tags on comments are stored here.',
'longdescs_tags_activity': 'Activity log of changes to comment tags.',
'longdescs_tags_weights': (
'This table caches the number of comments that are '
'tagged with each comment tag.'
),
'mail_staging': (
'outbound notification emails are staged here if a '
'notification happens while a database transaction is active. '
'The messages are then sent as a batch after the transaction '
'is closed.'
),
'milestones': 'Development <a href="#notes-milestones">milestones</a>.',
'mydashboard': 'TODO',
'nag_defer': 'TODO',
'nag_settings': 'TODO',
'nag_watch': 'TODO',
'namedqueries': 'Named <a href="#notes-namedqueries">queries</a>.',
'namedqueries_link_in_footer': (
'Controls whether a <a '
'href="#notes-namedqueries">named query</a> '
'appears in a given user\'s navigation footer.'
),
'namedquery_group_map': (
'Controls whether a <a '
'href="#notes-namedqueries">named query</a> is shared '
'with other users (other members of a group).'
),
'oauth2_client': 'TODO',
'oauth2_client_scope': 'TODO',
'oauth2_jwt': 'TODO',
'oauth2_scope': 'TODO',
'op_sys': 'The possible values of the "operating system" field of a bug.',
'phabbugz': 'TODO',
'priority': 'The possible values of the "priority" field of a bug.',
'product_reviewers': 'TODO',
'products': (
'One row for each product. See <a href="#notes-products">the '
'notes on products.</a>'
),
'profile_mfa': 'TODO',
'profile_search': (
'The most-recent SAVE_NUM_SEARCHES (defined in '
'Bugzilla::Constants) searches a user has run are stored '
'here, so that the Next/Prev links in a bug that was opened '
'from a list will continue to work even if you have '
'multiple browser tabs open with different searches.'
),
'profile_setting': 'User preference settings.',
'profiles': (
'Describes Bugzilla <a href="#notes-users">users</a>. One row per user.'
),
'profiles_activity': (
'This table is for recording changes to '
'%(the-table-profiles)s. Currently it only records '
'changes to group membership made with editusers.cgi. '
'This allows the administrator to track group '
'inflation. There is currently no code to inspect this '
'table; only to add to it.'
),
'profiles_statistics': 'TODO',
'profiles_statistics_products': 'TODO',
'profiles_statistics_recalc': 'TODO',
'profiles_statistics_status': 'TODO',
'push': 'TODO',
'push_backlog': 'TODO',
'push_backoff': 'TODO',
'push_log': 'TODO',
'push_notify': 'TODO',
'push_options': 'TODO',
'quips': 'A table of <a href="#notes-quips">quips</a>.',
'regressions': 'TODO',
'rep_platform': 'The possible values of the "platform" field of a bug.',
'report_ping': 'TODO',
'reports': 'Reports generated from report.cgi are saved in this table.',
'resolution': 'The possible values of the "resolution" field of a bug.',
'series': (
'Properties of the time-series datasets available (e.g. for '
'plotting charts). See <a href="#notes-charts">the notes on '
'charts</a>.'
),
'series_categories': None,
'series_data': (
'Data for plotting time-series charts. See <a '
'href="#notes-charts">the notes on charts</a>.'
),
'setting': 'Identifies the set of user preferences.',
'setting_value': 'Possible values for user preferences.',
'shadowlog': (
'A log of SQL activity; used for updating <a '
'href="#notes-shadow">shadow databases</a>.'
),
'status_workflow': (
'Identifies allowable <a href="#notes-workflow">workflow</a> transitions.'
),
'tag': None,
'tags': None,
'token_data': 'TODO',
'tokens': (
'Tokens are sent to users to track activities such as creating new '
'accounts and changing email addresses or passwords. They are also '
'sent to browsers and used to track workflow, to prevent security '
'problems (e.g. so that one can only delete groups from a session '
'last seen on a group management page).'
),
'tracking_flags': 'TODO',
'tracking_flags_bugs': 'TODO',
'tracking_flags_values': 'TODO',
'tracking_flags_visibility': 'TODO',
'ts_error': (
'A log of errors from TheSchwartz asynchronous job-queueing '
'system. Rows are aged out of this table after seven days.'