aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/articles/committers-guide/article.sgml
blob: c69370c5f78fc971f588fd45f72bf038a7ff0541 (plain) (blame)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
%articles.ent;
]>

<article>
  <articleinfo>
    <title>Committer's Guide</title>

    <authorgroup>
      <author>
	<surname>The FreeBSD Documentation Project</surname>
      </author>
    </authorgroup>

    <pubdate>$FreeBSD$</pubdate>

    <copyright>
      <year>1999</year>
      <year>2000</year>
      <year>2001</year>
      <year>2002</year>
      <year>2003</year>
      <year>2004</year>
      <holder>The FreeBSD Documentation Project</holder>
    </copyright>

    <legalnotice id="trademarks" role="trademarks">
      &tm-attrib.freebsd;
      &tm-attrib.cvsup;
      &tm-attrib.ibm;
      &tm-attrib.intel;
      &tm-attrib.sparc;
      &tm-attrib.general;
    </legalnotice>

    <abstract>
      <para>This document provides information for the FreeBSD committer
	community.  All new committers should read this document before they
	start, and existing committers are strongly encouraged to review it
	from time to time.</para>
    </abstract>
  </articleinfo>

  <sect1 id="admin">
    <title>Administrative Details</title>

    <informaltable frame="none" orient="port">
      <tgroup cols="2">
	<tbody>
	  <row>
	    <entry><emphasis>Main Repository Host</emphasis></entry>
	    <entry><hostid role="fqdn">ncvs.FreeBSD.org</hostid></entry>
	  </row>

	  <row>
	    <entry><emphasis>Login Methods</emphasis></entry>
	    <entry>&man.ssh.1;, protocol 2 only</entry>
	  </row>

	  <row>
	    <entry><emphasis>Main CVSROOT</emphasis></entry>
	    <entry>
	      <hostid role="fqdn">ncvs.FreeBSD.org</hostid><literal>:</literal><filename>/home/ncvs</filename> (although also see <xref linkend="cvs.operations">).
	    </entry>
	  </row>

	  <row>
	    <entry><emphasis>Main &a.cvsadm;</emphasis></entry>
	    <entry>&a.peter; and &a.markm;, as well as &a.joe; and &a.marcus; for
	      <filename>ports/</filename></entry>
	  </row>

	  <row>
	    <entry><emphasis>Mailing Lists</emphasis></entry>
	    <entry>&a.doc-developers;, &a.doc-committers;;
	    &a.ports-developers;, &a.ports-committers;;
	    &a.src-developers;, &a.src-committers;.  (Each project
	    repository has its own -developers and -committers mailing
	    lists.  Archives for these lists may be found in files
	    <filename>/home/mail/<replaceable>repository-name</replaceable>-developers-archive</filename>
	    and
	    <filename>/home/mail/<replaceable>repository-name</replaceable>-committers-archive</filename>
	    on the <hostid role="domainname">FreeBSD.org</hostid>
	    cluster.)
	    </entry>
	  </row>


	  <row>
	    <entry><emphasis>Core Team monthly reports</emphasis></entry>
	    <entry><filename>/home/core/public/monthly-report</filename>
	      on the <hostid role="domainname">FreeBSD.org</hostid> cluster.
	    </entry>
	  </row>

	  <row>
	    <entry><emphasis>Noteworthy CVS Tags</emphasis></entry>
	    <entry><literal>RELENG_4</literal> (4.X-STABLE), <literal>HEAD</literal> (-CURRENT)</entry>
	  </row>
	</tbody>
      </tgroup>
    </informaltable>

    <para>It is required that you use &man.ssh.1; or &man.telnet.1;
      with Kerberos 5 to connect to the project hosts.  For
      &man.ssh.1; only protocol 2 is allowed.
      These are generally more secure than plain &man.telnet.1; or
      &man.rlogin.1; since credential negotiation will always be
      encrypted.  All traffic is encrypted by default with &man.ssh.1;.
      With utilities like &man.ssh-agent.1; and &man.scp.1; also
      available, &man.ssh.1; is also far more convenient.  If you do
      not know anything about &man.ssh.1;, please see
      <xref linkend="ssh.guide">.</para>
  </sect1>

  <sect1 id="committer.types">
    <title>Commit Bit Types</title>

    <para>The FreeBSD CVS repository has a number of components which,
      when combined, support the basic operating system source,
      documentation, third party application ports infrastructure, and
      various maintained utilities.  When FreeBSD commit bits are
      allocated, the areas of the tree where the bit may be used are
      specified.  Generally, the areas associated with a bit reflect who
      authorized the allocation of the commit bit.  Additional areas of
      authority may be added at a later date: when this occurs, the
      committer should follow normal commit bit allocation procedures for
      that area of the tree, seeking approval from the appropriate entity
      and possibly getting a mentor for that area for some period of time.
      </para>

    <informaltable frame="none">
      <tgroup cols="3">
	<tbody>
	  <row>
	    <entry><emphasis>Committer Type</emphasis></entry>
	    <entry><emphasis>Responsible</emphasis></entry>
	    <entry><emphasis>Tree Components</emphasis></entry>
	  </row>

	  <row>
	    <entry>src</entry>
	    <entry>core@</entry>
	    <entry>src/, doc/ subject to appropriate review</entry>
	  </row>

	  <row>
	    <entry>doc</entry>
	    <entry>doceng@</entry>
	    <entry>doc/, www/, src/ documentation</entry>
	  </row>

	  <row>
	    <entry>ports</entry>
	    <entry>portmgr@</entry>
	    <entry>ports/</entry>
	  </row>
	</tbody>
      </tgroup>
    </informaltable>

    <para>Commit bits allocated prior to the development of the notion of
      areas of authority may be appropriate for use in many parts of the
      tree.  However, common sense dictates that a committer who has not
      previously worked in an area of the tree seek review prior to
      committing, seek approval from the appropriate responsible party,
      and/or work with a mentor.  Since the rules regarding code
      maintenance differ by area of the tree, this is as much for the
      benefit of the committer working in an area of less familiarity as
      it is for others working on the tree.</para>

    <para>Committers are encouraged to seek review for their work as part
      of the normal development process, regardless of the area of the
      tree where the work is occurring.</para>

    <sect2>
      <title>Policy for <filename>doc/</filename> committer activity
        in <filename>src/</filename></title>

      <itemizedlist>
	<listitem><para>doc committers may commit documentation
	  changes to src files, such as man pages, READMEs, fortune
	  databases, calendar files, and comment fixes without
	  approval from a src committer, subject to the normal care
	  and tending of commits.</para></listitem>

	<listitem><para>doc committers may commit minor src changes
	  and fixes, such as build fixes, small features, etc, with an
	  "Approved by" from a src committer.</para></listitem>

	<listitem><para>doc committers may seek an upgrade to a src
	  commit bit by acquiring a mentor, who will propose the doc
	  committer to core.  When approved, they will be added to
	  'access' and the normal mentoring period will ensue, which
	  will involve a continuing of <quote>Approved by</quote> for
	  some period.</para></listitem>

     	<listitem><para>"Approved by" is only acceptable from
	  non-mentored src committers -- mentored committers can
	  provide a "Reviewed by" but not an "Approved
	  by".</para></listitem>
      </itemizedlist>
    </sect2>

  </sect1>

  <sect1 id="cvs.operations">
    <title>CVS Operations</title>

    <para>It is assumed that you are already familiar with the basic operation
      of CVS.</para>

    <para>The &a.cvsadm; are the <quote>owners</quote> of the CVS repository and
      are responsible for direct modification of it for the purposes of
      cleanup or fixing some grievous abuse of CVS by a committer.
      Should you cause some repository accident, say a bad <command>cvs
      import</command> or <command>cvs tag</command> operation, mail the
      responsible part of &a.cvsadm;, as stated in the table below,
      (or call one of them) and report the problem.
      For very important issues affecting the entire CVS tree&mdash;not
      just a specific area&mdash;you can contact the &a.cvsadm;.
      Please do <emphasis>not</emphasis> contact the &a.cvsadm; for repocopies
      or other things that the more specific teams can handle.</para>

    <para>The only ones able to directly fiddle the repository bits on the
      repository hosts are the repomeisters.  To enforce this, there are
      no login shells available on the repository machines, except to
      the repomeisters.</para>

    <note><para>Depending on the affected area of the CVS repository,
      you should send your request to one of the following email
      addresses:</para>
      
      <itemizedlist>
	<listitem><para>ncvs@ - regarding <filename role="directory">
	    /home/ncvs</filename>, the src
	  repository</para></listitem>

	<listitem><para>pcvs@ - regarding <filename role="directory">
	    /home/pcvs</filename>, the ports
	  repository</para></listitem>

	<listitem><para>dcvs@ - regarding <filename role="directory">
	    /home/dcvs</filename>, the doc
	  repository</para></listitem>

	<listitem><para>projcvs@ - regarding <filename role="directory">
	    /home/projcvs</filename>, the
	  third party projects repository</para></listitem>
      </itemizedlist>
    </note>

    <para>The CVS tree is currently split into four distinct repositories,
      namely <literal>doc</literal>, <literal>ports</literal>,
      <literal>projects</literal> and <literal>src</literal>.  These are
      combined under a single <literal>CVSROOT</literal> when distributed
      via <application>CVSup</application> for the convenience of our users.</para>

    <note><para>Note that the <literal>www</literal> module containing sources
      for the <ulink url="http://www.FreeBSD.org">FreeBSD website</ulink> is
      contained within the <literal>doc</literal> repository.</para></note>

    <para>The CVS repositories are hosted on the repository machines.
      Currently, each of the repositories above reside on the same physical
      machine, <hostid role="hostname">ncvs.FreeBSD.org</hostid>, but to allow for
      the possibility of placing each on a separate machine in the future,
      there is a separate hostname for each that committers should use.
      Additionally, each repository is stored in a separate directory.  The
      following table summarizes the situation.</para>

    <table frame="none" id="cvs-repositories-and-hosts">
      <title>&os; CVS Repositories, Hosts and Directories</title>

      <tgroup cols="3">
	<thead>
	  <row>
	    <entry>Repository</entry>
	    <entry>Host</entry>
	    <entry>Directory</entry>
	  </row>
	</thead>

	<tbody>
	  <row>
	    <entry>doc</entry>
	    <entry>dcvs.FreeBSD.org</entry>
	    <entry>/home/dcvs</entry>
	  </row>

	  <row>
	    <entry>ports</entry>
	    <entry>pcvs.FreeBSD.org</entry>
	    <entry>/home/pcvs</entry>
	  </row>

	  <row>
	    <entry>projects</entry>
	    <entry>projcvs.FreeBSD.org</entry>
	    <entry>/home/projcvs</entry>
	  </row>

	  <row>
	    <entry>src</entry>
	    <entry>ncvs.FreeBSD.org</entry>
	    <entry>/home/ncvs</entry>
	  </row>
	</tbody>
      </tgroup>
    </table>

    <para>CVS operations are done remotely by setting the
      <envar>CVSROOT</envar> environment variable to the appropriate host
      and top-level directory (for example,
      <hostid role="fqdn">ncvs.FreeBSD.org</hostid><literal>:</literal><filename>/home/ncvs</filename>),
      the <envar>CVS_RSH</envar> variable to <command>ssh</command>, and then
      doing the appropriate check-out/check-in operations.  Many committers
      define aliases which expand to the correct <application>cvs</application>
      invocation for the appropriate repository.  For example, a &man.tcsh.1;
      user may add the following to their <filename>.cshrc</filename> for this
      purpose:</para>

    <programlisting>alias dcvs env CVS_RSH=ssh cvs -d <replaceable>user</replaceable>@dcvs.FreeBSD.org:/home/dcvs
alias pcvs env CVS_RSH=ssh cvs -d <replaceable>user</replaceable>@pcvs.FreeBSD.org:/home/pcvs
alias projcvs env CVS_RSH=ssh cvs -d <replaceable>user</replaceable>@projcvs.FreeBSD.org:/home/projcvs
alias scvs env CVS_RSH=ssh cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</programlisting>

    <para>This way they can do all CVS operations
      locally and use <command><replaceable>X</replaceable>cvs commit</command> for committing
      to the official CVS tree.  If you wish to add
      something which is wholly new (like contrib-ified
      sources, etc), <command>cvs import</command> should be used.
      Refer to the &man.cvs.1; manual page for usage.</para>

    <note>
      <para>Please do <emphasis>not</emphasis> use
	<command>cvs checkout</command> or
	<command>update</command> with the official repository machine set
	as the CVS Root for keeping your source tree up to date.
	Remote CVS is not optimized for network distribution
	and requires a big work/administrative overhead on the server side.
	Please use our advanced <command>cvsup</command> distribution
	method for obtaining the repository bits, and only do the actual
	<command>commit</command> operation on the repository host.
	We provide an extensive cvsup replication network for this purpose,
	as well as give access to <hostid>cvsup-master</hostid> if you
	really need to stay current to the latest changes.
	<hostid>cvsup-master</hostid> has got the horsepower to deal with
	this, the repository master server does not.  &a.kuriyama; is in
	charge of <hostid>cvsup-master</hostid>.
      </para>
    </note>

    <para>If you need to use CVS <command>add</command> and
      <command>delete</command> operations in a manner that is
      effectively a &man.mv.1; operation, then a repository
      copy is in order rather than using CVS <command>add</command> and
      <command>delete</command>.  In a repository copy, a <link
      linkend="conventions">CVS Meister</link> will copy the file(s)
      to their new name and/or location and let you know when it is
      done.  The purpose of a repository copy is to preserve file
      change history, or logs.  We in the FreeBSD Project greatly
      value the change history that CVS gives to the project.</para>

    <para>CVS reference information, tutorials, and FAQs can be found at:
      <ulink url="http://www.cvshome.org/docs/"></ulink>.
      The information in <ulink url="http://cvsbook.red-bean.com/cvsbook.html">Karl Fogel's
	chapters from <quote>Open Source Development with CVS</quote></ulink> is also very
      useful.</para>

    <para>&a.des; also supplied the following <quote>mini primer</quote> for
      CVS.</para>

    <orderedlist>
      <listitem>
	<para>Check out a module with the <command>co</command> or
	  <command>checkout</command> command.</para>

	<screen>&prompt.user; <userinput>cvs checkout shazam</userinput></screen>

	<para>This checks out a copy of the <filename>shazam</filename> module. If
	  there is no <filename>shazam</filename> module in the modules file, it looks for a
	  top-level directory named <filename>shazam</filename> instead.</para>

	<table frame="none">
	  <title>Useful <command>cvs checkout</command> options</title>

	  <tgroup cols=2>
	    <tbody>
	      <row>
		<entry><option>-P</option></entry>
		<entry>Do not create empty directories</entry>
	      </row>

	      <row>
		<entry><option>-l</option></entry>
		<entry>Check out a single level, no subdirectories</entry>
	      </row>

	      <row>
		<entry><option>-r<replaceable>rev</replaceable></option></entry>
		<entry>Check out revision, branch or tag
		  <replaceable>rev</replaceable></entry>
	      </row>

	      <row>
		<entry><option>-D<replaceable>date</replaceable></option></entry>
		<entry>Check out the sources as they were on date
		  <replaceable>date</replaceable></entry>
	      </row>
	    </tbody>
	  </tgroup>
	</table>

	<para>Practical FreeBSD examples:</para>

	<itemizedlist>
	  <listitem>
	    <para>Check out the <filename>miscfs</filename> module,
	      which corresponds to <filename>src/sys/miscfs</filename>:</para>

	    <screen>&prompt.user; <userinput>cvs co miscfs</userinput></screen>

	    <para>You now have a directory named <filename>miscfs</filename>
	      with subdirectories <filename>CVS</filename>,
	      <filename>deadfs</filename>, <filename>devfs</filename>, and so
	      on.  One of these (<filename>linprocfs</filename>) is
	      empty.</para>
	  </listitem>

	  <listitem>
	    <para>Check out the same files, but with full path:</para>

	    <screen>&prompt.user; <userinput>cvs co src/sys/miscfs</userinput></screen>

	    <para>You now have a directory named <filename>src</filename>,
	      with subdirectories <filename>CVS</filename> and
	      <filename>sys</filename>.  The <filename>src/sys</filename> directory has
	      subdirectories <filename>CVS</filename> and
	      <filename>miscfs</filename>, etc.</para>
	  </listitem>

	  <listitem>
	    <para>Check out the same files, but prunes empty
	      directories:</para>

	    <screen>&prompt.user; <userinput>cvs co -P miscfs</userinput></screen>

	    <para>You now have a directory named
	      <filename>miscfs</filename> with subdirectories
	      <filename>CVS</filename>, <filename>deadfs</filename>,
	      <filename>devfs</filename>... but note that there is no
	      <filename>linprocfs</filename> subdirectory, because there
	      are no files in it.</para>
	  </listitem>

	  <listitem>
	    <para>Check out the directory <filename>miscfs</filename>, but
	      none of the subdirectories:</para>

	    <screen>&prompt.user; <userinput>cvs co -l miscfs</userinput></screen>

	    <para>You now have a directory named <filename>miscfs</filename>
	      with just one subdirectory named
	      <filename>CVS</filename>.</para>
	  </listitem>

	  <listitem>
	    <para>Check out the <filename>miscfs</filename> module as
	      it is in the 4.X branch:</para>

	    <screen>&prompt.user; <userinput>cvs co -rRELENG_4 miscfs</userinput></screen>

	    <para>You can modify the sources and commit along this
	      branch.</para>
	  </listitem>

	  <listitem>
	    <para>Check out the <filename>miscfs</filename> module as
	      it was in 3.4-RELEASE.</para>

	    <screen>&prompt.user; <userinput>cvs co -rRELENG_3_4_0_RELEASE miscfs</userinput></screen>

	    <para>You will not be able to commit modifications, since
	      <literal>RELENG_3_4_0_RELEASE</literal> is a point in time, not a branch.</para>
	  </listitem>

	  <listitem>
	    <para>Check out the <filename>miscfs</filename> module as it was
	      on Jan 15 2000.</para>

	    <screen>&prompt.user; <userinput>cvs co -D'01/15/2000' miscfs</userinput></screen>

	    <para>You will not be able to commit modifications.</para>
	  </listitem>

	  <listitem>
	    <para>Check out the <filename>miscfs</filename> module as it was
	      one week ago.</para>

	    <screen>&prompt.user; <userinput>cvs co -D'last week' miscfs</userinput></screen>

	    <para>You will not be able to commit modifications.</para>
	  </listitem>
	</itemizedlist>

	<para>Note that cvs stores metadata in subdirectories named
	  <filename>CVS</filename>.</para>

	<para>Arguments to <option>-D</option> and <option>-r</option>
	  are sticky, which means cvs will remember them later, e.g.
	  when you do a <command>cvs update</command>.</para>
      </listitem>

      <listitem>
	<para>Check the status of checked-out files with the
	  <command>status</command> command.</para>

	<screen>&prompt.user; <userinput>cvs status shazam</userinput></screen>

	<para>This displays the status of the
	  file <filename>shazam</filename> or of every file in the
	  <filename>shazam</filename> directory. For every file, the
	  status is given as one of:</para>

	<informaltable frame="none">
	  <tgroup cols=2>
	    <tbody>
	      <row>
		<entry>Up-to-date</entry>
		<entry>File is up-to-date and unmodified.</entry>
	      </row>

	      <row>
		<entry>Needs Patch</entry>
		<entry>File is unmodified, but there is a newer revision in
		  the repository.</entry>
	      </row>

	      <row>
		<entry>Locally Modified</entry>
		<entry>File is up-to-date, but modified.</entry>
	      </row>

	      <row>
		<entry>Needs Merge</entry>
		<entry>File is modified, and there is a newer revision in the
		  repository.</entry>
	      </row>

	      <row>
		<entry>File had conflicts on merge</entry>
		<entry>There were conflicts the last time this file was
		  updated, and they have not been resolved yet.</entry>
	      </row>
	    </tbody>
	  </tgroup>
	</informaltable>

	<para>You will also see the local revision and date,
	  the revision number of the newest applicable version
	  (<quote>newest applicable</quote> because if you have a
	  sticky date, tag or branch, it may not be the actual newest
	  revision), and any sticky tags, dates or options.</para>
      </listitem>

      <listitem>
	<para>Once you have checked something out, you can update it with the
	  <command>update</command> command.</para>

	<screen>&prompt.user; <userinput>cvs update shazam</userinput></screen>

	<para>This updates the file <filename>shazam</filename> or the
	  contents of the <filename>shazam</filename> directory to the
	  latest version along the branch you checked out.  If you
	  checked out a <quote>point in time</quote>, does nothing
	  unless the tags have moved in the repository or some other weird
	  stuff is going on.</para>

	<para>Useful options, in addition to those listed above for
	  <command>checkout</command>:</para>

	<informaltable frame="none">
	  <tgroup cols=2>
	    <tbody>
	      <row>
		<entry><option>-d</option></entry>
		<entry>Check out any additional missing directories.</entry>
	      </row>

	      <row>
		<entry><option>-A</option></entry>
		<entry>Update to head of main branch.</entry>
	      </row>

	      <row>
		<entry><option>-j<replaceable>rev</replaceable></option></entry>
		<entry>More magic (see below).</entry>
	      </row>
	    </tbody>
	  </tgroup>
	</informaltable>

	<para>If you checked out a module with <option>-r</option> or
	  <option>-D</option>, running <command>cvs update</command>
	  with a different <option>-r</option> or <option>-D</option>
	  argument or with <option>-A</option> will select a new branch,
	  revision or date. The <option>-A</option> option clears all
	  sticky tags, dates or revisions whereas <option>-r</option>
	  and <option>-D</option> set new ones.</para>

	<para>Theoretically, specifying <literal>HEAD</literal> as the
	  argument to <option>-r</option> will give you the same result
	  as <option>-A</option>, but that is just theory.</para>

	<para>The <option>-d</option> option is useful if:</para>

	<itemizedlist>
	  <listitem>
	    <para>somebody has added subdirectories to the module
	      you have checked out after you checked it out.</para>
	  </listitem>

	  <listitem>
	    <para>you checked out with <option>-l</option>, and later
	      change your mind and want to check out the subdirectories
	      as well.</para>
	  </listitem>

	  <listitem>
	    <para>you deleted some subdirectories and want to check
	      them all back out.</para>
	  </listitem>
	</itemizedlist>

	<para><emphasis>Watch the output of the <command>cvs
	  update</command> with care.</emphasis> The letter in front of
	  each filename indicates what was done with it:</para>

	<informaltable frame="none">
	  <tgroup cols=2>
	    <tbody>
	      <row>
		<entry><literal>U</literal></entry>
		<entry>The file was updated without trouble.</entry>
	      </row>

	      <row>
		<entry><literal>P</literal></entry>
		<entry>The file was updated without trouble (you will only see
		  this when working against a remote repository).</entry>
	      </row>

	      <row>
		<entry><literal>M</literal></entry>
		<entry>The file had been modified, and was merged without
		  conflicts.</entry>
	      </row>

	      <row>
		<entry><literal>C</literal></entry>
		<entry>The file had been modified, and was merged with
		  conflicts.</entry>
	      </row>
	    </tbody>
	  </tgroup>
	</informaltable>

	<para>Merging is what happens if you check out a copy of
	  some source code, modify it, then someone else commits a
	  change, and you run <command>cvs update</command>. CVS notices
	  that you have made local changes, and tries to merge your
	  changes with the changes between the version you originally
	  checked out and the one you updated to. If the changes are to
	  separate portions of the file, it will almost always work fine
	  (though the result might not be syntactically or semantically
	  correct).</para>

	<para>CVS will print an <literal>M</literal> in front of every locally modified
	  file even if there is no newer version in the repository, so
	  <command>cvs update</command> is handy for getting a summary
	  of what you have changed locally.</para>

	<para>If you get a <literal>C</literal>, then your changes
	  conflicted with the changes in the repository (the changes
	  were to the same lines, or neighboring lines, or you changed
	  the local file so much that <command>cvs</command> can not
	  figure out how to apply the repository's changes). You will have
	  to go through the file manually and resolve the conflicts;
	  they will be marked with rows of <literal>&lt;</literal>,
	  <literal>=</literal> and <literal>&gt;</literal> signs. For
	  every conflict, there will be a marker line with seven
	  <literal>&lt;</literal> signs and the name of the file,
	  followed by a chunk of what your local file contained,
	  followed by a separator line with seven <literal>=</literal>
	  signs, followed by the corresponding chunk in the
	  repository version, followed by a marker line with seven
	  <literal>&gt;</literal> signs and the revision number you
	  updated to.</para>

	<para>The <option>-j</option> option is slightly voodoo. It
	  updates the local file to the specified revision as if you
	  used <option>-r</option>, but it does not change the recorded
	  revision number or branch of the local file. It is not really
	  useful except when used twice, in which case it will merge the
	  changes between the two specified versions into the working
	  copy.</para>

	<para>For instance, say you commit a change to
	  <filename>shazam/shazam.c</filename> in &os.current; and later
	  want to MFC it.  The change you want to MFC was revision
	  1.15:</para>

	<itemizedlist>
	  <listitem>
	    <para>Check out the &os.stable; version of the
	      <filename>shazam</filename> module:</para>

	    <screen>&prompt.user; <userinput>cvs co -rRELENG_4 shazam</userinput></screen>
	  </listitem>

	  <listitem>
	    <para>Apply the changes between rev 1.14 and 1.15:</para>

	    <screen>&prompt.user; <userinput>cvs update -j1.14 -j1.15 shazam/shazam.c</userinput></screen>
	  </listitem>
	</itemizedlist>

	<para>You will almost certainly get a conflict because
	  of the <literal>$Id: article.sgml,v 1.215 2004-10-11 17:06:14 keramida Exp $</literal> (or in FreeBSD's case,
	  <literal>$<!-- stop expansion -->FreeBSD<!-- stop expansion -->$</literal>)
	  lines, so you will have to edit the file to resolve the conflict
	  (remove the marker lines and the second <literal>$Id: article.sgml,v 1.215 2004-10-11 17:06:14 keramida Exp $</literal> line,
	  leaving the original <literal>$Id: article.sgml,v 1.215 2004-10-11 17:06:14 keramida Exp $</literal> line intact).</para>
      </listitem>

      <listitem>
	<para>View differences between the local version and the
	  repository version with the <command>diff</command>
	  command.</para>

	<screen>&prompt.user; <userinput>cvs diff shazam</userinput></screen>

	<para>shows you every modification you have made to the
	  <filename>shazam</filename> file or module.</para>

	<table frame="none">
	  <title>Useful <command>cvs diff</command> options</title>

	  <tgroup cols=2>
	    <tbody>
	      <row>
		<entry><option>-u</option></entry>
		<entry>Uses the unified diff format.</entry>
	      </row>

	      <row>
		<entry><option>-c</option></entry>
		<entry>Uses the context diff format.</entry>
	      </row>

	      <row>
		<entry><option>-N</option></entry>
		<entry>Shows missing or added files.</entry>
	      </row>
	    </tbody>
	  </tgroup>
	</table>

	<para>You always want to use <option>-u</option>, since
	  unified diffs are much easier to read than almost any other
	  diff format (in some circumstances, context diffs generated with
	  the <option>-c</option> option may be
	  better, but they are much bulkier). A unified diff consists of
	  a series of hunks. Each hunk begins with a line that starts
	  with two <literal>@</literal> signs and specifies where in the
	  file the differences are and how many lines they span. This
	  is followed by a number of lines; some (preceded by a blank)
	  are context; some (preceded by a <literal>-</literal> sign)
	  are outtakes and some (preceded by a <literal>+</literal>) are
	  additions.</para>

	<para>You can also diff against a different version
	  than the one you checked out by specifying a version
	  with <option>-r</option> or <option>-D</option> as in
	  <command>checkout</command> or <command>update</command>,
	  or even view the diffs between two arbitrary versions
	  (without regard for what you have locally) by specifying
	  <emphasis>two</emphasis> versions with <option>-r</option> or
	  <option>-D</option>.</para>
      </listitem>

      <listitem>
	<para>View log entries with the <command>log</command>
	  command.</para>

	<screen>&prompt.user; <userinput>cvs log shazam</userinput></screen>

	<para>If <filename>shazam</filename> is a file, this will print a
	  <emphasis>header</emphasis> with information about this file, such
	  as where in the repository this file is stored, which revision is
	  the <literal>HEAD</literal> for this file, what branches this file
	  is in, and any tags that are valid for this file.  Then, for each
	  revision of this file, a log message is printed.  This includes
	  the date and time of the commit, who did the commit, how many lines
	  were added and/or deleted, and finally the log message that the
	  committer who did the change wrote.</para>

	<para>If <filename>shazam</filename> is a directory, then the log
	  information described above is printed for each file in the
	  directory in turn.  Unless you give the <option>-l</option> to
	  <command>log</command>, the log for all subdirectories of
	  <filename>shazam</filename> is printed too, in a recursive
	  manner.</para>

	<para>Use the <command>log</command> command to view the history of
	  one or more files, as it is stored in the CVS repository.  You can
	  even use it to view the log message of a specific revision, if you
	  add the <option>-r<replaceable>rev</replaceable></option> to the
	  <command>log</command> command:</para>

	<screen>&prompt.user; <userinput>cvs log -r1.2 shazam</userinput></screen>

	<para>This will print only the log message for revision
	  <literal>1.2</literal> of file <filename>shazam</filename> if it is
	  a file, or the log message for revision <literal>1.2</literal> of
	  each file under <filename>shazam</filename> if it is a
	  directory.</para>
      </listitem>

      <listitem>
	<para>See who did what with the <command>annotate</command> command.
	  This command shows you each line of the specified file or
	  files, along with which user most recently changed that
	  line.</para>

	<screen>&prompt.user; <userinput>cvs annotate shazam</userinput></screen>
      </listitem>

      <listitem>
	<para>Add new files with the <command>add</command> command.</para>

	<para>Create the file, <command>cvs add</command> it, then
	  <command>cvs commit</command> it.</para>

	<para>Similarly, you can add new directories by creating them
	  and then <command>cvs add</command>ing them. Note that you
	  do not need to commit directories.</para>
      </listitem>

      <listitem>
	<para>Remove obsolete files with the <command>remove</command> command.</para>

	<para>Remove the file, then <command>cvs rm</command> it, then
	  <command>cvs commit</command> it.</para>
      </listitem>

      <listitem>
	<para>Commit with the <command>commit</command> or
	  <command>checkin</command> command.</para>

	<table frame="none">
	  <title>Useful <command>cvs commit</command> options</title>

	  <tgroup cols=2>
	    <tbody>
	      <row>
		<entry><option>-f</option></entry>
		<entry>Force a commit of an unmodified file.</entry>
	      </row>

	      <row>
		<entry><option>-m<replaceable>msg</replaceable></option></entry>
		<entry>Specify a commit message on the command line rather
		  than invoking an editor.</entry>
	      </row>
	    </tbody>
	  </tgroup>
	</table>

	<para>Use the <option>-f</option> option if you realize that
	  you left out important information from the commit message.</para>

	<para>Good commit messages are important. They tell others
	  why you did the changes you did, not just right here and now,
	  but months or years from now when someone wonders why some
	  seemingly illogical or inefficient piece of code snuck into
	  your source file. It is also an invaluable aid to deciding
	  which changes to MFC and which not to MFC.</para>

	<para>Commit messages should be clear, concise and provide
	  a reasonable summary to give an indication of what was
	  changed and why.</para>

	<para>Commit messages should provide enough information to
	  enable a third party to decide if the change is relevant to
	  them and if they need to read the change itself.</para>

	<para>Avoid committing several unrelated changes in one go. It
	  makes merging difficult, and also makes it harder to determine
	  which change is the culprit if a bug crops up.</para>

	<para>Avoid committing style or whitespace fixes and
	  functionality fixes in one go. It makes merging difficult,
	  and also makes it harder to understand just what functional
	  changes were made.  In the case of documentation files, it
	  can make the job of the translation teams more complicated,
	  as it becomes difficult for them to determine exactly what
	  content changes need to be translated.</para>

	<para>Avoid committing changes to multiple files in one go
	  with a generic, vague message. Instead, commit each file (or
	  small, related groups of files) with tailored commit messages.</para>

	<para>Before committing, <emphasis>always</emphasis>:</para>

	<itemizedlist>
	  <listitem>
	    <para>verify which branch you are committing to, using
	      <command>cvs status</command>.</para>
	  </listitem>

	  <listitem>
	    <para>review your diffs, using
	      <command>cvs diff</command></para>
	  </listitem>
	</itemizedlist>

	<para>Also, ALWAYS specify which files to commit explicitly on
	  the command line, so you do not accidentally commit other files
	  than the ones you intended - <command>cvs commit</command>
	  without any arguments will commit every modification in your
	  current working directory and every subdirectory.</para>
      </listitem>
    </orderedlist>

    <para>Additional tips and tricks:</para>

    <orderedlist>
      <listitem>

	<para>You can place commonly used options in your
	  <filename>~/.cvsrc</filename>, like this:</para>

	<programlisting>cvs -z3
diff -Nu
update -Pd
checkout -P</programlisting>

	<para>This example says:</para>

	<itemizedlist>
	  <listitem>
	    <para>always use compression level 3 when talking to a
	      remote server. This is a life-saver when working over a
	      slow connection.</para>
	  </listitem>

	  <listitem>
	    <para>always use the <option>-N</option> (show added or
	      removed files) and <option>-u</option> (unified diff
	      format) options to &man.diff.1;.</para>
	  </listitem>

	  <listitem>
	    <para>always use the <option>-P</option> (prune empty
	      directories) and <option>-d</option> (check out new
	      directories) options when updating.</para>
	  </listitem>

	  <listitem>
	    <para>always use the <option>-P</option> (prune empty
	      directories) option when checking out.</para>
	  </listitem>
	</itemizedlist>
      </listitem>

      <listitem>
	<para>Use Eivind Eklund's <command>cdiff</command> script to
	  view unidiffs.  It is a wrapper for &man.less.1; that adds ANSI
	  color codes to make hunk headers, outtakes and additions stand
	  out; context and garbage are unmodified.  It also expands tabs
	  properly (tabs often look wrong in diffs because of the extra
	  character in front of each line).</para>

	<para><ulink url="http://people.FreeBSD.org/~eivind/cdiff"></ulink></para>

	<para>Simply use it instead of &man.more.1; or &man.less.1;:</para>

	<screen>&prompt.user; <userinput>cvs diff -Nu shazam | cdiff</userinput></screen>

	<para>Alternatively some editors like &man.vim.1;
	  (<filename role="package">editors/vim5</filename>) have color support and when used as
	  a pager with color syntax highlighting switched on will
	  highlight many types of file, including diffs, patches,
	  and CVS/RCS logs. </para>

	<screen>&prompt.user; <userinput>echo "syn on" &gt;&gt; ~/.vimrc </userinput>
&prompt.user; <userinput>cvs diff -Nu shazam | vim -</userinput>
&prompt.user; <userinput>cvs log shazam | vim -</userinput> </screen>
      </listitem>

      <listitem>
	<para>CVS is old, arcane, crufty and buggy, and sometimes
	  exhibits non-deterministic behavior which some claim as proof
	  that it is actually merely the Newtonian manifestation of a
	  sentient transdimensional entity.  It is not humanly possible
	  to know its every quirk inside out, so do not be afraid to ask
	  the resident AI (&a.cvsadm;) for help.</para>
      </listitem>

      <listitem>
	<para>Do not leave the <command>cvs commit</command> command in commit
	  message editing mode for too long (more than 2&ndash;3 minutes).  It
	  locks the directory you are working with and will prevent other
	  developers from committing into the same directory.  If you have
	  to type a long commit message, type it before executing
	  <command>cvs commit</command> and insert it into the commit
	  message or save it in a file before committing and use the
	  <option>-F</option> option of CVS to read the commit message from
	  that file, i.e.</para>

	  <screen>&prompt.user; <userinput>vi logmsg</userinput>
&prompt.user; <userinput>cvs ci -F logmsg shazam</userinput></screen>

	<para>This is the fastest way of passing a commit message to CVS but
	  you should be careful when editing the <filename>logmsg</filename>
	  file before the commit, because CVS will not give you a chance to edit
	  the message when you do the actual commit.</para>
      </listitem>
    </orderedlist>

  </sect1>

  <sect1 id="conventions">
    <title>Conventions and Traditions</title>

    <para>As a new committer there are a number of things you should do
      first.</para>

    <itemizedlist>
      <listitem>
	<para>Add your author entity to
	  <filename>doc/en_US.ISO8859-1/share/sgml/authors.ent</filename>;
	  this should be done first since an omission of this commit will
	  cause the next commits to break the doc/ build.</para>

	<para>This is a relatively easy task, but remains a good first test of
	  your CVS skills.</para>
      </listitem>

      <listitem>
	<para>Add yourself to the <quote>Developers</quote> section of
	  the <ulink url="&url.articles.contributors;/index.html">Contributors List</ulink>
	  and remove yourself from the <quote>Additional
	  Contributors</quote> section.</para>
      </listitem>

      <listitem>
	<para>Add an entry for yourself to
	  <filename>www/en/news/news.xml</filename>. Look for the other
	  entries that look like <quote>A new committer</quote> and follow the
	  format.</para>
      </listitem>

      <listitem>
	<para>You should add your PGP or GnuPG key to
	  <filename>doc/share/pgpkeys</filename> (and if you do not
	  have a key, you should create one).  Do not forget to commit
	  the updated <filename>doc/share/pgpkeys/pgpkeys.ent</filename>.</para>

	<para>&a.des; has
	  written a shell script to make this extremely simple.  See the
	  <ulink
	  url="http://cvsweb.FreeBSD.org/doc/share/pgpkeys/README">README</ulink>
	  file for more information.</para>

	<note>
	  <para>It is important to have an up-to-date PGP/GnuPG key in
	    the Handbook, since the key may be required for positive
	    identification of a committer, e.g. by the &a.admins; for
	    account recovery.  A complete keyring of <hostid
	    role="domainname">FreeBSD.org</hostid> users is available
	    for download from <ulink
	    url="&url.base;/doc/pgpkeyring.txt">http://www.FreeBSD.org/doc/pgpkeyring.txt</ulink>.</para>
	</note>
      </listitem>

      <listitem>
	<para>Some people add an entry for themselves to
	  <filename>ports/astro/xearth/files/freebsd.committers.markers</filename>.</para>
      </listitem>

      <listitem>
	<para>Some people add an entry for themselves to
	  <filename>src/usr.bin/calendar/calendars/calendar.freebsd</filename>.</para>
      </listitem>

      <listitem>
	<para>Introduce yourself to the other committers, otherwise no one
	  will have any idea who you are or what you are working on.  You do
	  not have to write a comprehensive biography, just write a paragraph
	  or two about who you are and what you plan to be working on as a
	  committer in FreeBSD.  Email this to the &a.developers; and you will
	  be on your way!</para>
      </listitem>

      <listitem>
	<para>Log into <hostid>hub.FreeBSD.org</hostid> and create a
	  <filename>/var/forward/<replaceable>user</replaceable></filename>
	  (where <replaceable>user</replaceable> is your username) file
	  containing the e-mail address where you want mail addressed to
	  <replaceable>yourusername</replaceable>@FreeBSD.org to be forwarded.
	  This includes all of the commit messages as well as any other mail
	  addressed to the &a.committers; and the &a.developers;.  Really
	  large mailboxes which have taken up permanent residence on
	  <hostid>hub</hostid> often get <quote>accidentally</quote> truncated
	  without warning, so forward it or read it and you will not lose
	  it.</para>

	<para>Due to the severe load dealing with SPAM places on
	  the central mail servers that do the mailing list processing
	  the front-end server does do some basic checks and will
	  drop some messages based on these checks.  At the moment
	  proper DNS information for the connecting host is the only
	  check in place but that may change.  Some people blame these
	  checks for bouncing valid email.  If you want these checks
	  turned off for your email you can place a file named
	  <filename>~/.spam_lover</filename> in your home directory
	  on <hostid role="fqdn">freefall.FreeBSD.org</hostid> to
	  disable the checks for your email.</para>
      </listitem>

      <listitem>
	<para>If you are subscribed to the &a.cvsall;, you will
	  probably want to unsubscribe to avoid receiving duplicate
	  copies of commit messages and their followups.</para>
      </listitem>
    </itemizedlist>

    <para>All new committers also have a mentor assigned to them for
      the first few months.  Your mentor is responsible for teaching
      you the rules and conventions of the project and guiding your
      first steps in the committer community.  He or she is also
      personally responsible for your actions during this initial
      period.  Until your mentor decides (and announces with a forced
      commit to <filename>access</filename>) that you have learned the
      ropes and are ready to commit on your own, you should not commit
      anything without first getting your mentor's review and
      approval, and you should document that approval with an
      <literal>Approved by:</literal> line in the commit
      message.</para>

    <para>All <filename>src</filename> commits should go to
      &os.current; first before being merged to &os.stable;.  No major
      new features or high-risk modifications should be made to the
      &os.stable; branch.</para>
  </sect1>

  <sect1 id="pref-license">
    <title>Preferred License for New Files</title>

    <para>Currently the &os; Project suggests and uses the following
      text as the preferred license scheme:</para>

<programlisting>Copyright &copy; &lt;Year&gt; &lt;Author&gt;. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.</programlisting>

    <para>The &os; project strongly discourages the so called
      advertising clause in new code.  Due to the large number of
      contributors to the &os; project, complying with this clause for
      many commercial vendors has become difficult.  If you have code
      in the tree with the advertising clause, please consider
      removing it.  In fact, please consider using the above license
      for your code.</para>

    <para>The &os; project discourages completely new licenses and
      variations on the standard licenses.  New licenses require the
      approval of <email>core@FreeBSD.org</email> to reside in the
      main repository.  The more different licenses that are used in
      the tree, the more problems that this causes to those wishing to
      utilize this code, typically from unintended consequences from a
      poorly worded license.</para>

  </sect1>

  <sect1 id="developer.relations">
    <title>Developer Relations</title>

    <para>If you are working directly on your own code or on code
      which is already well established as your responsibility, then
      there is probably little need to check with other committers
      before jumping in with a commit.  If you see a bug in an area of
      the system which is clearly orphaned (and there are a few such
      areas, to our shame), the same applies.  If, however, you are
      about to modify something which is clearly being actively
      maintained by someone else (and it is only by watching the
      <literal>cvs-committers</literal> mailing list that you can
      really get a feel for just what is and is not) then consider
      sending the change to them instead, just as you would have
      before becoming a committer.  For ports, you should contact the
      listed <makevar>MAINTAINER</makevar> in the
      <filename>Makefile</filename>.  For other parts of the
      repository, if you are unsure who the active maintainer might
      be, it may help to scan the output of <command>cvs log</command>
      to see who has committed changes in the past.  &a.fenner; has
      written a nice shell script that can help determine who the
      active maintainer might be.  It lists each person who has
      committed to a given file along with the number of commits each
      person has made.  It can be found on <hostid>freefall</hostid>
      at <filename>~fenner/bin/whodid</filename>.  If your queries go
      unanswered or the committer otherwise indicates a lack of
      proprietary interest in the area affected, go ahead and commit
      it.</para>

    <para>If you are unsure about a commit for any reason at
      all, have it reviewed by <literal>-hackers</literal>
      before committing.  Better to have it flamed then and there
      rather than when it is part of the CVS repository.  If you do
      happen to commit something which results in controversy
      erupting, you may also wish to consider backing the change out
      again until the matter is settled.  Remember &ndash; with CVS we
      can always change it back.</para>

    <para>Do not impugn the intentions of someone you disagree with.
      If they see a different solution to a problem than you, or even
      a different problem, it is not because they are stupid, because
      they have questionable parentage, or because they are trying to
      destroy your hard work, personal image, or FreeBSD, but simply
      because they have a different outlook on the world.  Different
      is good.</para>

    <para>Disagree honestly.  Argue your position from its merits,
      be honest about any shortcomings it may have, and be open to
      seeing their solution, or even their vision of the problem,
      with an open mind.</para>

    <para>Accept correction.  We are all fallible.  When you have made
      a mistake, apologize and get on with life.  Do not beat up
      yourself, and certainly do not beat up others for your mistake.
      Do not waste time on embarrassment or recrimination, just fix
      the problem and move on.</para>

    <para>Ask for help.  Seek out (and give) peer reviews.  One of
      the ways open source software is supposed to excel is in the
      number of eyeballs applied to it; this does not apply if nobody
      will review code.</para>
  </sect1>

  <sect1 id="gnats">
    <title>GNATS</title>

    <para>The FreeBSD Project utilizes
      <application>GNATS</application> for tracking bugs and change
      requests.  Be sure that if you commit a fix or suggestion found
      in a <application>GNATS</application> PR, you use
      <command>edit-pr <replaceable>pr-number</replaceable></command>
      on <hostid>freefall</hostid> to close it.  It is also considered
      nice if you take time to close any PRs associated with your
      commits, if appropriate.  You can also make use of
      &man.send-pr.1; yourself for proposing any change which you feel
      should probably be made, pending a more extensive peer-review
      first.</para>

    <para>You can find out more about <application>GNATS</application>
      at:</para>

    <itemizedlist>
      <listitem>
	<para><ulink url="http://www.cs.utah.edu/csinfo/texinfo/gnats/gnats.html"></ulink></para>
      </listitem>

      <listitem>
	<para><ulink url="&url.base;/support.html">http://www.FreeBSD.org/support.html</ulink></para>
      </listitem>

      <listitem>
	<para>&man.send-pr.1;</para>
      </listitem>
    </itemizedlist>

    <para>You can run a local copy of GNATS, and then integrate the FreeBSD
      GNATS tree in to it using CVSup.  Then you can run GNATS commands
      locally, or use other interfaces, such as <command>tkgnats</command>.
      This lets you query the PR database without needing to be connected to
      the Internet.</para>

    <procedure>
      <title>Using a local GNATS tree</title>

      <step>
	<para>If you are not already downloading the GNATS tree, add this line
	  to your <filename>supfile</filename>, and re-sup. Note that since
	  GNATS is not under CVS control it has no tag, so if you are adding
	  it to your existing <filename>supfile</filename> it should appear
	  before any <quote>tag=</quote> entry as these remain active once set.
	</para>

	<programlisting>gnats release=current prefix=/usr</programlisting>

	<para>This will place the FreeBSD GNATS tree in
	  <filename>/usr/gnats</filename>.  You can use a
	  <emphasis>refuse</emphasis> file to control which categories to
	  receive.  For example, to only receive <literal>docs</literal> PRs,
	  put this line in
	  <filename>/usr/local/etc/cvsup/sup/refuse</filename><footnote>
	    <para>The precise path depends on the <literal>*default
		base</literal> setting in your
	      <filename>supfile</filename>.</para>
	  </footnote>.</para>

	<programlisting>gnats/[a-ce-z]*</programlisting>

	<para>The rest of these examples assume you have only supped the
	  <literal>docs</literal> category.  Adjust them as necessary,
	  depending on the categories you are syncing.</para>
      </step>

      <step>
	<para>Install the GNATS port from
	  <filename>ports/databases/gnats</filename>.  This will place the
	  various GNATS directories under
	  <filename>$PREFIX/share/gnats</filename>.</para>
      </step>

      <step>
	<para>Symlink the GNATS directories you are supping under the version
	  of GNATS you have installed.</para>

	<screen>&prompt.root; <userinput>cd /usr/local/share/gnats/gnats-db</userinput>
&prompt.root; <userinput>ln -s /usr/gnats/docs</userinput></screen>

	<para>Repeat as necessary, depending on how many GNATS categories you
	  are syncing.</para>
      </step>

      <step>
	<para>Update the GNATS <filename>categories</filename> file with these
	  categories.  The file is
	  <filename>$PREFIX/share/gnats/gnats-db/gnats-adm/categories</filename>.</para>

	<programlisting># This category is mandatory
pending:Category for faulty PRs:gnats-admin:
#
# FreeBSD categories
#
docs:Documentation Bug:freebsd-doc:</programlisting>
      </step>

      <step>
	<para>Run <filename>$PREFIX/libexec/gnats/gen-index</filename> to
	  recreate the GNATS index.  The output has to be redirected to
	  <filename>$PREFIX/share/gnats/gnats-db/gnats-adm/index</filename>.
	  You can do this periodically from &man.cron.8;, or run &man.cvsup.1;
	  from a shell script that does this as well.</para>

	<screen>&prompt.root; <userinput>/usr/local/libexec/gnats/gen-index \
	> /usr/local/share/gnats/gnats-db/gnats-adm/index</userinput></screen>
      </step>

      <step>
	<para>Test the configuration by querying the PR database.  This
	  command shows open <literal>docs</literal> PRs.</para>

	<screen>&prompt.root; <userinput>query-pr -c docs -s open</userinput></screen>

	<para>Other interfaces, such as that provided by the
	  <filename role="package">databases/tkgnats</filename> port should also work
	  nicely.</para>
      </step>

      <step>
	<para>Pick a PR and close it.</para>
      </step>
    </procedure>

    <note>
      <para>This procedure only works to allow you to view and query the PRs
	locally.  To edit or close them you will still have to log in to
	<hostid>freefall</hostid> and do it from there.</para>
    </note>
  </sect1>

  <sect1 id="people">
    <title>Who's Who</title>

    <para>Besides the repository
    meisters, there are other FreeBSD project members and teams whom you will
    probably get to know in your role as a committer.  Briefly,
    and by no means all-inclusively, these are:</para>

    <!-- XXX The TRB are missing -->

    <variablelist>

      <varlistentry>
	<term>&a.jhb;</term>

	<listitem>
	  <para>John is the manager of the SMPng Project, and has
	    authority over the architectural design and implementation
	    of the move to fine-grained kernel threading and locking.
	    He's also the editor of the SMPng Architecture Document.
	    If you are working on fine-grained SMP and locking, please
	    coordinate with John.  You can learn more about the
	    SMPng Project on its home page:
	    <ulink url="http://www.FreeBSD.org/smp/"></ulink></para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.jake;, &a.tmm;</term>

	<listitem>
	  <para>Jake and Thomas are the maintainers of the &sparc64; hardware
	    port.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.doceng;</term>

	<listitem>
	  <para>doceng is the group responsible for the documentation build
	    infrastructure, approving new documentation committers, and
	    ensuring that the FreeBSD website and documentation on the FTP
	    site is up to date with respect to the CVS tree.  It is not a
	    conflict resolution body.  The vast majority of documentation
	    related discussion takes place on the &a.doc;.  More details regarding the doceng team can be found in its <ulink url="http://www.FreeBSD.org/internal/doceng.html">charter</ulink>.  Committers
	    interested in contributing to the documentation should familiarize
	    themselves with the <ulink
	    url="&url.books.fdp-primer;/index.html">Documentation Project
	    Primer</ulink>.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.ru;</term>

	<listitem>
	  <para>Ruslan is Mister &man.mdoc.7;.  If you are writing a
	    manual page and need
	    some advice on the structure, or the markup, ask Ruslan.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.bde;</term>

	<listitem>
	  <para>Bruce is the Style Police-Meister.
	    When you do a commit that could have been done better,
	    Bruce will be there to tell you.  Be thankful that someone
	    is.  Bruce is also very knowledgeable on the various
	    standards applicable to FreeBSD.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.gallatin;</term>
	<term>&a.mjacob;</term>
	<term>&a.dfr;</term>
	<term>&a.obrien;</term>

	<listitem>
	  <para>These are the primary developers and overseers of the
	  DEC Alpha AXP platform.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.dg;</term>

	<listitem>
	  <para>David is the overseer of the
	    VM system.  If you have a VM system change in mind,
	    coordinate it with David.</para>
	</listitem>
      </varlistentry>

	  <varlistentry>
	<term>&a.dfr;</term>
	<term>&a.marcel;</term>
	<term>&a.peter;</term>
	<term>&a.ps;</term>

	<listitem>
	  <para>These are the primary developers and overseers of the
	  Intel IA-64 platform, officially known as the &itanium; Processor
	  Family (IPF).</para>
	</listitem>
	  </varlistentry>

      <varlistentry>
	<term>&a.murray;</term>
	<term>&a.steve;</term>
	<term>&a.rwatson;</term>
	<term>&a.jhb;</term>
	<term>&a.scottl;</term>
	<term>&a.kensmith;</term>
	<term>&a.hrs;</term>

	<listitem>
	  <para>These are the members of the &a.re;.  This team is
	    responsible for setting release deadlines and controlling
	    the release process.  During code freezes, the release
	    engineers have final authority on all changes to the
	    system for whichever branch is pending release status.  If
	    there is something you want merged from &os.current; to
	    &os.stable; (whatever values those may have at any given
	    time), these are the people to talk to about it.</para>

	  <para>Hiroki is also the keeper of the release documentation
	    (<filename>src/release/doc/*</filename>).  If you commit a
	    change that you think is worthy of mention in the release notes,
	    please make sure he knows about it.  Better still, send him
	    a patch with your suggested commentary.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.benno;</term>

	<listitem>
	  <para>Benno is the official maintainer of the &powerpc; port.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.brian;</term>

	<listitem>
	  <para>Official maintainer of
	    <filename>/usr/sbin/ppp</filename>.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.nectar;</term>

	<listitem>
	  <para>Jacques is the
	  <ulink url="&url.base;/security/">FreeBSD Security
	  Officer</ulink>
	  and oversees the &a.security-officer;.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.wollman;</term>

	<listitem>
	  <para>If you need advice on obscure network internals or
	    are not sure of some potential change to the networking
	    subsystem you have in mind, Garrett is someone to talk
	    to.  Garrett is also very knowledgeable on the various
	    standards applicable to FreeBSD.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.committers;</term>

	<listitem>
	  <para>cvs-committers is the entity that CVS uses to send you all your
	    commit messages.  You should <emphasis>never</emphasis> send email
	    directly to this list.  You should only send replies to this list
	    when they are short and are directly related to a commit.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>&a.developers;</term>

	<listitem>
	  <para>All committers are subscribed to -developers.  This list was created to be a
	    forum for the committers <quote>community</quote> issues.
	    Examples are Core
	    voting, announcements, etc.  This list is
	    <emphasis>not</emphasis> intended as a place for code reviews or a
	    replacement for the &a.arch; or the &a.audit;.  In fact
	    using it as such hurts the FreeBSD Project as it gives a sense of a
	    closed list where general decisions affecting all of the FreeBSD
	    using community are made without being <quote>open</quote>.
	    Last, but not least <emphasis>never, never ever, email
	    the &a.developers; and CC:/BCC: another FreeBSD list</emphasis>.
	    Never, ever email another FreeBSD email list and CC:/BCC:
	    the &a.developers;.  Doing so can greatly diminish the benefits
	    of this list.  Also, never publicly post or forward emails sent
	    to the &a.developers;.  The act of sending to
	    the &a.developers; vs. a public list means the information in
	    the email is not for public consumption.
	  </para>
	</listitem>
      </varlistentry>
    </variablelist>
  </sect1>

  <sect1 id="ssh.guide">
    <title>SSH Quick-Start Guide</title>

    <procedure>
      <step>
	<para>If you are using FreeBSD 4.0 or later,
	  OpenSSH is included in the base system.
	  If you are using an earlier release,
	  update and install one of the SSH ports.  In general,
	  you will probably want to get OpenSSH from the
	  <filename role="package">security/openssh</filename> port.  You
	  may also wish to check out the original ssh1 in the
	  <filename role="package">security/ssh</filename> port, but make
	  certain you pay attention to its license.  Note that both
	  of these ports cannot be installed at the same time.</para>
      </step>

      <step>
	<para>If you do not wish to type your password in every
	  time you use &man.ssh.1;, and you use RSA or DSA keys to
	  authenticate, &man.ssh-agent.1; is there for your
	  convenience.  If you want to use &man.ssh-agent.1;, make
	  sure that you run it before running other applications.  X
	  users, for example, usually do this from their
	  <filename>.xsession</filename> or
	  <filename>.xinitrc</filename> file.  See &man.ssh-agent.1;
	  for details.</para>
      </step>

      <step>
	<para>Generate a key pair using &man.ssh-keygen.1;.  The key
	  pair will wind up in your
	  <filename><envar>$HOME</envar>/.ssh/</filename>
	  directory.</para>
      </step>

      <step>
	<para>Send your public key
	  (<filename><envar>$HOME</envar>/.ssh/id_dsa.pub</filename>
	  or <filename><envar>$HOME</envar>/.ssh/id_rsa.pub</filename>)
	  to the person setting you up as a committer so it can be put
	  into <filename><replaceable>yourlogin</replaceable></filename> file in
	  <filename class="directory">/c/ssh-keys/</filename> on
	  <hostid>freefall</hostid>.
	</para>
      </step>
    </procedure>

    <para>Now you should be able to use &man.ssh-add.1; for
      authentication once per session.  This will prompt you for
      your private key's pass phrase, and then store it in your
      authentication agent (&man.ssh-agent.1;).  If you no longer
      wish to have your key stored in the agent, issuing
      <command>ssh-add -d</command> will remove it.</para>

    <para>Test by doing something such as <command>ssh
	freefall.FreeBSD.org ls /usr</command>.</para>

    <para>For more information, see
      <filename role="package">security/openssh</filename>, &man.ssh.1;,
      &man.ssh-add.1;, &man.ssh-agent.1;, &man.ssh-keygen.1;, and
      &man.scp.1;.</para>
  </sect1>

  <sect1 id="rules">
    <title>The FreeBSD Committers' Big List of Rules</title>

    <orderedlist>
      <listitem>
	<para>Respect other committers.</para>
      </listitem>

      <listitem>
	<para>Respect other contributors.</para>
      </listitem>

      <listitem>
	<para>Discuss any significant change
	  <emphasis>before</emphasis> committing.</para>
      </listitem>

      <listitem>
	<para>Respect existing maintainers (if listed in the
	  <makevar>MAINTAINER</makevar> field in
	  <filename>Makefile</filename> or in the
	  <filename>MAINTAINER</filename> file in the top-level
	  directory).</para>
      </listitem>

      <listitem>
	<para>Any disputed change must be backed out pending
	  resolution of the dispute if requested by a maintainer.
	  Security related changes may
	  override a maintainer's wishes at the Security Officer's
	  discretion.</para>
      </listitem>

      <listitem>
	<para>Changes go to &os.current; before
	  &os.stable; unless specifically permitted by
	  the release engineer or unless they are not applicable to
	  &os.current;.  Any non-trivial or non-urgent
	  change which is applicable should also be allowed to sit in
	  &os.current; for at least 3 days before
	  merging so that it can be given sufficient testing.  The
	  release engineer has the same authority over the
	  &os.stable; branch as outlined for the
	  maintainer in rule #5.</para>
      </listitem>

      <listitem>
	<para>Do not fight in public with other committers; it looks
	  bad.  If you must <quote>strongly disagree</quote> about
	  something, do so only in private.</para>
      </listitem>

      <listitem>
	<para>Respect all code freezes and read the
	  <literal>committers</literal> and <literal>developers</literal>
	  mailing lists in a timely manner so you know when a code freeze is
	  in effect.</para>
      </listitem>

      <listitem>
	<para>When in doubt on any procedure, ask first!</para>
      </listitem>

      <listitem>
	<para>Test your changes before committing them.</para>
      </listitem>

      <listitem>
	<para>Do not commit to anything under the
	  <filename>src/contrib</filename>,
	  <filename>src/crypto</filename>, and
	  <filename>src/sys/contrib</filename> trees without
	  <emphasis>explicit</emphasis> approval from the respective
	  maintainer(s).</para>
      </listitem>
    </orderedlist>

    <para>As noted, breaking some of these rules can be grounds for
      suspension or, upon repeated offense, permanent removal of
      commit privileges.  Individual members of core
      have the power to temporarily suspend commit privileges until
      core as a whole has the chance to review the
      issue.  In case of an <quote>emergency</quote> (a committer
      doing damage to the repository), a temporary suspension may also
      be done by the repository meisters.
      Only a 2/3 majority of core
      has the authority to suspend commit privileges for longer
      than a week or to remove them permanently.
      This rule does not exist to set core up as a bunch
      of cruel dictators who can dispose of committers as casually as
      empty soda cans, but to give the project a kind of safety fuse.
      If someone is out of control, it is important to be
      able to deal with this immediately rather than be paralyzed by
      debate.  In all cases, a committer whose privileges are
      suspended or revoked is entitled to a <quote>hearing</quote> by core,
      the total duration of the suspension being determined at that
      time.  A committer whose privileges are suspended may also
      request a review of the decision after 30 days and every 30 days
      thereafter (unless the total suspension period is less than 30
      days).  A committer whose privileges have been revoked entirely
      may request a review after a period of 6 months has elapsed.
      This review policy is <emphasis>strictly informal</emphasis>
      and, in all cases, core reserves the right to either act on or
      disregard requests for review if they feel their original
      decision to be the right one.</para>

    <para>In all other aspects of project operation, core is a subset
      of committers and is bound by the <emphasis>same
      rules</emphasis>.  Just because someone is in core this does not mean
      that they have special dispensation to step outside any of
      the lines painted here; core's <quote>special powers</quote>
      only kick in when it acts as a group, not on an individual
      basis.  As individuals, the core team members are all committers
      first and core second.</para>

    <sect2>
      <title>Details</title>

      <orderedlist>
	<listitem id="respect">
	  <para>Respect other committers.</para>

	  <para>This means that you need to treat other committers as
	    the peer-group developers that they are.  Despite our
	    occasional attempts to prove the contrary, one does not get
	    to be a committer by being stupid and nothing rankles more
	    than being treated that way by one of your peers.  Whether
	    we always feel respect for one another or not (and
	    everyone has off days), we still have to
	    <emphasis>treat</emphasis> other committers with respect
	    at all times, on public forums and in private email.</para>

	  <para>Being able to work together long term is this project's
	    greatest asset, one far more important than any set of
	    changes to the code, and turning arguments about code into
	    issues that affect our long-term ability to work
	    harmoniously together is just not worth the trade-off by
	    any conceivable stretch of the imagination.</para>

	  <para>To comply with this rule, do not send email when you are
	    angry or otherwise behave in a manner which is likely to
	    strike others as needlessly confrontational.  First calm
	    down, then think about how to communicate in the most
	    effective fashion for convincing the other person(s) that
	    your side of the argument is correct, do not just blow off
	    some steam so you can feel better in the short term at the
	    cost of a long-term flame war.  Not only is this very bad
	    <quote>energy economics</quote>, but repeated displays of
	    public aggression which impair our ability to work well
	    together will be dealt with severely by the project
	    leadership and may result in suspension or termination of
	    your commit privileges.  The project leadership will
	    take into account both public and private communications
	    brought before it.  It will not seek the disclosure of
	    private communications, but it will take it into account
	    if it is volunteered by the committers involved in the
	    complaint.</para>

	    <para>All of this is never an option which the
	    project's leadership enjoys in the slightest, but unity
	    comes first.  No amount of code or good advice is worth
	    trading that away.</para>
	</listitem>

	<listitem>
	  <para>Respect other contributors.</para>

	  <para>You were not always a committer. At one time you were
	    a contributor. Remember that at all times. Remember what
	    it was like trying to get help and attention.  Do not forget
	    that your work as a contributor was very important to
	    you.  Remember what it was like. Do not discourage, belittle,
	    or demean contributors.  Treat them with respect.  They are
	    our committers in waiting.  They are every bit as important
	    to the project as committers. Their contributions are as
	    valid and as important as your own.  After all, you made
	    many contributions before you became a committer.  Always
	    remember that.  </para>

	  <para>Consider the points raised under <xref linkend="respect">
	    and apply them also to contributors.</para>
	</listitem>

	<listitem>
	  <para>Discuss any significant change
	    <emphasis>before</emphasis> committing.</para>

	  <para>The CVS repository is not where changes should be
	    initially submitted for correctness or argued over, that
	    should happen first in the mailing lists and the commit should
	    only happen once something resembling consensus has
	    been reached.  This does not mean that you have to ask
	    permission before correcting every obvious syntax error or
	    manual page misspelling, simply that you should try to
	    develop a feel for when a proposed change is not quite such
	    a no-brainer and requires some feedback first.  People
	    really do not mind sweeping changes if the result is
	    something clearly better than what they had before, they
	    just do not like being <emphasis>surprised</emphasis> by
	    those changes.  The very best way of making sure that
	    you are on the right track is to have your code reviewed by
	    one or more other committers.</para>

	  <para>When in doubt, ask for review!</para>
	</listitem>

	<listitem>
	  <para>Respect existing maintainers if listed.</para>

	  <para>Many parts of FreeBSD are not <quote>owned</quote> in
	    the sense that any specific individual will jump up and
	    yell if you commit a change to <quote>their</quote> area,
	    but it still pays to check first.  One convention we use
	    is to put a maintainer line in the
	    <filename>Makefile</filename> for any package or subtree
	    which is being actively maintained by one or more people;
	    see <ulink
	    url="&url.books.developers-handbook;/policies.html"></ulink>
	    for documentation on this.  Where sections of code have
	    several maintainers, commits to affected areas by one
	    maintainer need to be reviewed by at least one other
	    maintainer.  In cases where the
	    <quote>maintainer-ship</quote> of something is not clear,
	    you can also look at the CVS logs for the file(s) in
	    question and see if someone has been working recently or
	    predominantly in that area.</para>

	  <para>Other areas of FreeBSD fall under the control of
	    someone who manages an overall category of FreeBSD
	    evolution, such as internationalization or networking.
	    See <ulink
	    url="&url.articles.contributors;/staff-who.html">
	    http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/contributors/staff-who.html</ulink>
	    for more information on this.</para>
	</listitem>

	<listitem>
	  <para>Any disputed change must be backed out pending
	    resolution of the dispute if requested by a maintainer.
	    Security related changes may
	    override a maintainer's wishes at the Security Officer's
	    discretion.</para>

	  <para>This may be hard to swallow in times of conflict (when
	    each side is convinced that they are in the right, of
	    course) but CVS makes it unnecessary to have an ongoing
	    dispute raging when it is far easier to simply reverse the
	    disputed change, get everyone calmed down again and then
	    try to figure out what is the best way to proceed.  If the change
	    turns out to be the best thing after all, it can be easily
	    brought back. If it turns out not to be, then the users
	    did not have to live with the bogus change in the tree
	    while everyone was busily debating its merits.  People
	    very very rarely call for back-outs in the repository
	    since discussion generally exposes bad or controversial
	    changes before the commit even happens, but on such rare
	    occasions the back-out should be done without argument so
	    that we can get immediately on to the topic of figuring
	    out whether it was bogus or not.</para>
	</listitem>

	<listitem>
	  <para>Changes go to &os.current; before
	    &os.stable; unless specifically permitted
	    by the release engineer or unless they are not applicable
	    to &os.current;.  Any non-trivial or
	    non-urgent change which is applicable should also be
	    allowed to sit in &os.current; for at least
	    3 days before merging so that it can be given sufficient
	    testing.  The release engineer has the same authority over
	    the &os.stable; branch as outlined in rule
	    #5.</para>

	  <para>This is another <quote>do not argue about it</quote>
	    issue since it is the release engineer who is ultimately
	    responsible (and gets beaten up) if a change turns out to
	    be bad.  Please respect this and give the release engineer
	    your full cooperation when it comes to the
	    &os.stable; branch.  The management of
	    &os.stable; may frequently seem to be
	    overly conservative to the casual observer, but also bear
	    in mind the fact that conservatism is supposed to be the
	    hallmark of &os.stable; and different rules
	    apply there than in &os.current;.  There is
	    also really no point in having &os.current;
	    be a testing ground if changes are merged over to
	    &os.stable; immediately.  Changes need a
	    chance to be tested by the &os.current;
	    developers, so allow some time to elapse before merging
	    unless the &os.stable; fix is critical,
	    time sensitive or so obvious as to make further testing
	    unnecessary (spelling fixes to manual pages, obvious bug/typo
	    fixes, etc.)  In other words, apply common sense.</para>

	  <para>Changes to the security branches
	    (for example, <literal>RELENG_4_5</literal>) must be
	    approved by a member of the &a.security-officer;, or in
	    some cases, by a member of the &a.re;.</para>
	</listitem>

	<listitem>
	  <para>Do not fight in public with other committers; it looks
	    bad.  If you must <quote>strongly disagree</quote> about
	    something, do so only in private.</para>

	  <para>This project has a public image to uphold and that
	    image is very important to all of us, especially if we are
	    to continue to attract new members.  There will be
	    occasions when, despite everyone's very best attempts at
	    self-control, tempers are lost and angry words are
	    exchanged.  The best thing that can be done in such cases is to minimize
	    the effects of this until everyone has cooled back down.  That
	    means that you should not air your angry words in public
	    and you should not forward private correspondence to
	    public mailing lists or aliases.  What people say
	    one-to-one is often much less sugar-coated than what they
	    would say in public, and such communications therefore
	    have no place there - they only serve to inflame an
	    already bad situation. If the person sending you a
	    flame-o-gram at least had the grace to send it privately,
	    then have the grace to keep it private yourself.  If you
	    feel you are being unfairly treated by another developer,
	    and it is causing you anguish, bring the matter up with
	    core rather than taking it public.  Core will do its best to
	    play peace makers and get things back to sanity.  In cases
	    where the dispute involves a change to the codebase and
	    the participants do not appear to be reaching an amicable
	    agreement, core may appoint a mutually-agreeable 3rd party
	    to resolve the dispute.  All parties involved must then
	    agree to be bound by the decision reached by this 3rd
	    party.</para>
	    <!-- XXX Mention TRB here too -->
	</listitem>

	<listitem>
	  <para>Respect all code freezes and read the
	    <literal>committers</literal> and <literal>developers</literal>
	    mailing list on a timely basis so you know when a code freeze is
	    in effect.</para>

	  <para>Committing unapproved changes during a code freeze is a really
	    big mistake and committers are expected to keep up-to-date
	    on what is going on before jumping in after a long absence
	    and committing 10 megabytes worth of accumulated stuff.
	    People who abuse this on a regular basis will have their
	    commit privileges suspended until they get back from the
	    FreeBSD Happy Reeducation Camp we run in Greenland.</para>
	</listitem>

	<listitem>
	  <para>When in doubt on any procedure, ask first!</para>

	  <para>Many mistakes are made because someone is in a hurry
	    and just assumes they know the right way of doing
	    something.  If you have not done it before, chances are
	    good that you do not actually know the way we do things
	    and really need to ask first or you are going to
	    completely embarrass yourself in public.  There is no shame
	    in asking <quote>how in the heck do I do this?</quote> We
	    already know you are an intelligent person; otherwise, you
	    would not be a committer.</para>
	</listitem>

	<listitem>
	  <para>Test your changes before committing them.</para>

	  <!-- XXX Needs update re sparc64 + pc98
	    Also, needs more details on which machines are available for testing
	  -->
	  <para>This may sound obvious, but if it really were so
	    obvious then we probably would not see so many cases of
	    people clearly not doing this.  If your changes are to the
	    kernel, make sure you can still compile both GENERIC and
	    LINT.  If your changes are anywhere else, make sure you
	    can still make world.  If your changes are to a branch,
	    make sure your testing occurs with a machine which is
	    running that code.  If you have a change which also may
	    break another architecture, be sure and test on all
	    supported architectures.  Please refer to the <ulink
	    url="http://www.FreeBSD.org/internal/">FreeBSD Internal
	    Page</ulink> for a list of available resources.  As other
	    architectures are added to the FreeBSD supported platforms
	    list, the appropriate shared testing resources will be
	    made available.</para>
	</listitem>

	<listitem>
	  <para>Do not commit to anything under the
	    <filename>src/contrib</filename>,
	    <filename>src/crypto</filename>, and
	    <filename>src/sys/contrib</filename> trees without
	    <emphasis>explicit</emphasis> approval from the respective
	    maintainer(s).</para>

	  <para>The trees mentioned above are for contributed software
	    usually imported onto a vendor branch.  Committing something
	    there, even if it does not take the file off the vendor branch,
	    may cause unnecessary headaches for those responsible for
	    maintaining that particular piece of software.  Thus, unless
	    you have <emphasis>explicit</emphasis> approval from the
	    maintainer (or you are the maintainer), do
	    <emphasis>not</emphasis> commit there!</para>

	  <para>Please note that this does not mean you should not try to
	    improve the software in question; you are still more than
	    welcome to do so.  Ideally, you should submit your patches to
	    the vendor.  If your changes are FreeBSD-specific, talk to the
	    maintainer; they may be willing to apply them locally.  But
	    whatever you do, do <emphasis>not</emphasis> commit there by
	    yourself!</para>

	  <para>Contact the &a.core; if you wish to take up maintainership
	    of an unmaintained part of the tree.</para>
	</listitem>
      </orderedlist>
    </sect2>

    <sect2>
      <title>Policy on Multiple Architectures</title>

      <para>FreeBSD has added several new arch ports during the 5.0
	release cycle and is truly no longer an &i386; centric operating
	system.  In an effort to make it easier to keep FreeBSD portable
	across the platforms we support, core has developed the following
	mandate:</para>

	<blockquote>
	  <para>Our 32 bit reference platform is i386, and our 64 bit
	    reference platform is Sparc64.  Major design work (including
	    major API and ABI changes) must prove itself on at least one
	    32 bit and at least one 64 bit platform, preferably the
	    primary reference platforms, before it may be committed
	    to the source tree.</para>
	</blockquote>

      <para>The i386 and Sparc64 platforms were chosen due to being more
	readily available to developers and as representatives of more
	diverse processor and system designs - big vs little endian,
	register file vs register stack, different DMA and cache
	implementations, hardware page tables vs software TLB management
	etc.</para>

      <para>While the Alpha is a 64 bit processor, it is a more
	traditional processor design and does not provide as good a testbed
	for many of the challenges that the other 64 bit platform ports
	face.  The ia64 platform has many of the same complications that
	Sparc64 has, but is still limited in availability to
	developers.</para>

      <para>We will continue to re-evaluate this policy as cost and
	availability of the 64 bit platforms change.</para>

      <para>Developers should also be aware of our Tier Policy for
	the long term support of hardware architectures.  The rules
	here are intended to provide guidance during the development
	process, and are distinct from the requirements for features
	and architectures listed in that section.  The Tier rules for
	feature support on architectures at release-time are more
	strict than the rules for changes during the development
	process.</para>
    </sect2>

    <sect2>
      <title>Other Suggestions</title>

      <para>When committing documentation changes, use a spell checker
	before committing.  For all SGML docs, you should also
	verify that your formatting directives are correct by running
	<command>make lint</command>.</para>

      <para>For all on-line manual pages, run <command>manck</command>
	(from ports) over the manual page to verify all of the cross
	references and file references are correct and that the man
	page has all of the appropriate <makevar>MLINK</makevar>s
	installed.</para>

      <para>Do not mix style fixes with new functionality.  A style
	fix is any change which does not modify the functionality of
	the code.  Mixing the changes obfuscates the functionality
	change when using <command>cvs diff</command>, which can hide
	any new bugs.  Do not include whitespace changes with content
	changes in commits to <filename>doc/</filename> or
	<filename>www/</filename>.  The extra clutter in the diffs
	makes the translators' job much more difficult.  Instead, make
	any style or whitespace changes in separate commits that are
	clearly labeled as such in the commit message.</para>
    </sect2>

    <sect2>
      <title>Deprecating Features</title>

      <para>When it is necessary to remove functionality from software
	in the base system the following guidelines should be followed
	whenever possible:</para>

      <orderedlist>
	<listitem>
	  <para>Mention is made in the manual page and possibly the
	    release notes that the option, utility, or interface is
	    deprecated.  Use of the deprecated feature generates a
	    warning.</para>
	</listitem>

	<listitem>
	  <para>The option, utility, or interface is preserved until
	    the next major (point zero) release.</para>
	</listitem>

	<listitem>
	  <para>The option, utility, or interface is removed and no
	    longer documented.  It is now obsolete.  It is also
	    generally a good idea to note its removal in the release
	    notes.</para>
	</listitem>
      </orderedlist>
    </sect2>
  </sect1>

  <sect1 id="archs">
    <title>Support for Multiple Architectures</title>

    <para>FreeBSD is a highly portable operating system intended to
      function on many different types of hardware architectures.
      Maintaining clean separation of Machine Dependent (MD) and Machine
      Independent (MI) code, as well as minimizing MD code, is an important
      part of our strategy to remain agile with regards to current
      hardware trends.  Each new hardware architecture supported by
      FreeBSD adds substantially to the cost of code maintenance,
      toolchain support, and release engineering.  It also dramatically
      increases the cost of effective testing of kernel changes.  As such,
      there is strong motivation to differentiate between classes of
      support for various architectures while remaining strong in a few
      key architectures that are seen as the FreeBSD "target audience".
      </para>

    <sect2>
      <title>Statement of General Intent</title>

      <para>The FreeBSD Project targets "production quality commercial
	off-the-shelf (COTS) workstation, server, and high-end embedded
	systems".  By retaining a focus on a narrow set of architectures
	of interest in these environments, the FreeBSD Project is able
	to maintain high levels of quality, stability, and performance,
	as well as minimize the load on various support teams on the
	project, such as the ports team, documentation team,
	security officer, and release engineering teams.  Diversity in
	hardware support broadens the options for FreeBSD consumers by
	offering new features and usage opportunities (such as support
	for 64-bit CPUs, use in embedded environments, etc.), but these
	benefits must always be carefully considered in terms of the real-world
	maintenance cost associated with additional platform support.
	</para>

      <para>The FreeBSD Project differentiates platform targets into
	four tiers.  Each tier includes a specification of the
	requirements for an architecture to be in that tier,
	as well as specifying the obligations of developers with
	regards to the platform.  In addition, a policy is defined
	regarding the circumstances required to change the tier
	of an architecture.</para>
    </sect2>

    <sect2>
      <title>Tier 1: Fully Supported Architectures</title>

      <para>Tier 1 platforms are fully supported by the security
	officer, release engineering, and toolchain maintenance staff.
	New features added to the operating system must be fully
	functional across all Tier 1 architectures for every release
	(features which are inherently architecture-specific, such as
	support for hardware device drivers, may be exempt from this
	requirement).  In general, all Tier 1 platforms must have build
	and tinderbox support either in the FreeBSD.org cluster, or
	easily available for all developers.</para>

      <para>Tier 1 architectures are expected to be Production Quality
	with respects to all aspects of the FreeBSD operating system,
	including installation and development environments.</para>

      <para>Current Tier 1 platforms are i386, Sparc64, AMD64, and PC98.</para>
    </sect2>

    <sect2>
      <title>Tier 2: Developmental Architectures</title>

      <para>Tier 2 platforms are not supported by the security officer
	and release engineering teams.  At the discretion of the
	toolchain maintainer, they may be supported in the toolchain.  New
	features added to FreeBSD should be feasible to implement on these
	platforms, but an implementation is not required before the
	feature may be added to the FreeBSD source tree. The
	implementation of a Tier 2 architecture may be committed to the
	main FreeBSD tree as long as it does not interfere with
	production work on Tier 1 platforms, or substantially with other
	Tier 2 platforms.  Before a Tier 2 platform can be added to the
	FreeBSD base source tree, the platform must be able to boot to at
	least single-user mode on real world commodity hardware.  Some
	exceptions to these rules may be made for new hardware that is
	under development by hardware vendors, but not yet available to
	the project.</para>

      <para>Tier 2 architectures are usually systems targeted at Tier 1
	support, but that are still under development.  Architectures
	reaching end of life may also be moved from Tier 1 status to Tier
	2 status as the availability of resources to continue to maintain
	the system in a Production Quality state diminishes.</para>

      <para>Current Tier 2 platforms are Alpha, PowerPC and ia64.</para>
    </sect2>

    <sect2>
      <title>Tier 3: Experimental Architectures</title>

      <para>Tier 3 platforms are not supported by the security officer
	and release engineering teams.  At the discretion of the toolchain
	maintainer, they may be supported in the toolchain.  Tier 3
	platforms are architectures for which hardware is not or will not
	be available to the project in the foreseeable future, for which
	there are two or fewer active developers, that can not boot to at
	least single-user mode on real hardware (or a simulator for new
	hardware platforms), or which are considered legacy systems
	unlikely to see broad future use.  Tier 3 systems will not be
	committed to the base source tree, although support for Tier 3
	systems may be worked on in the FreeBSD Perforce Repository,
	providing source control and easier change integration from the
	main FreeBSD tree.</para>

      <para>Current Tier 3 platforms are &s390;.</para>
    </sect2>

    <sect2>
      <title>Tier 4: Unsupported Architectures</title>

      <para>Tier 4 systems are not supported in any form by the project.
	</para>

      <para>All systems not otherwise classified into a support tier
	are Tier 4 systems.</para>
    </sect2>

    <sect2>
      <title>Policy on Changing the Tier of an Architecture</title>

      <para>Systems may only be moved from one tier to another by
	approval of the FreeBSD Core Team, which shall make that
	decision in collaboration with the Security Officer, Release
	Engineering, and toolchain maintenance teams.</para>
    </sect2>
  </sect1>

  <sect1 id="ports">
    <title>Ports Specific FAQ</title>

    <qandaset>
      <qandadiv>
	<title>Adding a New Port</title>

	<qandaentry>
	  <question>
	    <para>How do I add a new port?</para>
	  </question>

	  <answer>
	    <para>First, please read the section about repository
	      copies.</para>

	    <para>The easiest way to add a new port is to use the
	      <command>addport</command> script on
	      <hostid>freefall</hostid>.  It will add a port from the
	      directory you specify, determining the category automatically
	      from the port <filename>Makefile</filename>.
	      It will also add an entry to the
	      <filename>CVSROOT/modules</filename> file and the port's
	      category <filename>Makefile</filename>.  It was
	      written by &a.mharo; and &a.will;, but Will is the current
	      maintainer so please send questions/patches about
	      <command>addport</command> to him.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>Any other things I need to know when I add a new
	      port?</para>
	  </question>

	  <answer>
	    <para>Check the port, preferably to make sure it compiles
	      and packages correctly.  This is the recommended
	      sequence:</para>

	    <screen>&prompt.root; <userinput>make install</userinput>
&prompt.root; <userinput>make package</userinput>
&prompt.root; <userinput>make deinstall</userinput>
&prompt.root; <userinput>pkg_add <replaceable>package you built above</replaceable></userinput>
&prompt.root; <userinput>make deinstall</userinput>
&prompt.root; <userinput>make reinstall</userinput>
&prompt.root; <userinput>make package</userinput>
	    </screen>

	    <para>The
	      <ulink url="&url.books.porters-handbook;/index.html">Porters
	      Handbook</ulink> contains more detailed
	      instructions.</para>

	    <para>Use &man.portlint.1; to check the syntax of the port.
	      You do not necessarily have to eliminate all warnings but
	      make sure you have fixed the simple ones.</para>

	    <para>If the port came from a submitter who has not
	      contributed to the project before, add that person's
	      name to the <ulink
	      url="&url.articles.contributors;/contrib-additional.html">Additional
	      Contributors</ulink> section of the FreeBSD Contributors
	      List.</para>

	    <para>Close the PR if the port came in as a PR.  To close
	      a PR, just do
	      <userinput>edit-pr <replaceable>PR#</replaceable></userinput>
	      on <hostid>freefall</hostid> and change the
	      <varname>state</varname> from <constant>open</constant>
	      to <constant>closed</constant>.  You will be asked to
	      enter a log message and then you are done.</para>
	  </answer>
	</qandaentry>
      </qandadiv>

      <qandadiv>
	<title>Repository Copies</title>

	<qandaentry>
	  <question>
	    <para>When do we need a repository copy?</para>
	  </question>

	  <answer>
	    <para>When you want to add a port that is related to
	      any port that is already in the tree in a separate
	      directory, you have to do a repository copy.
	      Here <wordasword>related</wordasword> means
	      it is a different version or a slightly modified
	      version.  Examples are
	      <filename>print/ghostscript*</filename> (different
	      versions) and <filename>x11-wm/windowmaker*</filename>
	      (English-only and internationalized version).</para>

	    <para>Another example is when a port is moved from one
	      subdirectory to another, or when you want to change the
	      name of a directory because the author(s) renamed their
	      software even though it is a
	      descendant of a port already in a tree.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>When do we <emphasis>not</emphasis> need a
	      repository copy?</para>
	  </question>

	  <answer>
	    <para>When there is no history to preserve.  If a port is
	      added into a wrong category and is moved immediately,
	      it suffices to simply <command>cvs remove</command> the
	      old one and <command>addport</command> the new
	      one.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>What do I need to do?</para>
	  </question>

	  <answer>
	    <para>File a PR in <application>GNATS</application>, listing the
	      reasons for the repository copy request.  Assign it to
	      <literal>portmgr</literal> and set <varname>state</varname> to
	      <literal>repocopy</literal>.  If &a.portmgr; approves it,
	      it will be reassigned to <literal>pcvs</literal>.
	      If so inclined, <literal>portmgr</literal> may do
	      the copy directly; otherwise, &a.pcvs; will
	      do a repository copy from the old to the new location, and
	      reassign the PR back to you.  Once everything is done, perform the
	      following:</para>

	    <itemizedlist>
	      <listitem>
		<para>When a port has been repo copied:</para>

		<procedure>
		  <step>
		    <para>Upgrade the copied port to the new version (remember
		      to change the <makevar>PORTNAME</makevar> so there
		      are not duplicate ports with the same name).</para>
		  </step>

		  <step>
		    <para>Add the new subdirectory to the
		      <makevar>SUBDIR</makevar> listing in the parent
		      directory Makefile.  You can run <command>make
		      checksubdirs</command> in the parent directory to check
		      this.</para>
		  </step>

		  <step>
		    <para>If the port changed categories, modify the
		      <makevar>CATEGORIES</makevar> line of the port's
		      <filename>Makefile</filename> accordingly</para>
		  </step>

		  <step>
		    <para>Add the new module entry.</para>
		  </step>

		  <step>
		    <para>Add an entry to
		      <filename>ports/MOVED</filename>.</para>
		  </step>
		</procedure>
	      </listitem>

	      <listitem>
		<para>When removing a port:</para>

		<procedure>
		  <step>
		    <para>Perform a thorough check of the ports collection for
		      any dependencies on the old port location/name, and
		      update them.  Running <command>grep</command> on
		      <filename>INDEX</filename> is not enough because some
		      ports have dependencies enabled by compile-time options.
		      A full <command>grep -r</command> of the ports
		      collection is recommended.</para>
		  </step>

		  <step>
		    <para>Remove the old port, the old
		      <makevar>SUBDIR</makevar> entry and the old module
		      entry.</para>
		  </step>

		  <step>
		    <para>Add an entry to
		      <filename>ports/MOVED</filename>.</para>
		  </step>
		</procedure>
	      </listitem>

	      <listitem>
		<para>After repo moves (<quote>rename</quote> operations where
		  a port is copied and the old location is removed):</para>

		<procedure>
		  <step>
		    <para>Follow the same steps that are outlined in the
		      previous two entries, to activate the new location of
		      the port and remove the old one.</para>
		  </step>
		</procedure>
	      </listitem>
	    </itemizedlist>
	  </answer>
	</qandaentry>
      </qandadiv>

      <qandadiv>
	<title>Ports Freeze</title>

	<qandaentry>
	  <question>
	    <para>What is a <quote>ports freeze</quote>?</para>
	  </question>

	  <answer>
	    <para>Before a release, it is necessary to restrict
	      commits to the ports tree for a short period of time
	      while the packages and the release itself are being
	      built.  This is to ensure consistency among the various
	      parts of the release, and is called the <quote>ports
	      freeze</quote>.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>How long is a ports freeze?</para>
	  </question>

	  <answer>
	    <para>Usually an hour or two.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>What does it mean to me?</para>
	  </question>

	  <answer>
	    <para>During the ports freeze, you are not allowed to
	      commit anything to the tree without explicit approval
	      from the ports manager.  <quote>Explicit
	      approval</quote> here means either of the
	      following:</para>

	    <itemizedlist>
	      <listitem>
		<para>You asked the ports manager and got a reply
		  saying, <quote>Go ahead and commit
		  it.</quote></para>
	      </listitem>

	      <listitem>
		<para>The ports manager sent a mail to you or the
		  mailing lists during the ports freeze pointing out
		  that the port is broken and has to be fixed.</para>
	      </listitem>
	    </itemizedlist>

	    <para>Note that you do not have implicit permission to fix
	      a port during the freeze just because it is
	      broken.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>How do I know when the ports freeze starts?</para>
	  </question>

	  <answer>
	    <para>The ports manager will send out warning messages to
	      the &a.ports; and &a.committers;
	      announcing the start of the impending release, usually
	      two or three weeks in advance.  The exact starting time
	      will not be determined until a few days before the
	      actual release.  This is because the ports freeze has to
	      be synchronized with the release, and it is usually not
	      known until then when exactly the release will be
	      rolled.</para>

	    <para>When the freeze starts, there will be another
	      announcement to the &a.committers;, of course.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>How do I know when the ports freeze ends?</para>
	  </question>

	  <answer>
	    <para>A few hours after the release, the ports manager
	      will send out a mail to the &a.ports; and &a.committers;
	      announcing the end of the ports freeze.  Note that the
	      release being cut does not automatically end the freeze.
	      We have to make sure there will not be any last minute
	      snafus that result in an immediate re-rolling of the
	      release.</para>
	  </answer>
	</qandaentry>
      </qandadiv>

      <qandadiv>
	<title>Creating a New Category</title>

	<qandaentry>
	  <question>
	    <para>What is the procedure for creating a new category?</para>
	  </question>

	  <answer>
	    <para>A developer who wishes to propose a new category
	      should submit a detailed rationale for the new category,
	      including why existing categories are not sufficient,
	      and the list of ports proposed to move.</para>

	    <para>Before submitting, keep in mind that there is a fair
	      amount of work involved from multiple parties; that the
	      changes affect everyone who wants to keep up-to-date with
	      the entire ports tree; and that such proposals tend to
	      attract controversy.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>What do I need to do?</para>
	  </question>

	  <answer>
	    <para>The procedure is a strict superset of the one to
	      repocopy individual ports (see above).</para>

	    <para>File a PR in <application>GNATS</application>, listing the
	      reasons for the category request.  Preferably, this should
	      also include patches for <filename>Makefile</filename>s for
	      the old ports, the <filename>Makefile</filename>s for their
	      old categories, and the <makevar>VALID_CATEGORIES</makevar>
	      definition in <filename>ports/Mk/bsd.port.mk</filename>.
	      Assign the PR to the &a.portmgr; (as <literal>portmgr</literal>).
	      If they approve it, it will be reassigned to &a.cvsadm; (as
	      <literal>cvs</literal>), who will do a repository copy from
	      the old to the new locations and reassign the PR back to you.
	      Once everything is done, perform the following steps:</para>

	      <procedure>
		<step>
		  <para>Upgrade each copied port's
		    <filename>Makefile</filename>.  Do not connect the
		    new category to the build yet.</para>

		  <para>To do this, you will need to:</para>
		    <procedure>
		      <step>
			<para>Change the port's <makevar>CATEGORIES</makevar>
			  (this was the point of the exercise, remember?)
			  The new category should be listed
			  <emphasis>first</emphasis>.  This will help to
			  ensure that the the <makevar>PKGORIGIN</makevar>
			  is correct.</para>
		      </step>

		      <step>
			<para>Run a <command>make describe</command>.  Since
			  the top-level <command>make index</command> that
			  you will be running in a few steps is an iteration
			  of <command>make describe</command> over the entire
			  ports hierarchy, catching any errors here will
			  save you having to re-run that step later on.</para>
		      </step>

		      <step>
			<para>If you want to be really thorough, now might
			  be a good time to run &man.portlint.1;.</para>
		      </step>
		    </procedure>
		</step>

		<step>
		  <para>Check that the <makevar>PKGORIGIN</makevar>s are
		    correct.  The ports system uses each port's
		    <makevar>CATEGORIES</makevar> entry to create
		    its <makevar>PKGORIGIN</makevar>, which is used to
		    connect installed packages to the port directory they
		    were built from. If this entry is wrong, common port
		    tools like &man.pkg.version.1; and
		    &man.portupgrade.1; fail.</para>

		  <para>To do this, use the <filename>chkorigin.sh</filename>
		    tool, as follows: <command>env
		    PORTSDIR=<replaceable>/path/to/ports</replaceable>
		    sh -e <replaceable>/path/to/ports</replaceable>/Tools/scripts/chkorigin.sh
		    </command>.  This will check <emphasis>every</emphasis>
		    port in the ports tree, even those not connected to the
		    build, so you can run it directly after the repocopy.
		    Hint: do not forget to look at the
		    <makevar>PKGORIGIN</makevar>s of any slave ports of the
		    ports you just repocopied!</para>
		</step>

		<step>
		  <para>On your own local system, test the proposed
		    changes: first, comment out the
		    <makevar>SUBDIR</makevar> entries in the old
		    ports' categories' <filename>Makefile</filename>s;
		    then enable building the new category in
		    <filename>ports/Makefile</filename>.
		    Run <command>make checksubdirs</command> in the
		    affected category directories to check the
		    <makevar>SUBDIR</makevar> entries.  Next, in
		    the <filename class="directory">ports/</filename>
		    directory, run <command>make index</command>.  This
		    can take over 40 minutes on even modern systems;
		    however, it is a necessary step to prevent problems
		    for other people.</para>
		</step>

		<step>
		  <para>Once this is done, you can commit the
		    updated <filename>ports/Makefile</filename> to
		    connect the new category to the build and also
		    commit the <filename>Makefile</filename> changes
		    for the old category or categories.</para>
		</step>

		<step>
		  <para>Change all the affected module entries in
		    <filename>CVSROOT-ports/modules</filename>.</para>
		</step>

		<step>
		  <para>Add appropriate entries to
		    <filename>ports/MOVED</filename>.</para>
		</step>

		<step>
		  <para>Update the instructions for &man.cvsup.1; by
		    modifying <filename>distrib/cvsup/sup/README</filename>
		    and adding the following files into
		    <filename>cvsup/sup/ports-categoryname</filename>:
		    <filename>list.cvs</filename> and
		    <filename>releases</filename>.  (Note: these are
		    in the src, not the ports, repository).</para>
		</step>

		<step>
		  <para>Submit a docs PR to add the new category to both the
		    <ulink url="&url.books.porters-handbook;/makefile-categories.html#PORTING-CATEGORIES">
		    Porter's Handbook</ulink> and to
		    <filename>www/en/ports/categories</filename>.</para>
		</step>

		<step>
		  <para>The procedure to update the <ulink
		    url="&url.base;/ports/index.html">ports web pages</ulink>
		    to reflect the new category is not yet defined.</para>
		</step>

		<step>
		  <para>Only once all the above have been done, and
		    no one is any longer reporting problems with the
		    new ports, should the old ports be deleted from
		    their previous locations in the repository.</para>
		</step>
	      </procedure>
	  </answer>
	</qandaentry>
      </qandadiv>

      <qandadiv>
	<title>Miscellaneous Questions</title>

	<qandaentry>
	  <question>
	    <para>How do I know if my port is building correctly or
	      not?</para>
	  </question>

	  <answer>
	    <para>First, go check
	      <ulink url="http://pointyhat.FreeBSD.org/errorlogs/"></ulink>.
	      There you will find error logs from the latest package
	      building runs on all supported platforms for the most
	      recent branches.</para>

	    <para>However, just because the port does not show up there
	      does not mean it is building correctly.  (One of the
	      dependencies may have failed, for instance.)  The relevant
	      directories are available on <hostid>pointyhat</hostid> under
	      <filename class="directory">/a/portbuild/&lt;arch&gt;/&lt;major_version&gt;</filename>
	      so feel free to dig around.  Each architecture and version has
	      the following subdirectories:</para>

<programlisting>errors        error logs from latest &lt;major_version&gt; run on &lt;arch&gt;
logs          all logs from latest &lt;major_version&gt; run on &lt;arch&gt;
packages      packages from latest &lt;major_version&gt; run on &lt;arch&gt;
bak/errors    error logs from last complete &lt;major_version&gt; run on &lt;arch&gt;
bak/logs      all logs from last complete &lt;major_version&gt; run on &lt;arch&gt;
bak/packages  packages from last complete &lt;major_version&gt; run on &lt;arch&gt;</programlisting>

	    <para>Basically, if the port shows up in
	      <filename>packages</filename>, or it is in
	      <filename>logs</filename> but not in
	      <filename>errors</filename>, it built fine.  (The
	      <filename>errors</filename> directories are what you get
	      from the web page.)</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>I added a new port.  Do I need to add it to the
	      <filename>INDEX</filename>?</para>
	  </question>

	  <answer>
	    <para>No.  The ports manager will regenerate the
	      <filename>INDEX</filename> and commit it for each
	      &os; release.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>Are there any other files I am not allowed to
	      touch?</para>
	  </question>

	  <answer>
	    <para>Any file directly under <filename>ports/</filename>, or
	      any file under a subdirectory that starts with an
	      uppercase letter (<filename>Mk/</filename>,
	      <filename>Tools/</filename>, etc.).  In particular, the
	      ports manager is very protective of
	      <filename>ports/Mk/bsd.port*.mk</filename> so do not
	      commit changes to those files unless you want to face his
	      wra(i)th.</para>
	  </answer>
	</qandaentry>

	<qandaentry>
	  <question>
	    <para>What is the proper procedure for updating the checksum
	      for a port's distfile when the file changes without a
	      version change?</para>
	  </question>

	  <answer>
	    <para>When the checksum for a port's distfile is updated due
	      to the author updating the file without changing the port's
	      revision, the commit message should include a summary of
	      the relevant diffs between the original and new distfile to
	      ensure that the distfile has not been corrupted or
	      maliciously altered.  If the current version of the port
	      has been in the ports tree for a while, a copy of the old
	      distfile will usually be available on the ftp servers;
	      otherwise the author or maintainer should be contacted to
	      find out why the distfile has changed.</para>
	  </answer>
	</qandaentry>
      </qandadiv>
    </qandaset>
  </sect1>

  <sect1 id="perks">
    <title>Perks of the Job</title>

    <para>Unfortunately, there are not many perks involved with being a
      committer.  Recognition as a competent software engineer is probably
      the only thing that will be of benefit in the long run.  However,
      there are at least some perks:</para>

    <variablelist>

      <varlistentry>
	<term>Direct access to <hostid>cvsup-master</hostid></term>

	<listitem>
	  <para>As a committer, you may apply to &a.kuriyama; for direct access
	    to <hostid role="fqdn">cvsup-master.FreeBSD.org</hostid>,
	    providing the public key output from <command>cvpasswd
	    <replaceable>yourusername</replaceable>@FreeBSD.org
	    freefall.FreeBSD.org</command>.  Please note: you must
	    specify <hostid>freefall.FreeBSD.org</hostid> on the
	    <command>cvpasswd</command> command line even though the
	    actual server is <hostid>cvsup-master</hostid>.  Access to
	    <hostid>cvsup-master</hostid> should not be overused as it is
	    a busy machine.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term>A Free 4-CD Set or DVD Subscription</term>

	<listitem>
	  <para><ulink url="http://www.freebsdmall.com">FreeBSD Mall,
	    Inc.</ulink> offers a free subscription of the 4-CD set or
	    the DVD product to all FreeBSD committers.  Information about how
	    to obtain your free media is mailed to
	    <email>developers@FreeBSD.org</email> following each major
	    release.</para>
	</listitem>
      </varlistentry>

    </variablelist>
  </sect1>

  <sect1 id="misc">
    <title>Miscellaneous Questions</title>

    <qandaset>
      <qandaentry>
	<question>
	  <para>Why are trivial or cosmetic changes to files on a vendor
	    branch a bad idea?</para>
	</question>

	<answer>
	  <itemizedlist>
	    <listitem>
	      <para>From now on, every new vendor release of that file will
		need to have patches merged in by hand.</para>
	    </listitem>

	    <listitem>
	      <para>From now on, every new vendor release of that file will
		need to have patches <emphasis>verified</emphasis> by hand.</para>
	    </listitem>

	    <listitem>
	      <para>The <option>-j</option> option does not work very well.
		Ask &a.obrien; for horror stories.</para>
	    </listitem>
	  </itemizedlist>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>How do I add a new file to a CVS branch?</para>
	</question>

	<answer>
	  <para>To add a file onto a branch, simply checkout or update
	  to the branch you want to add to and then add the file using
	  <command>cvs add</command> as you normally would.  For
	  example, if you wanted to MFC the file
	  <filename>src/sys/alpha/include/smp.h</filename> from HEAD
	  to RELENG_4 and it does not exist in RELENG_4 yet, you would
	  use the following steps:</para>

	  <example>
	    <title>MFC'ing a New File</title>

	    <screen>&prompt.user; <userinput>cd sys/alpha/include</userinput>
&prompt.user; <userinput>cvs update -rRELENG_4</userinput>
cvs update: Updating .
U clockvar.h
U console.h
...
&prompt.user; <userinput>cvs update -kk -Ap smp.h &gt; smp.h</userinput>
===================================================================
Checking out smp.h
RCS:  /usr/cvs/src/sys/alpha/include/smp.h,v
VERS: 1.1
***************
&prompt.user; <userinput>cvs add smp.h</userinput>
cvs add: scheduling file `smp.h' for addition on branch `RELENG_4'
cvs add: use 'cvs commit' to add this file permanently
&prompt.user; <userinput>cvs commit</userinput>
	    </screen>
	  </example>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>What <quote>meta</quote> information should I include in a
	    commit message?</para>
	</question>

	<answer>
	  <para>As well as including an informative message with each commit
	    you may need to include some additional information as
	    well.</para>

	  <para>This information consists of one or more lines containing the
	    key word or phrase, a colon, tabs for formatting, and then the
	    additional information.</para>

	  <para>The key words or phrases are:</para>

	  <informaltable frame="none">
	    <tgroup cols="2">
	      <tbody>
		<row>
		  <entry><literal>PR:</literal></entry>
		  <entry>The problem report (if any) which is affected
		    (typically, by being closed) by this commit.</entry>
		</row>

		<row>
		  <entry><literal>Submitted by:</literal></entry>
		  <entry>The name and e-mail address of the person that
		    submitted the fix; for committers, just the username on
		    the FreeBSD cluster.</entry>
		</row>

		<row>
		  <entry><literal>Reviewed by:</literal></entry>
		  <entry>The name and e-mail address of the person or people
		    that reviewed the change; for committers, just the
		    username on the FreeBSD cluster. If a patch was
		    submitted to a mailing list for review, and the review
		    was favorable, then just include the list name.</entry>
		</row>

		<row>
		  <entry><literal>Approved by:</literal></entry>
		  <entry>The name and e-mail address of the person or people
		    that approved the change; for committers, just the
		    username on the FreeBSD cluster. It is customary to get
		    prior approval for a commit if it is to an area of the
		    tree to which you do not usually commit.  In addition,
		    during the run up to a new release all commits
		    <emphasis>must</emphasis> be approved by the release
		    engineering team.  If these are your first commits then
		    you should have passed them past your mentor first, and
		    you should list your mentor, as in
		    ``<replaceable>username-of-mentor</replaceable>
		    <literal>(mentor)</literal>''.
		 </entry>
		</row>

		<row>
		  <entry><literal>Obtained from:</literal></entry>
		  <entry>The name of the project (if any) from which the code
		    was obtained.</entry>
		</row>

		<row>
		  <entry><literal>MFC after:</literal></entry>

		  <entry>If you wish to receive an e-mail reminder to
		    <acronym>MFC</acronym> at a later date, specify the
		    number of days, weeks, or months after which an
		    <acronym>MFC</acronym> is planned.</entry>
		</row>
	      </tbody>
	    </tgroup>
	  </informaltable>

	  <example>
	    <title>Commit log for a commit based on a PR</title>

	    <para>You want to commit a change based on a PR submitted by John
	      Smith containing a patch.  The end of the commit message should
	      look something like this.</para>

	    <programlisting>...

PR:                foo/12345
Submitted by:	   John Smith &lt;John.Smith@example.com></programlisting>
	  </example>

	  <example>
	    <title>Commit log for a commit needing review</title>

	    <para>You want to change the virtual memory system.  You have
	      posted patches to the appropriate mailing list (in this case,
	      <literal>freebsd-arch</literal>) and the changes have been
	      approved.</para>

	    <programlisting>...

Reviewed by:       -arch</programlisting>
	  </example>

	  <example>
	    <title>Commit log for a commit needing approval</title>

	    <para>You want to commit a change to a section of the tree with a
	      MAINTAINER assigned.  You have collaborated with the listed
	      MAINTAINER, who has told you to go ahead and commit.</para>

	    <programlisting>...

Approved by:	    <replaceable>abc</replaceable></programlisting>

	    <para>Where <replaceable>abc</replaceable> is the account name of
	      the person who approved.</para>
	  </example>

	  <example>
	    <title>Commit log for a commit bringing in code from
	      OpenBSD</title>

	    <para>You want to commit some code based on work done in the
	      OpenBSD project.</para>

	    <programlisting>...

Obtained from:      OpenBSD</programlisting>
	  </example>

	  <example>
	    <title>Commit log for a change to &os.current; with a planned
	      commit to &os.stable; to follow at a later date.</title>

	    <para>You want to commit some code which will be merged from
	      &os.current; into the &os.stable; branch after two
	      weeks.</para>

	    <programlisting>...

MFC after:      <replaceable>2 weeks</replaceable></programlisting>

	    <para>Where <replaceable>2</replaceable> is the number of days,
	      weeks, or months after which an <acronym>MFC</acronym> is
	      planned.  The <replaceable>weeks</replaceable> option may be
	      <literal>day</literal>, <literal>days</literal>,
	      <literal>week</literal>, <literal>weeks</literal>,
	      <literal>month</literal>, <literal>months</literal>,
	      or may be left off (in which case, days will be assumed).</para>
	  </example>

	  <para>In some cases you may need to combine some of these.</para>

	  <para>Consider the situation where a user has submitted a PR
	    containing code from the NetBSD project.  You are looking at the
	    PR, but it is not an area of the tree you normally work in, so
	    you have decided to get the change reviewed by the
	    <literal>arch</literal> mailing list.  Since the change is
	    complex, you opt to <acronym>MFC</acronym> after one month to
	    allow adequate testing.</para>

	  <para>The extra information to include in the commit would look
	    something like</para>

	  <programlisting>PR:                 foo/54321
Submitted by:       John Smith &lt;John.Smith@example.com>
Reviewed by:        -arch
Obtained from:      NetBSD
MFC after:          1 month</programlisting>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>How do I access <hostid
	    role="fqdn">people.FreeBSD.org</hostid> to put up personal
	    or project information?</para>
	</question>

	<answer>
	  <para><hostid role="fqdn">people.FreeBSD.org</hostid> is the
	    same as <hostid
	    role="fqdn">freefall.FreeBSD.org</hostid>. Just create a
	    <filename>public_html</filename> directory.  Anything you
	    place in that directory will automatically be visible
	    under <ulink url="http://people.FreeBSD.org/"></ulink>.</para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>Where are the mailing list archives stored?</para>
	</question>

	<answer>
	  <para>The mailing lists are archived under <filename>/g/mail</filename>
	    which will show up as <filename>/hub/g/mail</filename> with &man.pwd.1;.
	    This location is accessible from any machine on the FreeBSD cluster.</para>
	</answer>
      </qandaentry>
    </qandaset>
  </sect1>
</article>