summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/001898.html
blob: c49a687cd1e876860b883f5f3d9623f5caa166dc (plain)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [265] rename repsys to mgarepo, RepSys to MgaRepo, and update docs and examples for Mageia
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B265%5D%20rename%20repsys%20to%20mgarepo%2C%20RepSys%20to%20MgaRepo%2C%0A%20and%20update%20docs%20and%20examples%20for%20Mageia&In-Reply-To=%3C20110111003600.374E442006%40valstar.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="001906.html">
   <LINK REL="Next"  HREF="001899.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [265] rename repsys to mgarepo, RepSys to MgaRepo, and update docs and examples for Mageia</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B265%5D%20rename%20repsys%20to%20mgarepo%2C%20RepSys%20to%20MgaRepo%2C%0A%20and%20update%20docs%20and%20examples%20for%20Mageia&In-Reply-To=%3C20110111003600.374E442006%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [265] rename repsys to mgarepo, RepSys to MgaRepo, and update docs and examples for Mageia">root at mageia.org
       </A><BR>
    <I>Tue Jan 11 01:36:00 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="001906.html">[Mageia-sysadm] [Mageia-dev] servers downtime
</A></li>
        <LI>Next message: <A HREF="001899.html">[Mageia-sysadm] New ldap group mga-packagers-committers
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1898">[ date ]</a>
              <a href="thread.html#1898">[ thread ]</a>
              <a href="subject.html#1898">[ subject ]</a>
              <a href="author.html#1898">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Revision: 265
Author:   boklm
Date:     2011-01-11 01:35:59 +0100 (Tue, 11 Jan 2011)
Log Message:
-----------
rename repsys to mgarepo, RepSys to MgaRepo, and update docs and examples for Mageia

Modified Paths:
--------------
    build_system/mgarepo/trunk/MANIFEST.in
    build_system/mgarepo/trunk/MgaRepo/ConfigParser.py
    build_system/mgarepo/trunk/MgaRepo/binrepo.py
    build_system/mgarepo/trunk/MgaRepo/cgi/soapserver.py
    build_system/mgarepo/trunk/MgaRepo/cgi/submit.py
    build_system/mgarepo/trunk/MgaRepo/cgi/xmlrpcserver.py
    build_system/mgarepo/trunk/MgaRepo/cgiutil.py
    build_system/mgarepo/trunk/MgaRepo/command.py
    build_system/mgarepo/trunk/MgaRepo/commands/authoremail.py
    build_system/mgarepo/trunk/MgaRepo/commands/changed.py
    build_system/mgarepo/trunk/MgaRepo/commands/ci.py
    build_system/mgarepo/trunk/MgaRepo/commands/co.py
    build_system/mgarepo/trunk/MgaRepo/commands/create.py
    build_system/mgarepo/trunk/MgaRepo/commands/del.py
    build_system/mgarepo/trunk/MgaRepo/commands/editlog.py
    build_system/mgarepo/trunk/MgaRepo/commands/getspec.py
    build_system/mgarepo/trunk/MgaRepo/commands/getsrpm.py
    build_system/mgarepo/trunk/MgaRepo/commands/log.py
    build_system/mgarepo/trunk/MgaRepo/commands/markrelease.py
    build_system/mgarepo/trunk/MgaRepo/commands/patchspec.py
    build_system/mgarepo/trunk/MgaRepo/commands/putsrpm.py
    build_system/mgarepo/trunk/MgaRepo/commands/rpmlog.py
    build_system/mgarepo/trunk/MgaRepo/commands/submit.py
    build_system/mgarepo/trunk/MgaRepo/commands/switch.py
    build_system/mgarepo/trunk/MgaRepo/commands/sync.py
    build_system/mgarepo/trunk/MgaRepo/commands/up.py
    build_system/mgarepo/trunk/MgaRepo/commands/upload.py
    build_system/mgarepo/trunk/MgaRepo/layout.py
    build_system/mgarepo/trunk/MgaRepo/log.py
    build_system/mgarepo/trunk/MgaRepo/mirror.py
    build_system/mgarepo/trunk/MgaRepo/plugins/__init__.py
    build_system/mgarepo/trunk/MgaRepo/plugins/ldapusers.py
    build_system/mgarepo/trunk/MgaRepo/plugins/sample.py.txt
    build_system/mgarepo/trunk/MgaRepo/rpmutil.py
    build_system/mgarepo/trunk/MgaRepo/simplerpm.py
    build_system/mgarepo/trunk/MgaRepo/svn.py
    build_system/mgarepo/trunk/MgaRepo/util.py
    build_system/mgarepo/trunk/README
    build_system/mgarepo/trunk/README.LDAP
    build_system/mgarepo/trunk/create-srpm
    build_system/mgarepo/trunk/default.chlog
    build_system/mgarepo/trunk/setup.cfg
    build_system/mgarepo/trunk/setup.py

Added Paths:
-----------
    build_system/mgarepo/trunk/MgaRepo/
    build_system/mgarepo/trunk/README.BINREPO
    build_system/mgarepo/trunk/mgarepo
    build_system/mgarepo/trunk/mgarepo-example.conf
    build_system/mgarepo/trunk/mgarepo-ssh
    build_system/mgarepo/trunk/mgarepo.8
    build_system/mgarepo/trunk/mgarepo.conf

Removed Paths:
-------------
    build_system/mgarepo/trunk/BRANCH
    build_system/mgarepo/trunk/RepSys/
    build_system/mgarepo/trunk/repsys
    build_system/mgarepo/trunk/repsys-example.conf
    build_system/mgarepo/trunk/repsys-ssh
    build_system/mgarepo/trunk/repsys.8
    build_system/mgarepo/trunk/repsys.conf

Deleted: build_system/mgarepo/trunk/BRANCH
===================================================================
--- build_system/mgarepo/trunk/BRANCH	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/BRANCH	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,419 +0,0 @@
-================================
-The detached binaries repository
-================================
-
-.. contents::
-
-A brief description
-===================
-
-Ideally, all binaries from packages sources (ie. all the binary files inside
-SOURCES/) will be placed in another subversion repository. This repository
-is called &quot;tarballs repository&quot;, &quot;binaries repository&quot; or just &quot;binrepo&quot;.
-It will contain mostly the same directory structure of the main repository,
-but instead of having SOURCES and SPECS, it will only have a SOURCES
-directory. Every copy/move operation should happen in both repositories.
-
-In order to allow deceasing binaries from older distributions, each stable
-distro will have its own subversion repository for binary files.  repsys
-knows how to access these binrepos by checking which URL defined in the
-&quot;[binrepo]&quot; section of the configuration file matches the path-part of the
-repository being accessed.  (see open issues)
-
-The package changelogs will be generated from SVN commit logs in the main
-&quot;plaintext&quot; repository (&quot;txtrepo&quot; for short) only.  Old changelogs will be
-preserved, as even empty revisions are preserved in the binaries-filtering
-conversion.
-
-
-Mapping repositories states
----------------------------
-
-In order to allow the use of `repsys {getsrpm,co} -r REV`, repsys will have
-to use a reference in the text repo which will be used to know in what
-state was the binrepo when a binary was uploaded.
-
-We cannot use direct revision number mapping through properties/files/etc
-mainly because we may have multiple binaries repositories, and eventually
-they can be filtered for reducing space, thus can't ensure revisions will
-survive.  Thus another mechanism which relies on dates instead of revisions
-numbers is needed.
-
-When a binary is uploaded to the binrepo, the file `sha1.lst` is updated to
-have the files's hash and commited in the main text repo. This file will be
-used as the reference when the user uses -r REV on repsys. repsys will
-checkout the package in the main text repo with -r REV and then will use
-the &quot;Last Changed Date&quot; of `sha1.lst` to checkout the binrepo part. Thus,
-`sha1.lst` should be always commited to the main text repository *after* the
-corresponding binary files have been commited to the binrepo. Hooks in the
-main repository may be used to try to enforce this, by checking if the files
-changed in `sha1.lst` are already commited in the corresponding binrepo.
-
-Computation of `sha1.lst` is unlikely to be an issue:
-
-- it should not happen too often for any given package
-- it takes[0] less than 10s to sha1sum all SOURCES of openoffice.org-3.1-1mdv2010.0.src.rpm
-- it probably takes way less than the time to upload the file into the repository
-- it can be computed in parallel to the binrepo commit, and probably finish
-  before that, thus ready by the time `sha1.lst` should be commited
-- users don't need to verify the SHA1s &quot;everytime&quot;, but the build system
-  does, thus Repsys can default to not verify and avoid wasting users' time
-
-The use of `sha1.lst` has the valuable property of tying the state of the main
-repository and the binrepo.  With it, at getsrpm time of a package
-submission we can verify the SHA1 of the SOURCES-bin, and be sure that
-either the package will be built with the expected state, or early fail the
-build. It also allows for verifying binaries without trusting the binrepo,
-which may be useful if we consider using an unversioned plain filesystem
-storage in the future (for old distros or whatever), or at &quot;client side&quot;,
-which maintainers may find useful.
-
-[0]: In a single core AMD Athlon(tm) 3800+ (2400Mhz)
-
-Mapping of revisions using SVN properties
------------------------------------------
-
-Alternatively to using the above &quot;sha1.lst scheme&quot;, the revision mapping
-between the main repository and a binrepo could be done using subversion
-properties.  This could be done by making every commit to binrepos also
-cause a corresponding commit in the main text repository to happen, which
-would update a property recording the current date.  That is, a subversion
-property in the main text repository would be kept, such that for any given
-main repository revision, the corresponding state of the binrepos is
-obtainable (using the registered date).
-
-This would be &quot;more transparent&quot;, as it can be maintened simply by using
-subversion hooks, without user intervention.  OTOH, as every time the user
-commits to a binrepo this would result in a commit in the main repository,
-it would require the user to &quot;svn up&quot; the directories from there before
-commiting, after every binrepo commit.  Also, this might result in a big
-number of &quot;bogus&quot; commits to the main repository, which could be seen as log
-pollution, and may potentially increase space usage etc..
-
-Why a new repository without the tarballs
-==========================================
-
-- the current svn repository is too large, hard to manage
-- big binary files (in general, &quot;tarballs&quot;) history is of little value in
-  the distro development, we care much more about our specs, patches,
-  configurations, etc.; nonetheless, those big files we don't care much for
-  take the most resources and make backups and restoration in case of
-  failure very expensive, much more so than the more valuable data
-- there is no easy way to strip undesired tarballs without recreating the
-  whole repository
-- fedora and ubuntu have separated repositories, so we must have it too!
-
-Numbers
--------
-
-Current repository is +390000 revisions and ~340Gb big, while the bzip2ed
-dumps backup for it takes about a bit more than half that size (FIXME:
-estimative, can't check in the backup server right now).  Current txtrepo
-with the same number of revisions is ~180Gb big, takes about 2-3 days to be
-imported, while the gzipped full dump backup for it currently takes ~1.2Gb. 
-Initial binrepo for Cooker (only `current/` packages' branches) took ~28Gb
-in disk, gzipped full dump for it takes ~25Gb, took about 5h30m to be
-populated from the current in use repository (&quot;oldrepo&quot;).
-
-
-Drawbacks of this layout
-=========================
-
-- (always) everything that changes the single-repository usage increases the chance
-  of failure and make things more complicated.
-- subversion can't be used alone as easily as the current scheme allows
-- copying binaries between distro branches may not be &quot;svn-cheap&quot; anymore
-  (unless they're in the same binrepo)
-- ...
-
-
-Open issues
-============
-
-Multiple binrepos dont allow us to have one permanent URL
----------------------------------------------------------
-
-We would have to update the configuration files from all the users in order
-to add a new stable repository. spuk suggests to use properties in the main
-text repo that would point to the right repository locations.
-
-How to handle failures when operating on more repositores?
-----------------------------------------------------------
-
-binrepos should replicate the structure of the main text repo. What we
-should do if the markrelease succeeds in the binrepo, but fails in the main
-text repo?
-
-R: Markrelease must be done first in the txtrepo. If it fails there &quot;we're
-in trouble&quot; (though currently, we just miss it[0]).  When the markrelease is
-done in the txtrepo, we can do markrelease in the binrepo using '-r {DATE}',
-using the markrelease date in the txtrepo as '{DATE}'.
-
-[0] We should add transaction support for markrelease. The transaction could
-be stored out of the packages SVN (another SVN, a DB, a txt file, etc.), and
-would work like:
-
-0. mark beginning of markrelease, early failing the package build if it fails
-1. do markrelease
-2. mark sucessful end of markrelease
-   or mark failed markrelease, so we can replay it later
-
-
-Interesting use cases (first phase)
-===================================
-
-repsys co 2008.1/mutt
----------------------
-
-- repsys checkouts
-  <A HREF="http://svn.mandriva.com/svn/packages/updates/2008.1/mutt/current">http://svn.mandriva.com/svn/packages/updates/2008.1/mutt/current</A> to the
-  mutt directory
-
-- repsys checkouts
-  <A HREF="http://svn.mandriva.com/svn/binrepo/updates/2008.1/mutt/current/SOURCES">http://svn.mandriva.com/svn/binrepo/updates/2008.1/mutt/current/SOURCES</A>
-  into mutt/SOURCES-bin
-
-- creates symlinks for all files found in SOURCES-bin/ into ../SOURCES/
-
-  (rpm doesn't handle symlinks, this allows us to have explicit links and
-   proper src.rpm generates by rpmbuild)
-
-In case the path doesn't exist in the binrepo it will not fail, as we may
-have not imported all packages or the repository is not prepared to work on
-this model, etc.
-
-markrelease of a package
-------------------------
-
-::
-
-   $ repsys markrelease 
-
-- will copy current/ to releases/VERSION/RELEASE, as usual
-
-- will copy current/ to releases/, on the binrepo too
-
-Optionally, markrelease could create revprops indicating which is the
-revision of current/ on the binrepo that represents the tarballs that are
-being tagged.
-
-
-Use cases to be implemented after the first phase
-=================================================
-
-upgrading to a newer version of the package
--------------------------------------------
-
-::
-
-  $ cd bla/SOURCES/
-  $ wget <A HREF="http://prdownloads.sourceforge.net/bla/bla-1.6.tar.bz2">http://prdownloads.sourceforge.net/bla/bla-1.6.tar.bz2</A>
-  $ repsys add bla-1.6.0.tar.bz2
-
-- repsys notices this is a tarball (checking filename and/or file size)
-
-- repsys will move the file to SOURCES-bin/, create the symlink, and svn-add
-  it to the working copy
-
-  $ # the user updates the spec
-
-  $ repsys rm SOURCES/bla-1.5.1.tar.bz2
-
-- it will remove the symlink and run svn rm on
-  SOURCES-bin/bla-1.6.0.tar.bz2::
-
-  $ cd ../ # package top dir
-  $ repsys ci
-
-- repsys will commit the new tarball on SOURCES-bin/ and then on the rest
-  of the working copy
-
-repsys sync would perform these steps too.
-
-importing a package
--------------------
-
-  $ repsys putsrpm mypkg.src.rpm
-
-- repsys will open the src.rpm
-
-- will look for tarballs inside SOURCES/ and import them to
-  <A HREF="http://svn.mandriva.com/svn/binrepo/cooker/mypkg/current/SOURCES/">http://svn.mandriva.com/svn/binrepo/cooker/mypkg/current/SOURCES/</A>
-
-- will move the tarballs out of SOURCES and import the remaining files to
-  <A HREF="http://svn.mandriva.com/svn/packages/cooker/mypkg/current/">http://svn.mandriva.com/svn/packages/cooker/mypkg/current/</A>
-
-- will do whatever else putsrpm already does
-
-TODO
-=====
-
-First phase
------------
-
-- upload
-- markrelease
-- putsrpm
-- getsrpm
-
-
-Second phase
-------------
-
-- up
-- sync
-
-Rejected or postponed ideas
-===========================
-
-Use of a plain filesystem storage for the tarballs
---------------------------------------------------
-
-This was planned, then rejected. It becomes too complicated when thinking
-about markrelease, and mapping SVN revisions in the main repository to
-binaries versions in the &quot;tarballs storage&quot;, basically requiring
-implementing VCS-like features on top of filesystem.  Would also require
-implementing another authentication and access scheme.  The main feature
-would be ease of removing old binaries, which isn't much of a point because
-we don't know precisely what and when we want to remove, so may end up not
-removing much files anyway.
-
-Use of a plain unversioned filesystem storage for the tarballs
---------------------------------------------------------------
-
-Different than the previous one, this would mean not relying at all on
-binary files history keeping.  Structure could be something simple like::
-
-  packages/${pkg:0:1}/$pkg/$tarball
-
-This alternative does not suffice for Cooker, nor for supported distros, for
-which we want history.  It could, however, at some point be used for &quot;very
-old&quot; distros, for which we may have lost interest in keeping *binaries*
-history (package history will kept &quot;forever&quot; in the main SVN repository). 
-Alternatively, &quot;resetting&quot; an SVN binrepo (i.e.  recreate the repository) to
-contain only the latest tarballs would probably take about the same amount
-of space, anyway...
-
-Open tarballs repository
-------------------------
-
-This idea is not really rejected. It does not go against splitting txtrepo
-and binrepo, but rather complement this idea, where the
-open-tarballs-repository would take the place of the binrepo.  The txtrepo
-would still be used +- the same way.  This repository could be used
-selectively, for packages where it makes sense, while most packages could be
-kept &quot;closed&quot;, still as tarballs.
-
-Use of externals for more seamless Subversion usage
----------------------------------------------------
-
-This idea is not discarded, but it just provides easiness. OTOH, it makes
-things more complicated:
-
-- markrelease: externals would have to be updated in order to make it point
-  to the tagged version in the binrepo, otherwise changes in
-  <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">current at binrepo</A> would change older releases;
-- branching whole distro: even though subversion now supports &quot;relative
-  externals&quot;, we would have to update the URLs for *every* package on the
-  distro, as the path to reach the binrepo spans the local distribution
-  directory;
-- keeping externals up-to-date (as stated above and below)
-- authentication and access control: only markrelease action done by the
-  build system should be allowed to change externals (so what about importing
-  new packages?)
-- just a convenience, we don't need and shouldn't rely on externals for
-  running the build system, while most people will use the repositories via
-  Repsys, so why spend time to implement and keep it?
-- &quot;svn co&quot; works transparently, cool, but &quot;svn co -r N&quot; does not, otherwise
-  every change in the binrepo would require svn:externals to be updated in
-  the respective package;
-- it does not solve the problem of creating and handling symlinks between
-  SOURCES and SOURCES-bin.
-
-Keeping svn:externals updated for every package has almost the same cost of
-keeping the `sha1.lst` updated, with the difference that in the latter we
-would not have to update every package when creating distro branches.
-
-Use of &quot;external&quot; xdelta to save space on binaries
---------------------------------------------------
-
-But how? First idea is this could be done by defining a protocol and
-assuming repository manipulation with repsys (for ease).  Repsys could
-xdelta tarballs and add it to SVN with a special filename, then use it when
-checking out.  Would require a policy/algorithm on when to ditch old whole
-binaries, too (i.e.  hopefully wouldn't need to be handled manually by the
-maintainer).  Also, this is something complemental to splitting the
-repository, so we may do it later, for binrepos.
-
-
-The Future
-==========
-
-- Open tarballs repositories
-
-  - suited for GIT, maybe multi-VCS
-  - incremental move
-  - not everything will be suited for this, must handle all cases or be
-    optional
-
-- Xdelta
-
-
-Deployment
-==========
-
-The current repository will be kept around for a while, in readonly state. 
-Initial binrepos will be populated with the binaries in the `current/`
-branches of packages.
-
-The binrepo mappings config might be kept in a fixed subversion revision
-property (revision 0?).
-
-Rough steps
------------
-
-- check for agreement between subversion repository filters for binaries,
-  and repsys
-- upgrade repsys everywhere
-
-  - kenobi
-  - cluster nodes
-  - raoh
-  - titan
-
-- populate the binrepos for each supported distro, from a specific revision
-  of oldrepo, and mass commmit the corresponding `sha1.lst` in txtrepo for
-  every package
-
-  - set svn:date revprop of the `sha1.lst` mass commit to the date of the
-    oldrepo revision
-  - before mass commiting the `sha1.lst`, possibly freeze oldrepo, check
-    for changes to sources after the selected revision, and update the
-    binrepo as necessary
-
-- check Secteam scripts, make needed changes to get them ready (non
-  critical)
-- set up the new repositories
-
-  - hook for filtering of disallowed (binary) files in main repository
-  - binrepos mappings
-
-- make the new main + binrepos repositories available, but readonly
-
-  - keep new main repository in sync with the old repository with hooks
-
-- make current repository readonly and enable verification of sha1.lst at
-  package submission time
-
-- make sure new main repository and old repository are in sync
-
-  - resync binrepos with the old repository as needed
-
-- final tests
-
-  - change something
-  - submit
-  - etc.
-
-- make the new repositories writeable
-

Modified: build_system/mgarepo/trunk/MANIFEST.in
===================================================================
--- build_system/mgarepo/trunk/MANIFEST.in	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MANIFEST.in	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,10 +1,10 @@
-recursive-include RepSys *.py
-include RepSys/plugins/*.txt
-include repsys repsys.conf MANIFEST.in 
-include repsys.8
+recursive-include MgaRepo *.py
+include MgaRepo/plugins/*.txt
+include mgarepo mgarepo.conf MANIFEST.in 
+include mgarepo.8
 include README
 include CHANGES
 include README.LDAP
-include repsys-example.conf
+include mgarepo-example.conf
 include *.chlog
-include create-srpm repsys-ssh
+include create-srpm mgarepo-ssh

Modified: build_system/mgarepo/trunk/MgaRepo/ConfigParser.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/ConfigParser.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/ConfigParser.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -350,12 +350,12 @@
         self._config = ConfigParser()
         self._wrapped = {}
         conffiles = []
-        repsys_conf = os.environ.get(&quot;REPSYS_CONF&quot;)
-        if repsys_conf:
-            conffiles.append(repsys_conf)
+        mgarepo_conf = os.environ.get(&quot;MGAREPO_CONF&quot;)
+        if mgarepo_conf:
+            conffiles.append(mgarepo_conf)
         else:
-            conffiles.append(&quot;/etc/repsys.conf&quot;)
-            conffiles.append(os.path.expanduser(&quot;~/.repsys/config&quot;))
+            conffiles.append(&quot;/etc/mgarepo.conf&quot;)
+            conffiles.append(os.path.expanduser(&quot;~/.mgarepo/config&quot;))
         for file in conffiles:
             if os.path.isfile(file):
                 self._config.read(file)

Modified: build_system/mgarepo/trunk/MgaRepo/binrepo.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/binrepo.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/binrepo.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,6 +1,6 @@
-from RepSys import Error, config, mirror, layout
-from RepSys.util import execcmd, rellink
-from RepSys.svn import SVN
+from MgaRepo import Error, config, mirror, layout
+from MgaRepo.util import execcmd, rellink
+from MgaRepo.svn import SVN
 
 import sys
 import os
@@ -302,7 +302,7 @@
     return t
 
 def upload(path, message=None):
-    from RepSys.rpmutil import getpkgtopdir
+    from MgaRepo.rpmutil import getpkgtopdir
     svn = SVN()
     if not os.path.exists(path):
         raise Error, &quot;not found: %s&quot; % path

Modified: build_system/mgarepo/trunk/MgaRepo/cgi/soapserver.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/cgi/soapserver.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/cgi/soapserver.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,7 +1,7 @@
 #!/usr/bin/python
-from RepSys import Error, config
-from RepSys.rpmutil import get_srpm
-from RepSys.cgiutil import CgiError, get_targets
+from MgaRepo import Error, config
+from MgaRepo.rpmutil import get_srpm
+from MgaRepo.cgiutil import CgiError, get_targets
 import sys
 import os
 

Modified: build_system/mgarepo/trunk/MgaRepo/cgi/submit.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/cgi/submit.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/cgi/submit.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,7 +1,7 @@
 #!/usr/bin/python
-from RepSys import Error, config
-from RepSys.rpmutil import get_srpm
-from RepSys.cgiutil import CgiError, get_targets
+from MgaRepo import Error, config
+from MgaRepo.rpmutil import get_srpm
+from MgaRepo.cgiutil import CgiError, get_targets
 import cgi
 import sys
 import os

Modified: build_system/mgarepo/trunk/MgaRepo/cgi/xmlrpcserver.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/cgi/xmlrpcserver.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/cgi/xmlrpcserver.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,7 +1,7 @@
 #!/usr/bin/python
-from RepSys import Error, config
-from RepSys.rpmutil import get_srpm
-from RepSys.cgiutil import CgiError, get_targets
+from MgaRepo import Error, config
+from MgaRepo.rpmutil import get_srpm
+from MgaRepo.cgiutil import CgiError, get_targets
 import sys
 import os
 

Modified: build_system/mgarepo/trunk/MgaRepo/cgiutil.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/cgiutil.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/cgiutil.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,7 +1,7 @@
 #!/usr/bin/python
-from RepSys import Error, config
-from RepSys.svn import SVN
-from RepSys.ConfigParser import NoSectionError
+from MgaRepo import Error, config
+from MgaRepo.svn import SVN
+from MgaRepo.ConfigParser import NoSectionError
 import time
 import re
 

Modified: build_system/mgarepo/trunk/MgaRepo/command.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/command.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/command.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,5 +1,5 @@
 #!/usr/bin/python
-from RepSys import SilentError, Error, config
+from MgaRepo import SilentError, Error, config
 import sys, os
 import urlparse
 import optparse

Modified: build_system/mgarepo/trunk/MgaRepo/commands/authoremail.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/authoremail.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/authoremail.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,20 +1,20 @@
 #!/usr/bin/python
-from RepSys import Error, config
-from RepSys.command import *
+from MgaRepo import Error, config
+from MgaRepo.command import *
 import sys
 import getopt
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys authoremail [OPTIONS] AUTHOR
+Usage: mgarepo authoremail [OPTIONS] AUTHOR
 
 Shows the e-mail of an SVN author. It is just a simple interface to access
-the [authors] section of repsys.conf.
+the [authors] section of mgarepo.conf.
 
 Options:
     -h      Show this message
 
 Examples:
-    repsys authoremail john
+    mgarepo authoremail john
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/changed.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/changed.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/changed.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,13 +1,13 @@
 #!/usr/bin/python
-from RepSys import Error, disable_mirror
-from RepSys.command import *
-from RepSys.layout import package_url
-from RepSys.rpmutil import check_changed
+from MgaRepo import Error, disable_mirror
+from MgaRepo.command import *
+from MgaRepo.layout import package_url
+from MgaRepo.rpmutil import check_changed
 import getopt
 import sys
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys changed [OPTIONS] URL
+Usage: mgarepo changed [OPTIONS] URL
 
 Shows if there are pending changes since the last package release.
 
@@ -18,8 +18,8 @@
     -h      Show this message
 
 Examples:
-    repsys changed <A HREF="http://repos/svn/cnc/snapshot/foo">http://repos/svn/cnc/snapshot/foo</A>
-    repsys changed -a <A HREF="http://repos/svn/cnc/snapshot">http://repos/svn/cnc/snapshot</A>
+    mgarepo changed <A HREF="http://repos/svn/cnc/snapshot/foo">http://repos/svn/cnc/snapshot/foo</A>
+    mgarepo changed -a <A HREF="http://repos/svn/cnc/snapshot">http://repos/svn/cnc/snapshot</A>
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/ci.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/ci.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/ci.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,15 +1,15 @@
 #!/usr/bin/python
-from RepSys.command import *
-from RepSys.rpmutil import commit
+from MgaRepo.command import *
+from MgaRepo.rpmutil import commit
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys ci [TARGET]
+Usage: mgarepo ci [TARGET]
 
 Will commit recent modifications in the package.
 
-The difference between an ordinary &quot;svn ci&quot; and &quot;repsys ci&quot; is that it
+The difference between an ordinary &quot;svn ci&quot; and &quot;mgarepo ci&quot; is that it
 relocates the working copy to the default repository in case the option
-&quot;mirror&quot; is set in repsys.conf.
+&quot;mirror&quot; is set in mgarepo.conf.
 
 Options:
     -h      Show this message
@@ -17,8 +17,8 @@
     -F FILE Read log message from FILE
 
 Examples:
-    repsys ci
-    repsys ci SPECS/package.spec SPECS/package-patch.patch
+    mgarepo ci
+    mgarepo ci SPECS/package.spec SPECS/package-patch.patch
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/co.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/co.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/co.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,14 +1,14 @@
 #!/usr/bin/python
-from RepSys import Error, disable_mirror
-from RepSys.command import *
-from RepSys.rpmutil import checkout
+from MgaRepo import Error, disable_mirror
+from MgaRepo.command import *
+from MgaRepo.rpmutil import checkout
 import getopt
 import sys
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys co [OPTIONS] URL [LOCALPATH]
+Usage: mgarepo co [OPTIONS] URL [LOCALPATH]
 
-Checkout the package source from the Mandriva repository.
+Checkout the package source from the Mageia repository.
 
 If the 'mirror' option is enabled, the package is obtained from the mirror
 repository.
@@ -27,11 +27,11 @@
     -h      Show this message
 
 Examples:
-    repsys co pkgname
-    repsys co -d 2009.0 pkgname
-    repsys co 2009.0/pkgame
-    repsys co <A HREF="http://repos/svn/cnc/snapshot/foo">http://repos/svn/cnc/snapshot/foo</A>
-    repsys co <A HREF="http://repos/svn/cnc/snapshot/foo">http://repos/svn/cnc/snapshot/foo</A> foo-pkg
+    mgarepo co pkgname
+    mgarepo co -d 2009.0 pkgname
+    mgarepo co 2009.0/pkgame
+    mgarepo co <A HREF="http://repos/svn/cnc/snapshot/foo">http://repos/svn/cnc/snapshot/foo</A>
+    mgarepo co <A HREF="http://repos/svn/cnc/snapshot/foo">http://repos/svn/cnc/snapshot/foo</A> foo-pkg
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/create.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/create.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/create.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,13 +1,13 @@
 #!/usr/bin/python
-from RepSys import Error
-from RepSys.command import *
-from RepSys.layout import package_url
-from RepSys.rpmutil import create_package
+from MgaRepo import Error
+from MgaRepo.command import *
+from MgaRepo.layout import package_url
+from MgaRepo.rpmutil import create_package
 import getopt
 import sys
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys create [OPTIONS] URL
+Usage: mgarepo create [OPTIONS] URL
 
 Creates the minimal structure of a package in the repository.
 
@@ -15,8 +15,8 @@
     -h      Show this message
 
 Examples:
-    repsys create newpkg
-    repsys create svn+<A HREF="ssh://svn.mandriva.com/svn/packages/cooker/newpkg">ssh://svn.mandriva.com/svn/packages/cooker/newpkg</A>
+    mgarepo create newpkg
+    mgarepo create svn+<A HREF="ssh://svn.mageia.org/svn/packages/cauldron/newpkg">ssh://svn.mageia.org/svn/packages/cauldron/newpkg</A>
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/del.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/del.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/del.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,9 +1,9 @@
-from RepSys import Error
-from RepSys.command import *
-from RepSys.rpmutil import binrepo_delete
+from MgaRepo import Error
+from MgaRepo.command import *
+from MgaRepo.rpmutil import binrepo_delete
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys del [OPTIONS] [PATH]
+Usage: mgarepo del [OPTIONS] [PATH]
 
 Remove a given file from the binary sources repository.
 

Modified: build_system/mgarepo/trunk/MgaRepo/commands/editlog.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/editlog.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/editlog.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,19 +1,19 @@
 #!/usr/bin/python
-from RepSys import Error
-from RepSys.command import *
-from RepSys.layout import package_url
-from RepSys.svn import SVN
+from MgaRepo import Error
+from MgaRepo.command import *
+from MgaRepo.layout import package_url
+from MgaRepo.svn import SVN
 import re
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys editlog [OPTIONS] [URL] REVISION
+Usage: mgarepo editlog [OPTIONS] [URL] REVISION
 
 Options:
     -h         Show this message
 
 Examples:
-    repsys editlog 14800
-    repsys editlog <A HREF="https://repos/svn/cnc/snapshot">https://repos/svn/cnc/snapshot</A> 14800
+    mgarepo editlog 14800
+    mgarepo editlog <A HREF="https://repos/svn/cnc/snapshot">https://repos/svn/cnc/snapshot</A> 14800
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/getspec.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/getspec.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/getspec.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,13 +1,13 @@
 #!/usr/bin/python
-from RepSys import Error, disable_mirror
-from RepSys.command import *
-from RepSys.layout import package_url
-from RepSys.rpmutil import get_spec
+from MgaRepo import Error, disable_mirror
+from MgaRepo.command import *
+from MgaRepo.layout import package_url
+from MgaRepo.rpmutil import get_spec
 import getopt
 import sys
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys getspec [OPTIONS] REPPKGURL
+Usage: mgarepo getspec [OPTIONS] REPPKGURL
 
 Prints the .spec file of a given package.
 
@@ -17,8 +17,8 @@
     -h      Show this message
 
 Examples:
-    repsys getspec pkgname
-    repsys getspec svn+<A HREF="ssh://svn.mandriva.com/svn/packages/cooker/pkgname">ssh://svn.mandriva.com/svn/packages/cooker/pkgname</A>
+    mgarepo getspec pkgname
+    mgarepo getspec svn+<A HREF="ssh://svn.mageia.org/svn/packages/cauldron/pkgname">ssh://svn.mageia.org/svn/packages/cauldron/pkgname</A>
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/getsrpm.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/getsrpm.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/getsrpm.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -3,10 +3,10 @@
 # This program will extract given version/revision of the named package
 # from the Conectiva Linux repository system.
 #
-from RepSys import Error, config, disable_mirror
-from RepSys.command import *
-from RepSys.layout import package_url
-from RepSys.rpmutil import get_srpm
+from MgaRepo import Error, config, disable_mirror
+from MgaRepo.command import *
+from MgaRepo.layout import package_url
+from MgaRepo.rpmutil import get_srpm
 import tempfile
 import shutil
 import getopt
@@ -15,7 +15,7 @@
 import os
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys getsrpm [OPTIONS] REPPKGURL
+Usage: mgarepo getsrpm [OPTIONS] REPPKGURL
 
 Generates the source RPM (.srpm) file of a given package.
 
@@ -37,11 +37,11 @@
     --strict   Check if the given revision contains changes in REPPKGURL
 
 Examples:
-    repsys getsrpm python
-    repsys getsrpm -l python
-    repsys getsrpm <A HREF="http://foo.bar/svn/cnc/snapshot/python">http://foo.bar/svn/cnc/snapshot/python</A>
-    repsys getsrpm -p <A HREF="http://foo.bar/svn/cnc/releases/8cl/python">http://foo.bar/svn/cnc/releases/8cl/python</A>
-    repsys getsrpm -r 1001 <A HREF="file:///svn/cnc/snapshot/python">file:///svn/cnc/snapshot/python</A>
+    mgarepo getsrpm python
+    mgarepo getsrpm -l python
+    mgarepo getsrpm <A HREF="http://foo.bar/svn/cnc/snapshot/python">http://foo.bar/svn/cnc/snapshot/python</A>
+    mgarepo getsrpm -p <A HREF="http://foo.bar/svn/cnc/releases/8cl/python">http://foo.bar/svn/cnc/releases/8cl/python</A>
+    mgarepo getsrpm -r 1001 <A HREF="file:///svn/cnc/snapshot/python">file:///svn/cnc/snapshot/python</A>
 &quot;&quot;&quot;
 
 def mode_callback(option, opt, val, parser, mode):

Modified: build_system/mgarepo/trunk/MgaRepo/commands/log.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/log.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/log.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,14 +1,14 @@
 #!/usr/bin/python
-from RepSys import config, mirror, disable_mirror
-from RepSys.command import *
-from RepSys.layout import package_url, checkout_url
-from RepSys.rpmutil import sync
-from RepSys.util import execcmd
+from MgaRepo import config, mirror, disable_mirror
+from MgaRepo.command import *
+from MgaRepo.layout import package_url, checkout_url
+from MgaRepo.rpmutil import sync
+from MgaRepo.util import execcmd
 import sys
 import os
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys log [OPTIONS] [PACKAGE]
+Usage: mgarepo log [OPTIONS] [PACKAGE]
 
 Shows the SVN log for a given package.
 
@@ -20,8 +20,8 @@
     -M           Do not use the mirror (use the main repository)
 
 Examples:
-    repsys log mutt
-    repsys log 2009.1/mutt
+    mgarepo log mutt
+    mgarepo log 2009.1/mutt
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/markrelease.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/markrelease.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/markrelease.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -7,12 +7,12 @@
 # directory and etc). Also, notice that packages must be included in
 # cronological order.
 #
-from RepSys import Error
-from RepSys.command import *
-from RepSys.layout import package_url
-from RepSys.simplerpm import SRPM
-from RepSys.rpmutil import mark_release
-from RepSys.util import get_auth
+from MgaRepo import Error
+from MgaRepo.command import *
+from MgaRepo.layout import package_url
+from MgaRepo.simplerpm import SRPM
+from MgaRepo.rpmutil import mark_release
+from MgaRepo.util import get_auth
 import getopt
 import sys
 import os
@@ -20,7 +20,7 @@
 HELP = &quot;&quot;&quot;\
 *** WARNING --- You probably SHOULD NOT use this program! --- WARNING ***
 
-Usage: repsys markrelease [OPTIONS] REPPKGURL
+Usage: mgarepo markrelease [OPTIONS] REPPKGURL
 
 This subcommand creates a 'tag' for a given revision of a given package.
 
@@ -35,9 +35,9 @@
     -h      Show this message
 
 Examples:
-    repsys markrelease -r 68 -v 1.0-1 <A HREF="file://svn/cnc/snapshot/foo">file://svn/cnc/snapshot/foo</A>
-    repsys markrelease -f @68:foo-1.0-1.src.rpm <A HREF="file://svn/cnc/snapshot/foo">file://svn/cnc/snapshot/foo</A>
-    repsys markrelease -r 68 -f foo-1.0.src.rpm <A HREF="file://svn/cnc/snapshot/foo">file://svn/cnc/snapshot/foo</A>
+    mgarepo markrelease -r 68 -v 1.0-1 <A HREF="file://svn/cnc/snapshot/foo">file://svn/cnc/snapshot/foo</A>
+    mgarepo markrelease -f @68:foo-1.0-1.src.rpm <A HREF="file://svn/cnc/snapshot/foo">file://svn/cnc/snapshot/foo</A>
+    mgarepo markrelease -r 68 -f foo-1.0.src.rpm <A HREF="file://svn/cnc/snapshot/foo">file://svn/cnc/snapshot/foo</A>
 &quot;&quot;&quot;
 
 def version_callback(option, opt, val, parser):

Modified: build_system/mgarepo/trunk/MgaRepo/commands/patchspec.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/patchspec.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/patchspec.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -2,15 +2,15 @@
 #
 # This program will try to patch a spec file from a given package url.
 #
-from RepSys import Error
-from RepSys.rpmutil import patch_spec
-from RepSys.command import *
-from RepSys.layout import package_url
+from MgaRepo import Error
+from MgaRepo.rpmutil import patch_spec
+from MgaRepo.command import *
+from MgaRepo.layout import package_url
 import getopt
 import sys
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys patchspec [OPTIONS] REPPKGURL PATCHFILE
+Usage: mgarepo patchspec [OPTIONS] REPPKGURL PATCHFILE
 
 It will try to patch a spec file from a given package url.
 
@@ -19,7 +19,7 @@
     -h      Show this message
 
 Examples:
-    repsys patchspec <A HREF="http://repos/svn/cnc/snapshot/foo">http://repos/svn/cnc/snapshot/foo</A>
+    mgarepo patchspec <A HREF="http://repos/svn/cnc/snapshot/foo">http://repos/svn/cnc/snapshot/foo</A>
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/putsrpm.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/putsrpm.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/putsrpm.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,13 +1,13 @@
 #!/usr/bin/python
-from RepSys import Error
-from RepSys.command import *
-from RepSys.layout import package_url
-from RepSys.rpmutil import put_srpm
+from MgaRepo import Error
+from MgaRepo.command import *
+from MgaRepo.layout import package_url
+from MgaRepo.rpmutil import put_srpm
 import getopt
 import sys, os
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys putsrpm [OPTIONS] SOURCERPMS
+Usage: mgarepo putsrpm [OPTIONS] SOURCERPMS
 
 Will import source RPMs into the SVN repository.
 
@@ -27,8 +27,8 @@
     -h      Show this message
 
 Examples:
-    repsys putsrpm pkg/SRPMS/pkg-2.0-1.src.rpm
-    repsys putsrpm -b 2009.1 foo-1.1-1.src.rpm
+    mgarepo putsrpm pkg/SRPMS/pkg-2.0-1.src.rpm
+    mgarepo putsrpm -b 2009.1 foo-1.1-1.src.rpm
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/rpmlog.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/rpmlog.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/rpmlog.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -3,17 +3,17 @@
 # This program will convert the output of &quot;svn log&quot; to be suitable
 # for usage in an rpm %changelog session.
 #
-from RepSys import Error, layout, disable_mirror
-from RepSys.command import *
-from RepSys.svn import SVN
-from RepSys.log import get_changelog, split_spec_changelog
+from MgaRepo import Error, layout, disable_mirror
+from MgaRepo.command import *
+from MgaRepo.svn import SVN
+from MgaRepo.log import get_changelog, split_spec_changelog
 from cStringIO import StringIO
 import getopt
 import os
 import sys
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys rpmlog [OPTIONS] REPPKGDIRURL
+Usage: mgarepo rpmlog [OPTIONS] REPPKGDIRURL
 
 Prints the RPM changelog of a given package.
 
@@ -28,8 +28,8 @@
     -h       Show this message
 
 Examples:
-    repsys rpmlog python
-    repsys rpmlog <A HREF="http://svn.mandriva.com/svn/packages/cooker/python">http://svn.mandriva.com/svn/packages/cooker/python</A>
+    mgarepo rpmlog python
+    mgarepo rpmlog <A HREF="http://svn.mandriva.com/svn/packages/cooker/python">http://svn.mandriva.com/svn/packages/cooker/python</A>
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/submit.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/submit.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/submit.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,9 +1,9 @@
 #!/usr/bin/python
-from RepSys import Error, config, layout, mirror
-from RepSys.svn import SVN
-from RepSys.command import *
-from RepSys.rpmutil import get_spec, get_submit_info
-from RepSys.util import get_auth, execcmd, get_helper
+from MgaRepo import Error, config, layout, mirror
+from MgaRepo.svn import SVN
+from MgaRepo.command import *
+from MgaRepo.rpmutil import get_spec, get_submit_info
+from MgaRepo.util import get_auth, execcmd, get_helper
 import urllib
 import getopt
 import sys
@@ -14,7 +14,7 @@
 import xmlrpclib
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys submit [OPTIONS] [URL[@REVISION] ...]
+Usage: mgarepo submit [OPTIONS] [URL[@REVISION] ...]
 
 Submits the package from URL to the submit host.
 
@@ -47,14 +47,14 @@
                in the submit host
 
 Examples:
-    repsys submit
-    repsys submit foo
-    repsys submit 2009.1/foo
-    repsys submit <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">foo at 14800</A> bar <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">baz at 11001</A>
-    repsys submit <A HREF="https://repos/svn/mdv/cooker/foo">https://repos/svn/mdv/cooker/foo</A>
-    repsys submit -l <A HREF="https://repos">https://repos</A>
-    repsys submit 2008.1/<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">my-packages at 11011</A>
-    repsys submit --define section=main/testing -t 2008.1
+    mgarepo submit
+    mgarepo submit foo
+    mgarepo submit 1/foo
+    mgarepo submit <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">foo at 14800</A> bar <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">baz at 11001</A>
+    mgarepo submit <A HREF="https://repos/svn/mga/cauldron/foo">https://repos/svn/mga/cauldron/foo</A>
+    mgarepo submit -l <A HREF="https://repos">https://repos</A>
+    mgarepo submit 1/<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">my-packages at 11011</A>
+    mgarepo submit --define section=core/testing -t 1
 &quot;&quot;&quot;
 
 DEFAULT_TARGET = &quot;Cooker&quot;
@@ -157,7 +157,7 @@
 def list_targets(option, opt, val, parser):
     host = config.get(&quot;submit&quot;, &quot;host&quot;)
     if host is None:
-        raise Error, &quot;no submit host defined in repsys.conf&quot;
+        raise Error, &quot;no submit host defined in mgarepo.conf&quot;
     createsrpm = get_helper(&quot;create-srpm&quot;)
     #TODO make it configurable
     command = &quot;ssh %s %s --list&quot; % (host, createsrpm)
@@ -186,7 +186,7 @@
         baseargs.append(entry)
     cmdsargs = []
     if len(urls) == 1:
-        # be compatible with server-side repsys versions older than 1.6.90
+        # be compatible with server-side mgarepo versions older than 1.6.90
         url, rev = layout.split_url_revision(urls[0])
         baseargs.append(&quot;-r&quot;)
         baseargs.append(str(rev))

Modified: build_system/mgarepo/trunk/MgaRepo/commands/switch.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/switch.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/switch.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,16 +1,16 @@
 #!/usr/bin/python
-from RepSys.command import *
-from RepSys.rpmutil import switch
+from MgaRepo.command import *
+from MgaRepo.rpmutil import switch
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys switch [URL]
+Usage: mgarepo switch [URL]
 
 Relocates the working copy to the base location URL.
 
-If URL is not provided, it will use the option repository from repsys.conf
+If URL is not provided, it will use the option repository from mgarepo.conf
 as default, or, if the current working copy is already based in
 default_parent, it will use the location from the mirror option from
-repsys.conf. 
+mgarepo.conf. 
 
 If the current work is based in another URL, it will use default_parent.
 
@@ -18,8 +18,8 @@
     -h      Show this message
 
 Examples:
-    repsys switch
-    repsys switch <A HREF="https://mirrors.localnetwork/svn/packages/">https://mirrors.localnetwork/svn/packages/</A>
+    mgarepo switch
+    mgarepo switch <A HREF="https://mirrors.localnetwork/svn/packages/">https://mirrors.localnetwork/svn/packages/</A>
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/sync.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/sync.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/sync.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,9 +1,9 @@
 #!/usr/bin/python
-from RepSys.command import *
-from RepSys.rpmutil import sync
+from MgaRepo.command import *
+from MgaRepo.rpmutil import sync
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys sync
+Usage: mgarepo sync
 
 Will add or remove from the working copy those files added or removed
 in the spec file.
@@ -18,7 +18,7 @@
     -h           Show this message
 
 Examples:
-    repsys sync
+    mgarepo sync
 &quot;&quot;&quot;
 
 def parse_options():

Modified: build_system/mgarepo/trunk/MgaRepo/commands/up.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/up.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/up.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,9 +1,9 @@
-from RepSys import Error
-from RepSys.command import *
-from RepSys.rpmutil import update
+from MgaRepo import Error
+from MgaRepo.command import *
+from MgaRepo.rpmutil import update
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys up [PATH]
+Usage: mgarepo up [PATH]
 
 Update the package working copy and synchronize all binaries.
 

Modified: build_system/mgarepo/trunk/MgaRepo/commands/upload.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/commands/upload.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/commands/upload.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,9 +1,9 @@
-from RepSys import Error
-from RepSys.command import *
-from RepSys.rpmutil import upload
+from MgaRepo import Error
+from MgaRepo.command import *
+from MgaRepo.rpmutil import upload
 
 HELP = &quot;&quot;&quot;\
-Usage: repsys upload [OPTIONS] [PATH]
+Usage: mgarepo upload [OPTIONS] [PATH]
 
 Upload a given file to the binary sources repository.
 

Modified: build_system/mgarepo/trunk/MgaRepo/layout.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/layout.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/layout.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -3,13 +3,13 @@
 import os
 import urlparse
 
-from RepSys import Error, config
-from RepSys.svn import SVN
+from MgaRepo import Error, config
+from MgaRepo.svn import SVN
 
 __all__ = [&quot;package_url&quot;, &quot;checkout_url&quot;, &quot;repository_url&quot;, &quot;get_url_revision&quot;]
 
 def layout_dirs():
-    devel_branch = config.get(&quot;global&quot;, &quot;trunk-dir&quot;, &quot;cooker/&quot;)
+    devel_branch = config.get(&quot;global&quot;, &quot;trunk-dir&quot;, &quot;cauldron/&quot;)
     devel_branch = os.path.normpath(devel_branch)
     branches_dir = config.get(&quot;global&quot;, &quot;branches-dir&quot;, &quot;updates/&quot;)
     branches_dir = os.path.normpath(branches_dir)
@@ -96,7 +96,7 @@
     return newurl
 
 def convert_default_parent(url):
-    &quot;&quot;&quot;Removes the cooker/ component from the URL&quot;&quot;&quot;
+    &quot;&quot;&quot;Removes the cauldron/ component from the URL&quot;&quot;&quot;
     parsed = list(urlparse.urlparse(url))
     path = os.path.normpath(parsed[2])
     rest, last = os.path.split(path)
@@ -126,7 +126,7 @@
             default_parent = config.get(&quot;global&quot;, &quot;default_parent&quot;)
             if default_parent is None:
                 raise Error, &quot;you need to set the 'repository' &quot; \
-                        &quot;configuration option on repsys.conf&quot;
+                        &quot;configuration option on mgarepo.conf&quot;
             url = convert_default_parent(default_parent)
     return url
 
@@ -141,7 +141,7 @@
     @distro: the name of the repository branch inside updates/
     @mirrored: return an URL based on the mirror repository, if enabled
     &quot;&quot;&quot;
-    from RepSys import mirror
+    from MgaRepo import mirror
     if &quot;://&quot; in name_or_url:
         pkgdirurl = mirror.normalize_path(name_or_url)
         pkgdirurl = remove_current(pkgdirurl)
@@ -156,7 +156,7 @@
             if distro:
                 default_branch = os.path.join(default_branch, distro)
         else:
-            default_branch = devel_branch # cooker
+            default_branch = devel_branch # cauldron
         path = os.path.join(default_branch, name)
         parsed = list(urlparse.urlparse(repository_url(mirrored=mirrored)))
         parsed[2] = os.path.join(parsed[2], path)
@@ -183,7 +183,7 @@
 
 def distro_branch(pkgdirurl):
     &quot;&quot;&quot;Tries to guess the distro branch name from a package URL&quot;&quot;&quot;
-    from RepSys.mirror import same_base
+    from MgaRepo.mirror import same_base
     found = None
     repo = repository_url()
     if same_base(repo, pkgdirurl):

Modified: build_system/mgarepo/trunk/MgaRepo/log.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/log.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/log.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,12 +1,12 @@
 #!/usr/bin/python
-from RepSys import Error, config, layout
-from RepSys.svn import SVN
-from RepSys.util import execcmd
+from MgaRepo import Error, config, layout
+from MgaRepo.svn import SVN
+from MgaRepo.util import execcmd
 
 try:
     from Cheetah.Template import Template
 except ImportError:
-    raise Error, &quot;repsys requires the package python-cheetah&quot;
+    raise Error, &quot;mgarepo requires the package python-cheetah&quot;
 
 from cStringIO import StringIO
 
@@ -71,7 +71,7 @@
     Is here where things should be changed if &quot;automatic release increasing&quot; 
     will be used.
     &quot;&quot;&quot;
-    from RepSys.rpmutil import rpm_macros_defs
+    from MgaRepo.rpmutil import rpm_macros_defs
     svn = SVN()
     pkgcurrenturl = os.path.join(pkgdirurl, &quot;current&quot;)
     specurl = os.path.join(pkgcurrenturl, &quot;SPECS&quot;)
@@ -325,7 +325,7 @@
 
 def dump_file(releases, currentlog=None, template=None):
     templpath = template or config.get(&quot;template&quot;, &quot;path&quot;,
-            &quot;/usr/share/repsys/default.chlog&quot;)
+            &quot;/usr/share/mgarepo/default.chlog&quot;)
     params = {}
     if templpath is None or not os.path.exists(templpath):
         params[&quot;source&quot;] = default_template
@@ -591,7 +591,7 @@
                 checkout of the package, so that the spec file can be
                 parsed from there
     @oldlog:    if set it will try to append the old changelog file defined
-                in oldurl in repsys.conf
+                in oldurl in mgarepo.conf
     &quot;&quot;&quot;
     newlog = StringIO()
     if svn:

Modified: build_system/mgarepo/trunk/MgaRepo/mirror.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/mirror.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/mirror.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -3,8 +3,8 @@
 import urlparse
 import urllib
 
-from RepSys import Error, config, layout
-from RepSys.svn import SVN
+from MgaRepo import Error, config, layout
+from MgaRepo.svn import SVN
 
 def mirror_url():
     mirror = config.get(&quot;global&quot;, &quot;mirror&quot;)
@@ -71,7 +71,7 @@
         stream.write(&quot;Using the svn mirror.\n&quot;)
         if write:
             stream.write(&quot;To be able to commit changes, use &quot;
-                    &quot;'repsys switch' first.\n&quot;)
+                    &quot;'mgarepo switch' first.\n&quot;)
 
 def mirror_relocate(oldparent, newparent, url, wcpath):
     svn = SVN()
@@ -99,13 +99,13 @@
     repository = layout.repository_url()
     current = repository
     if repository is None:
-        raise Error, &quot;the option repository from repsys.conf is &quot;\
+        raise Error, &quot;the option repository from mgarepo.conf is &quot;\
                 &quot;required&quot;
     indefault = same_base(repository, wcurl)
     if not newbaseurl:
         if not mirror:
             raise Error, &quot;an URL is needed when the option mirror &quot;\
-                    &quot;from repsys.conf is not set&quot;
+                    &quot;from mgarepo.conf is not set&quot;
         if indefault:
             chosen = mirror
         elif same_base(mirror, wcurl):

Modified: build_system/mgarepo/trunk/MgaRepo/plugins/__init__.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/plugins/__init__.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/plugins/__init__.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -8,19 +8,19 @@
     for entry in os.listdir(pluginsdir):
         if entry != &quot;__init__.py&quot; and entry.endswith(&quot;.py&quot;):
             name = entry[:-3]
-            loaded[name] = __import__(&quot;RepSys.plugins.&quot;+name, {}, {},
+            loaded[name] = __import__(&quot;MgaRepo.plugins.&quot;+name, {}, {},
                     [name])
         elif os.path.isdir(entry):
             initfile = os.path.join(entry, &quot;__init__.py&quot;)
             if os.path.isfile(initfile):
-                loaded[entry] = __import__(&quot;RepSys.plugins.&quot;+entry, {}, {},
+                loaded[entry] = __import__(&quot;MgaRepo.plugins.&quot;+entry, {}, {},
                         [entry])
 
 def list():
     return loaded.keys()
 
 def help(name):
-    from RepSys import Error
+    from MgaRepo import Error
     try:
         return loaded[name].__doc__
     except KeyError:

Modified: build_system/mgarepo/trunk/MgaRepo/plugins/ldapusers.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/plugins/ldapusers.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/plugins/ldapusers.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,8 +1,8 @@
 &quot;&quot;&quot;
-A Repsys plugin for obtaining users from a LDAP server.
+A mgarepo plugin for obtaining users from a LDAP server.
 
 In order to enable the plugin, the user must define the following 
-options in the [global] section of repsys.conf:
+options in the [global] section of mgarepo.conf:
 
     ldap-uri [required if ldap-server is unset]
         the URI of the server, you can refer to more than one server by
@@ -53,15 +53,15 @@
         Note that only the first value of the attributes will be 
         used.
 
-When the searched option is not found, it will try in repsys.conf. All
-the values found.  (including from repsys.conf) will be cached between
+When the searched option is not found, it will try in mgarepo.conf. All
+the values found.  (including from mgarepo.conf) will be cached between
 each configuration access.
 
 This plugin requires the package python-ldap.
 
 For more information, look <A HREF="http://qa.mandriva.com/show_bug.cgi?id=30549">http://qa.mandriva.com/show_bug.cgi?id=30549</A>
 &quot;&quot;&quot;
-from RepSys import Error, config
+from MgaRepo import Error, config
 
 import string
 

Modified: build_system/mgarepo/trunk/MgaRepo/plugins/sample.py.txt
===================================================================
--- build_system/mgarepo/trunk/RepSys/plugins/sample.py.txt	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/plugins/sample.py.txt	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,6 +1,6 @@
-# Sample repsys plugin. In order to test it, rename to sample.py
+# Sample mgarepo plugin. In order to test it, rename to sample.py
 # vim:ft=python
-from RepSys import config
+from MgaRepo import config
 
 def users_wrapper(section, option=None, default=None, walk=False):
     d = {&quot;foolano&quot;: &quot;Foolano De Tal &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">foolano at bla.com</A>&gt;&quot;,

Modified: build_system/mgarepo/trunk/MgaRepo/rpmutil.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/rpmutil.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,10 +1,10 @@
 #!/usr/bin/python
-from RepSys import Error, config
-from RepSys import mirror, layout, log, binrepo
-from RepSys.svn import SVN
-from RepSys.simplerpm import SRPM
-from RepSys.util import execcmd
-from RepSys.command import default_parent
+from MgaRepo import Error, config
+from MgaRepo import mirror, layout, log, binrepo
+from MgaRepo.svn import SVN
+from MgaRepo.simplerpm import SRPM
+from MgaRepo.util import execcmd
+from MgaRepo.command import default_parent
 import rpm
 import urlparse
 import tempfile
@@ -630,7 +630,7 @@
     mopts = &quot; &quot;.join(opts)
     os.system(&quot;svn ci %s %s&quot; % (mopts, target))
     if mirrored:
-        print &quot;use \&quot;repsys switch\&quot; in order to switch back to mirror &quot;\
+        print &quot;use \&quot;mgarepo switch\&quot; in order to switch back to mirror &quot;\
                 &quot;later&quot;
 
 def spec_sources(topdir):

Modified: build_system/mgarepo/trunk/MgaRepo/simplerpm.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/simplerpm.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/simplerpm.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,5 +1,5 @@
 #!/usr/bin/python
-from RepSys.util import execcmd
+from MgaRepo.util import execcmd
 
 class SRPM:
     def __init__(self, filename):

Modified: build_system/mgarepo/trunk/MgaRepo/svn.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/svn.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/svn.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,5 +1,5 @@
-from RepSys import Error, SilentError, config
-from RepSys.util import execcmd, get_auth
+from MgaRepo import Error, SilentError, config
+from MgaRepo.util import execcmd, get_auth
 import sys
 import os
 import re
@@ -43,7 +43,7 @@
                            &quot;<A HREF="http://wiki.mandriva.com/en/Development/Docs/Contributor_Tricks#SSH_configuration">http://wiki.mandriva.com/en/Development/Docs/Contributor_Tricks#SSH_configuration</A>&quot;
                            &quot; for more information.&quot;)
                 elif &quot;authorization failed&quot; in e.args[0]:
-                    msg = (&quot;Note that repsys does not support any HTTP &quot;
+                    msg = (&quot;Note that mgarepo does not support any HTTP &quot;
                            &quot;authenticated access.&quot;)
             if kwargs.get(&quot;show&quot;) and \
                     not config.getbool(&quot;global&quot;, &quot;verbose&quot;, 0):
@@ -59,8 +59,8 @@
             raise
 
     def _set_env(self):
-        wrapper = &quot;repsys-ssh&quot;
-        repsys = config.get(&quot;global&quot;, &quot;repsys-cmd&quot;)
+        wrapper = &quot;mgarepo-ssh&quot;
+        repsys = config.get(&quot;global&quot;, &quot;mgarepo-cmd&quot;)
         if repsys:
             dir = os.path.dirname(repsys)
             path = os.path.join(dir, wrapper)

Modified: build_system/mgarepo/trunk/MgaRepo/util.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/util.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/MgaRepo/util.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,6 +1,6 @@
 #!/usr/bin/python
 
-from RepSys import Error, config
+from MgaRepo import Error, config
 
 import subprocess
 import getpass
@@ -11,7 +11,7 @@
 from cStringIO import StringIO
 #import commands
 
-log = logging.getLogger(&quot;repsys&quot;)
+log = logging.getLogger(&quot;mgarepo&quot;)
 
 # Our own version of commands' getstatusoutput(). We have a commands
 # module directory, so we can't import Python's standard module
@@ -85,7 +85,7 @@
 
 def mapurl(url):
     &quot;&quot;&quot;Maps a url following the regexp provided by the option url-map in
-    repsys.conf
+    mgarepo.conf
     &quot;&quot;&quot;
     urlmap = config.get(&quot;global&quot;, &quot;url-map&quot;)
     newurl = url
@@ -109,7 +109,7 @@
     configuration, if not, falls back to the default helper path, which can
     also be defined in configuration file(s).
     &quot;&quot;&quot;
-    helperdir = config.get(&quot;helper&quot;, &quot;prefix&quot;, &quot;/usr/share/repsys&quot;)
+    helperdir = config.get(&quot;helper&quot;, &quot;prefix&quot;, &quot;/usr/share/mgarepo&quot;)
     hpath = config.get(&quot;helper&quot;, name, None) or \
             os.path.join(helperdir, name)
     if not os.path.isfile(hpath):

Modified: build_system/mgarepo/trunk/README
===================================================================
--- build_system/mgarepo/trunk/README	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/README	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,12 +1,11 @@
-repsys is the tool used to manage RPM packages in a subversion repository.
+mgarepo is the tool used to manage RPM packages in a subversion repository
+on Mageia. It is a fork of the repsys tool used by Mandriva.
 It is used to create, tag releases, generate .src.rpm, generate changelog,
 and request new package releases for build. It mostly acts as a interface
 to svn(1) commands and small task scripts run that on the build system side
 over ssh(1).
 
-For more information, see repsys(8) and
-<A HREF="http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem">http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem</A>
+For more information, see mgarepo(8)
 
-The discussion on the development of repsys takes place on the
-&quot;maintainers&quot; mailing list:
-<A HREF="http://wiki.mandriva.com/en/Development/Mailinglists">http://wiki.mandriva.com/en/Development/Mailinglists</A>
+The discussion on the development of mageiarepo takes place on the
+Mageia developers mailing list.

Copied: build_system/mgarepo/trunk/README.BINREPO (from rev 264, build_system/mgarepo/trunk/BRANCH)
===================================================================
--- build_system/mgarepo/trunk/README.BINREPO	                        (rev 0)
+++ build_system/mgarepo/trunk/README.BINREPO	2011-01-11 00:35:59 UTC (rev 265)
@@ -0,0 +1,360 @@
+================================
+The detached binaries repository
+================================
+
+.. contents::
+
+A brief description
+===================
+
+Ideally, all binaries from packages sources (ie. all the binary files inside
+SOURCES/) will be placed in another subversion repository. This repository
+is called &quot;tarballs repository&quot;, &quot;binaries repository&quot; or just &quot;binrepo&quot;.
+It will contain mostly the same directory structure of the main repository,
+but instead of having SOURCES and SPECS, it will only have a SOURCES
+directory. Every copy/move operation should happen in both repositories.
+
+In order to allow deceasing binaries from older distributions, each stable
+distro will have its own subversion repository for binary files.  mgarepo
+knows how to access these binrepos by checking which URL defined in the
+&quot;[binrepo]&quot; section of the configuration file matches the path-part of the
+repository being accessed.  (see open issues)
+
+The package changelogs will be generated from SVN commit logs in the main
+&quot;plaintext&quot; repository (&quot;txtrepo&quot; for short) only.  Old changelogs will be
+preserved, as even empty revisions are preserved in the binaries-filtering
+conversion.
+
+
+Mapping repositories states
+---------------------------
+
+In order to allow the use of `mgarepo {getsrpm,co} -r REV`, mgarepo will have
+to use a reference in the text repo which will be used to know in what
+state was the binrepo when a binary was uploaded.
+
+We cannot use direct revision number mapping through properties/files/etc
+mainly because we may have multiple binaries repositories, and eventually
+they can be filtered for reducing space, thus can't ensure revisions will
+survive.  Thus another mechanism which relies on dates instead of revisions
+numbers is needed.
+
+When a binary is uploaded to the binrepo, the file `sha1.lst` is updated to
+have the files's hash and commited in the main text repo. This file will be
+used as the reference when the user uses -r REV on mgarepo. mgarepo will
+checkout the package in the main text repo with -r REV and then will use
+the &quot;Last Changed Date&quot; of `sha1.lst` to checkout the binrepo part. Thus,
+`sha1.lst` should be always commited to the main text repository *after* the
+corresponding binary files have been commited to the binrepo. Hooks in the
+main repository may be used to try to enforce this, by checking if the files
+changed in `sha1.lst` are already commited in the corresponding binrepo.
+
+Computation of `sha1.lst` is unlikely to be an issue:
+
+- it should not happen too often for any given package
+- it takes[0] less than 10s to sha1sum all SOURCES of openoffice.org-3.1-1mdv2010.0.src.rpm
+- it probably takes way less than the time to upload the file into the repository
+- it can be computed in parallel to the binrepo commit, and probably finish
+  before that, thus ready by the time `sha1.lst` should be commited
+- users don't need to verify the SHA1s &quot;everytime&quot;, but the build system
+  does, thus Repsys can default to not verify and avoid wasting users' time
+
+The use of `sha1.lst` has the valuable property of tying the state of the main
+repository and the binrepo.  With it, at getsrpm time of a package
+submission we can verify the SHA1 of the SOURCES-bin, and be sure that
+either the package will be built with the expected state, or early fail the
+build. It also allows for verifying binaries without trusting the binrepo,
+which may be useful if we consider using an unversioned plain filesystem
+storage in the future (for old distros or whatever), or at &quot;client side&quot;,
+which maintainers may find useful.
+
+[0]: In a single core AMD Athlon(tm) 3800+ (2400Mhz)
+
+Mapping of revisions using SVN properties
+-----------------------------------------
+
+Alternatively to using the above &quot;sha1.lst scheme&quot;, the revision mapping
+between the main repository and a binrepo could be done using subversion
+properties.  This could be done by making every commit to binrepos also
+cause a corresponding commit in the main text repository to happen, which
+would update a property recording the current date.  That is, a subversion
+property in the main text repository would be kept, such that for any given
+main repository revision, the corresponding state of the binrepos is
+obtainable (using the registered date).
+
+This would be &quot;more transparent&quot;, as it can be maintened simply by using
+subversion hooks, without user intervention.  OTOH, as every time the user
+commits to a binrepo this would result in a commit in the main repository,
+it would require the user to &quot;svn up&quot; the directories from there before
+commiting, after every binrepo commit.  Also, this might result in a big
+number of &quot;bogus&quot; commits to the main repository, which could be seen as log
+pollution, and may potentially increase space usage etc..
+
+Why a new repository without the tarballs
+==========================================
+
+- the current svn repository is too large, hard to manage
+- big binary files (in general, &quot;tarballs&quot;) history is of little value in
+  the distro development, we care much more about our specs, patches,
+  configurations, etc.; nonetheless, those big files we don't care much for
+  take the most resources and make backups and restoration in case of
+  failure very expensive, much more so than the more valuable data
+- there is no easy way to strip undesired tarballs without recreating the
+  whole repository
+- fedora and ubuntu have separated repositories, so we must have it too!
+
+Numbers
+-------
+
+Current repository is +390000 revisions and ~340Gb big, while the bzip2ed
+dumps backup for it takes about a bit more than half that size (FIXME:
+estimative, can't check in the backup server right now).  Current txtrepo
+with the same number of revisions is ~180Gb big, takes about 2-3 days to be
+imported, while the gzipped full dump backup for it currently takes ~1.2Gb. 
+Initial binrepo for Cooker (only `current/` packages' branches) took ~28Gb
+in disk, gzipped full dump for it takes ~25Gb, took about 5h30m to be
+populated from the current in use repository (&quot;oldrepo&quot;).
+
+
+Drawbacks of this layout
+=========================
+
+- (always) everything that changes the single-repository usage increases the chance
+  of failure and make things more complicated.
+- subversion can't be used alone as easily as the current scheme allows
+- copying binaries between distro branches may not be &quot;svn-cheap&quot; anymore
+  (unless they're in the same binrepo)
+- ...
+
+
+Open issues
+============
+
+Multiple binrepos dont allow us to have one permanent URL
+---------------------------------------------------------
+
+We would have to update the configuration files from all the users in order
+to add a new stable repository. spuk suggests to use properties in the main
+text repo that would point to the right repository locations.
+
+How to handle failures when operating on more repositores?
+----------------------------------------------------------
+
+binrepos should replicate the structure of the main text repo. What we
+should do if the markrelease succeeds in the binrepo, but fails in the main
+text repo?
+
+R: Markrelease must be done first in the txtrepo. If it fails there &quot;we're
+in trouble&quot; (though currently, we just miss it[0]).  When the markrelease is
+done in the txtrepo, we can do markrelease in the binrepo using '-r {DATE}',
+using the markrelease date in the txtrepo as '{DATE}'.
+
+[0] We should add transaction support for markrelease. The transaction could
+be stored out of the packages SVN (another SVN, a DB, a txt file, etc.), and
+would work like:
+
+0. mark beginning of markrelease, early failing the package build if it fails
+1. do markrelease
+2. mark sucessful end of markrelease
+   or mark failed markrelease, so we can replay it later
+
+
+Interesting use cases (first phase)
+===================================
+
+mgarepo co 1/mutt
+---------------------
+
+- mgarepo checkouts
+  <A HREF="http://svn.mageia.org/svn/packages/updates/1/mutt/current">http://svn.mageia.org/svn/packages/updates/1/mutt/current</A> to the
+  mutt directory
+
+- mgarepo checkouts
+  <A HREF="http://svn.mageia.org/svn/binrepo/updates/1/mutt/current/SOURCES">http://svn.mageia.org/svn/binrepo/updates/1/mutt/current/SOURCES</A>
+  into mutt/SOURCES-bin
+
+- creates symlinks for all files found in SOURCES-bin/ into ../SOURCES/
+
+  (rpm doesn't handle symlinks, this allows us to have explicit links and
+   proper src.rpm generates by rpmbuild)
+
+In case the path doesn't exist in the binrepo it will not fail, as we may
+have not imported all packages or the repository is not prepared to work on
+this model, etc.
+
+markrelease of a package
+------------------------
+
+::
+
+   $ mgarepo markrelease 
+
+- will copy current/ to releases/VERSION/RELEASE, as usual
+
+- will copy current/ to releases/, on the binrepo too
+
+Optionally, markrelease could create revprops indicating which is the
+revision of current/ on the binrepo that represents the tarballs that are
+being tagged.
+
+
+Use cases to be implemented after the first phase
+=================================================
+
+upgrading to a newer version of the package
+-------------------------------------------
+
+::
+
+  $ cd bla/SOURCES/
+  $ wget <A HREF="http://prdownloads.sourceforge.net/bla/bla-1.6.tar.bz2">http://prdownloads.sourceforge.net/bla/bla-1.6.tar.bz2</A>
+  $ mgarepo upload bla-1.6.0.tar.bz2
+
+- mgarepo notices this is a tarball (checking filename and/or file size)
+
+- mgarepo will move the file to SOURCES-bin/, create the symlink, and svn-add
+  it to the working copy
+
+  $ # the user updates the spec
+
+  $ mgarepo rm SOURCES/bla-1.5.1.tar.bz2
+
+- it will remove the symlink and run svn rm on
+  SOURCES-bin/bla-1.6.0.tar.bz2::
+
+  $ cd ../ # package top dir
+  $ mgarepo ci
+
+- mgarepo will commit the new tarball on SOURCES-bin/ and then on the rest
+  of the working copy
+
+mgarepo sync would perform these steps too.
+
+importing a package
+-------------------
+
+  $ mgarepo putsrpm mypkg.src.rpm
+
+- mgarepo will open the src.rpm
+
+- will look for tarballs inside SOURCES/ and import them to
+  <A HREF="http://svn.mageia.org/svn/binrepo/cauldron/mypkg/current/SOURCES/">http://svn.mageia.org/svn/binrepo/cauldron/mypkg/current/SOURCES/</A>
+
+- will move the tarballs out of SOURCES and import the remaining files to
+  <A HREF="http://svn.mageia.org/svn/packages/cauldron/mypkg/current/">http://svn.mageia.org/svn/packages/cauldron/mypkg/current/</A>
+
+- will do whatever else putsrpm already does
+
+TODO
+=====
+
+First phase
+-----------
+
+- upload
+- markrelease
+- putsrpm
+- getsrpm
+
+
+Second phase
+------------
+
+- up
+- sync
+
+Rejected or postponed ideas
+===========================
+
+Use of a plain filesystem storage for the tarballs
+--------------------------------------------------
+
+This was planned, then rejected. It becomes too complicated when thinking
+about markrelease, and mapping SVN revisions in the main repository to
+binaries versions in the &quot;tarballs storage&quot;, basically requiring
+implementing VCS-like features on top of filesystem.  Would also require
+implementing another authentication and access scheme.  The main feature
+would be ease of removing old binaries, which isn't much of a point because
+we don't know precisely what and when we want to remove, so may end up not
+removing much files anyway.
+
+Use of a plain unversioned filesystem storage for the tarballs
+--------------------------------------------------------------
+
+Different than the previous one, this would mean not relying at all on
+binary files history keeping.  Structure could be something simple like::
+
+  packages/${pkg:0:1}/$pkg/$tarball
+
+This alternative does not suffice for Cooker, nor for supported distros, for
+which we want history.  It could, however, at some point be used for &quot;very
+old&quot; distros, for which we may have lost interest in keeping *binaries*
+history (package history will kept &quot;forever&quot; in the main SVN repository). 
+Alternatively, &quot;resetting&quot; an SVN binrepo (i.e.  recreate the repository) to
+contain only the latest tarballs would probably take about the same amount
+of space, anyway...
+
+Open tarballs repository
+------------------------
+
+This idea is not really rejected. It does not go against splitting txtrepo
+and binrepo, but rather complement this idea, where the
+open-tarballs-repository would take the place of the binrepo.  The txtrepo
+would still be used +- the same way.  This repository could be used
+selectively, for packages where it makes sense, while most packages could be
+kept &quot;closed&quot;, still as tarballs.
+
+Use of externals for more seamless Subversion usage
+---------------------------------------------------
+
+This idea is not discarded, but it just provides easiness. OTOH, it makes
+things more complicated:
+
+- markrelease: externals would have to be updated in order to make it point
+  to the tagged version in the binrepo, otherwise changes in
+  <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">current at binrepo</A> would change older releases;
+- branching whole distro: even though subversion now supports &quot;relative
+  externals&quot;, we would have to update the URLs for *every* package on the
+  distro, as the path to reach the binrepo spans the local distribution
+  directory;
+- keeping externals up-to-date (as stated above and below)
+- authentication and access control: only markrelease action done by the
+  build system should be allowed to change externals (so what about importing
+  new packages?)
+- just a convenience, we don't need and shouldn't rely on externals for
+  running the build system, while most people will use the repositories via
+  Repsys, so why spend time to implement and keep it?
+- &quot;svn co&quot; works transparently, cool, but &quot;svn co -r N&quot; does not, otherwise
+  every change in the binrepo would require svn:externals to be updated in
+  the respective package;
+- it does not solve the problem of creating and handling symlinks between
+  SOURCES and SOURCES-bin.
+
+Keeping svn:externals updated for every package has almost the same cost of
+keeping the `sha1.lst` updated, with the difference that in the latter we
+would not have to update every package when creating distro branches.
+
+Use of &quot;external&quot; xdelta to save space on binaries
+--------------------------------------------------
+
+But how? First idea is this could be done by defining a protocol and
+assuming repository manipulation with mgarepo (for ease).  Repsys could
+xdelta tarballs and add it to SVN with a special filename, then use it when
+checking out.  Would require a policy/algorithm on when to ditch old whole
+binaries, too (i.e.  hopefully wouldn't need to be handled manually by the
+maintainer).  Also, this is something complemental to splitting the
+repository, so we may do it later, for binrepos.
+
+
+The Future
+==========
+
+- Open tarballs repositories
+
+  - suited for GIT, maybe multi-VCS
+  - incremental move
+  - not everything will be suited for this, must handle all cases or be
+    optional
+
+- Xdelta
+

Modified: build_system/mgarepo/trunk/README.LDAP
===================================================================
--- build_system/mgarepo/trunk/README.LDAP	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/README.LDAP	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,7 +1,7 @@
 A Repsys plugin for obtaining users from a LDAP server.
 
 In order to enable the plugin, the user must define the following 
-options in the [global] section of repsys.conf:
+options in the [global] section of mgarepo.conf:
 
     ldap-uri [required if ldap-server is unset]
         the URI of the server, you can refer to more than one server by
@@ -52,8 +52,8 @@
         Note that only the first value of the attributes will be 
         used.
 
-When the searched option is not found, it will try in repsys.conf. All
-the values found.  (including from repsys.conf) will be cached between
+When the searched option is not found, it will try in mgarepo.conf. All
+the values found.  (including from mgarepo.conf) will be cached between
 each configuration access.
 
 This plugin requires the package python-ldap.

Modified: build_system/mgarepo/trunk/create-srpm
===================================================================
--- build_system/mgarepo/trunk/create-srpm	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/create-srpm	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,10 +1,10 @@
 #!/usr/bin/python
 
-from RepSys import Error, config, plugins, layout
-from RepSys.mirror import strip_username
-from RepSys.rpmutil import get_srpm
-from RepSys.cgiutil import get_targets
-from RepSys.util import mapurl, execcmd, get_helper
+from MgaRepo import Error, config, plugins, layout
+from MgaRepo.mirror import strip_username
+from MgaRepo.rpmutil import get_srpm
+from MgaRepo.cgiutil import get_targets
+from MgaRepo.util import mapurl, execcmd, get_helper
 import sys
 import os
 import pwd

Modified: build_system/mgarepo/trunk/default.chlog
===================================================================
--- build_system/mgarepo/trunk/default.chlog	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/default.chlog	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,5 +1,5 @@
 ##
-## Default changelog format for Mandriva Linux
+## Default changelog format for Mageia
 ##
 #if not $releases_by_author[-1].visible
   ## Hide the first release that contains no changes. It must be a

Copied: build_system/mgarepo/trunk/mgarepo (from rev 264, build_system/mgarepo/trunk/repsys)
===================================================================
--- build_system/mgarepo/trunk/mgarepo	                        (rev 0)
+++ build_system/mgarepo/trunk/mgarepo	2011-01-11 00:35:59 UTC (rev 265)
@@ -0,0 +1,93 @@
+#!/usr/bin/python
+from MgaRepo import Error, plugins, config
+from MgaRepo.command import *
+import getopt
+import sys
+
+VERSION=&quot;1.9.4&quot;
+
+HELP = &quot;&quot;&quot;\
+Usage: mgarepo COMMAND [COMMAND ARGUMENTS]
+
+Tool to access and manage a package repository structure.
+
+<A HREF="http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem/Quickstart">http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem/Quickstart</A>
+
+Useful commands:
+    co            checkout a package
+    ci            commit changes
+    sync          add-remove all file changes from the .spec
+    submit        submit a package for build
+    putsrpm       import a source package to the repository
+    getspec       prints the spec
+    rpmlog        prints the RPM changelog
+    getsrpm       creates the source RPM
+    create        create the structure of a new package
+    changed       shows changes not submitted
+    authoremail   prints the e-mail of a given author
+    switch        relocate to mirror or upstream repository
+
+Run &quot;mgarepo COMMAND --help&quot; and &quot;man 8 mgarepo&quot; for more information.
+
+Written by Gustavo Niemeyer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">gustavo at niemeyer.net</A>&gt;
+&quot;&quot;&quot;
+
+command_aliases = {&quot;import&quot;: &quot;putsrpm&quot;}
+
+def plugin_help(opt, val, parser, mode):
+    if parser is None:
+        prog = sys.argv[0]
+        print &quot;Use %s --help-plugin &lt;plugin name&gt;&quot; % prog
+        print &quot;Available plugins:&quot;
+        print
+        for name in plugins.list():
+            print name
+    else:
+        print plugins.help(parser)
+    raise SystemExit
+
+def parse_options():
+    parser = OptionParser(help=HELP, version=&quot;%prog &quot;+VERSION)
+    parser.disable_interspersed_args()
+    parser.add_option(&quot;--debug&quot;, action=&quot;store_true&quot;)
+    parser.add_option(&quot;--help-plugins&quot;, action=&quot;callback&quot;, callback=plugin_help)
+    parser.add_option(&quot;--help-plugin&quot;, type=&quot;string&quot;, dest=&quot;__ignore&quot;,
+            action=&quot;callback&quot;, callback=plugin_help)
+    opts, args = parser.parse_args()
+    del opts.__ignore
+    if len(args) &lt; 1:
+        parser.print_help(sys.stderr)
+        sys.exit(1)
+    opts.command = args[0]
+    opts.argv = args
+    return opts
+
+def dispatch_command(command, argv, debug=0):
+    sys.argv = argv
+    try:
+        command = command_aliases[command]
+    except KeyError:
+        pass
+    if debug:
+        config.set(&quot;global&quot;, &quot;verbose&quot;, &quot;yes&quot;)
+    try:
+        repsys_module = __import__(&quot;MgaRepo.commands.&quot;+command)
+        commands_module = getattr(repsys_module, &quot;commands&quot;)
+        command_module = getattr(commands_module, command)
+    except (ImportError, AttributeError):
+        etype, exc, tb = sys.exc_info()
+        if tb.tb_next is None and not debug:
+            raise Error, &quot;invalid command '%s'&quot; % command
+        raise
+    command_module.main()
+    
+if __name__ == &quot;__main__&quot;:
+    try:
+        plugins.load()
+    except Error, e:
+        sys.stderr.write(&quot;plugin initialization error: %s\n&quot; % e)
+        sys.exit(1)
+    config.set(&quot;global&quot;, &quot;mgarepo-cmd&quot;, sys.argv[0])
+    do_command(parse_options, dispatch_command)
+
+# vim:et:ts=4:sw=4

Copied: build_system/mgarepo/trunk/mgarepo-example.conf (from rev 264, build_system/mgarepo/trunk/repsys-example.conf)
===================================================================
--- build_system/mgarepo/trunk/mgarepo-example.conf	                        (rev 0)
+++ build_system/mgarepo/trunk/mgarepo-example.conf	2011-01-11 00:35:59 UTC (rev 265)
@@ -0,0 +1,74 @@
+[global]
+verbose = no
+repository = svn+<A HREF="ssh://svn.mageia.org/svn/packages/">ssh://svn.mageia.org/svn/packages/</A>
+url-map = svn\+<A HREF="ssh://svn\.mageia\.org/(.*">ssh://svn\.mageia\.org/(.*</A>) <A HREF="file:///\1">file:///\1</A>
+#tempdir = /tmp
+## the command used to download files when using mgarepo sync -d
+#download-command = wget -c -O '$dest' $url
+svn-env = SVN_SSH=/home/me/my-ssh-wrapper
+	SVN_FOO=bar
+
+[log]
+oldurl = svn+<A HREF="ssh://svn.mageia.org/svn/packages/misc">ssh://svn.mageia.org/svn/packages/misc</A>
+sort = yes
+merge-spec = no
+# controls up to which revision the rpm changelog
+# will be constructed (default zero, i.e., oldest
+# commit)
+revision-offset = 0
+# commit lines containing this string won't be shown in the changelog:
+ignore-string = SILENT
+# and in case of only allowing a few lines to be visible, use this:
+#unignore-string = CLOG
+
+[template]
+# set the cheetah template used to generate the spec changelog from svn
+path = /usr/share/mgarepo/default.chlog
+
+[helper]
+# create-srpm is called by mgarepo on the server-side when submitting a
+# package
+create-srpm = /usr/share/mgarepo/create-srpm
+# upload-srpm is called by create-srpm to copy the generated .src.rpm to
+# the proper build queue
+upload-srpm = /usr/local/bin/youri.devel
+
+# this section maps usernames found in svn commits to the ones that must be
+# shown in the changelog
+# users can be retrieved from LDAP through the use of the mgarepo-ldap
+# plugin
+[users]
+# jsmith = John Smith &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">jsmith26 at example.com</A>&gt;
+#
+
+[srpm]
+# runs &quot;make -C current/ srpm-prep&quot; on the package before creating the
+# srpm file
+run-prep = yes
+
+[submit]
+host = pkgsubmit.mageia.org
+default = Cauldron 
+
+[submit Cauldron]
+target = /export/home/mgarepo
+allowed = svn+<A HREF="ssh://svn.mageia.org/svn/packages/cauldron">ssh://svn.mageia.org/svn/packages/cauldron</A>
+scripts = /usr/share/mgarepo/rebrand-mdk
+##
+## rpm-macros refers to the sections containing the macros used for this
+## target. The values will be used to build the rpmbuild command line. For
+## example:
+## 
+##   [macros cauldron]
+##   a = b
+##   c = %a
+##
+## will render in the command line: --define &quot;a b&quot; --define &quot;c %a&quot;.
+##
+#rpm-macros = global cooker
+
+#[macros global]
+#distsuffix = mga
+
+#[macros cauldron]
+#mageia_release = 2

Copied: build_system/mgarepo/trunk/mgarepo-ssh (from rev 264, build_system/mgarepo/trunk/repsys-ssh)
===================================================================
--- build_system/mgarepo/trunk/mgarepo-ssh	                        (rev 0)
+++ build_system/mgarepo/trunk/mgarepo-ssh	2011-01-11 00:35:59 UTC (rev 265)
@@ -0,0 +1,2 @@
+#!/bin/sh
+ssh -o &quot;BatchMode yes&quot; $*

Copied: build_system/mgarepo/trunk/mgarepo.8 (from rev 264, build_system/mgarepo/trunk/repsys.8)
===================================================================
--- build_system/mgarepo/trunk/mgarepo.8	                        (rev 0)
+++ build_system/mgarepo/trunk/mgarepo.8	2011-01-11 00:35:59 UTC (rev 265)
@@ -0,0 +1,219 @@
+.\&quot; mgarepo - Package repository management tool
+.TH &quot;mgarepo&quot; &quot;8&quot; &quot;2011 Jan 11&quot; &quot;Mageia&quot; &quot;&quot;
+.SH &quot;NAME&quot;
+mgarepo \- Package sources repository management tool
+.SH &quot;SYNOPSIS&quot;
+\fBmgarepo\fP command [options] [arguments]
+.SH &quot;DESCRIPTION&quot;
+\fBmgarepo\fP is the tool used to manage RPM packages in a subversion repository. It is used to create, tag releases, generate .src.rpm, generate changelog, and request new package releases for build. It mostly acts as a interface to svn(1) commands and small task scripts run on the build system side over ssh(1).
+
+Most of the \fBmgarepo\fP commands operate on a given package URL, these URLs can be omitted when the configuration option \fBrepository\fP is set.
+
+Detailed help on commands is available running \fBmgarepo &lt;command&gt; \-\-help\fP.
+.SH &quot;BASIC USAGE&quot;
+.SS &quot;Setup&quot;
+\fBmgarepo\fP does not handle the authentication interface used by svn. So it is usually required to setup ssh\-agent(1) if the repository access method is over SSH (svn+<A HREF="ssh://">ssh://</A> URLs), or performing some simple operation in order to obtain a authentication token.
+
+.nf
+For more information related how to setup ssh-agent, see:
+<A HREF="http://wiki.mandriva.com/en/Development/Docs/Contributor_Tricks#SSH_configuration">http://wiki.mandriva.com/en/Development/Docs/Contributor_Tricks#SSH_configuration</A>
+.fi
+
+Users that don't have an ssh account in the default repository URL can set the option \fBmirror\fP pointing to a non-authenticated, read-only repository (such as <A HREF="http://svn.mageia.org/svn/packages">http://svn.mageia.org/svn/packages</A>).
+.SS &quot;Examples&quot;
+.PP
+.IP &quot;\fBmgarepo co foo\fP&quot;
+Obtains a working copy of the package foo.
+.IP &quot;\fBmgarepo co 1/mutt\fP&quot;
+Obtains a working copy of the package mutt of from the 1 branch.
+.IP &quot;\fBmgarepo ci\fP&quot;
+Commits pending changes in the working copy.
+.IP &quot;\fBmgarepo submit foo \-r 12345\fP&quot;
+Requests the package foo in the revision 12345 to be built and, if successful, to be uploaded to the RPMs repository.
+.IP &quot;\fBmgarepo submit foo \-r 12345 -t 1 \-\-define section=core/testing\fP&quot;
+Will submit the package foo and, upon successful build will have its RPMs placed inside the core/testing media of the 1 repository.
+.IP &quot;\fBmgarepo submit\fP&quot;
+submit run without parameters will use package name and revision found in the working copy in the current directory.
+.SH &quot;COMMANDS&quot;
+For detailed help on commands run \fBmgarepo &lt;command&gt; \-\-help\fP.
+\#TODO complete list of commands, all options, all descriptions
+.PP
+.IP &quot;\fBco\fP&quot;
+checkout a package
+.IP &quot;\fBci\fP&quot;
+commit changes
+.IP &quot;\fBsubmit\fP&quot;
+submit a package in a given revision for build and release
+.IP &quot;\fBsync\fP&quot;
+add-remove all file changes from the .spec
+.IP &quot;\fBgetspec\fP&quot;
+prints the spec 
+.IP &quot;\fBrpmlog\fP&quot;
+prints the RPM changelog generated from SVN
+.IP &quot;\fBgetsrpm\fP&quot;
+creates the source RPM
+.IP &quot;\fBcreate\fP&quot;
+create the structure of a new package
+.IP &quot;\fBchanged\fP&quot;
+shows changes not submitted
+.IP &quot;\fBauthoremail\fP&quot;
+prints the e-mail of a given svn author
+.IP &quot;\fBswitch\fP&quot;
+relocate to mirror or upstream repository
+.IP &quot;\fBmarkrelease\fP&quot;
+creates a tag for a given package revision and version
+.SH &quot;REPOSITORY LAYOUT&quot;
+.nf
+A detailed description can be found at:
+<A HREF="http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem">http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem</A>
+.fi
+
+The svn repository used by \fBmgarepo\fP consists of a set of branches in the top directory, followed by package directories having the internal package structure.
+
+The internal package layout contains a directory \fBcurrent/\fP, which contains the latest version of the package (equivalent to &quot;trunk&quot; in software repositories). The directory \fBreleases/\fP contain copies of older submitted packages that have been already released, it is organized in the \fB&lt;version&gt;/&lt;release&gt;\fP format (equivalent to &quot;tags&quot; directories).
+
+URLs used in \fBmgarepo\fP commands refer to the package directory, and never to \fBcurrent\fP. In other words, the <A HREF="http://host/svn/cauldron/foo">http://host/svn/cauldron/foo</A> is valid, whereas <A HREF="http://host/svn/cauldron/foo/current">http://host/svn/cauldron/foo/current</A> is not.
+
+One example layout:
+
+\fB
+/packages/cauldron
+     |
+     +\- cauldron/
+     |  ...
+     |  +\- rsync/
+     |  +\- coreutils/
+     |  +\- make/
+     |  +\- foo/
+     |     +\- current/
+     |     |  +\- SOURCES/
+     |     |  +\- SPECS/
+     |     +\- releases/
+     |        ...
+     |        +\- 1.0
+     |           +\- 1.mga1/
+     |              +\- SOURCES/
+     |              +\- SPECS/
+     |           +\- 2.mga1/
+     |           ...
+     +\- updates/
+        +\- 1/
+        +\- 2/
+        +\- 3/
+\fP
+.SS &quot;Setting up a repository&quot;
+The minimal setup is accomplished with a Subversion repository having three directories: \fBcauldron/\fP, \fBmisc/\fP and \fBupdates/\fP. The name of this directories can be changed using the configuration options \fBtrunk\-dir\fP and \fBbranches-dir\fP. Having this you can start importing packages with \fBmgarepo import\fP.
+\#.SH &quot;THE SUBMIT PROCESS&quot;
+\#.SS &quot;Connecting&quot;
+\#.SS &quot;Changelog generation&quot;
+\#.SS &quot;Uploading&quot;
+\#.SH CHANGELOGS
+\#.SH SERVER\-SIDE SETUP
+.SH &quot;CONFIGURATION&quot;
+.SS &quot;Introduction&quot;
+The main configuration file is \fB/etc/mgarepo.conf\fP, it is in the .ini format. It is basically defined by a set of \fB[name]\fP sections, with a set of variables defined by \fBname = value\fP.
+
+If existing, the file ~/.mgarepo/config is also loaded.
+.SS &quot;[global] section&quot;
+.PP
+.IP &quot;\fBrepository = URL\fP&quot;
+Contains the base URL used to access packages in the svn repository when only package names are used in mgarepo commands. For example, if \fBmgarepo co trafshow\fP is run and repository is <A HREF="http://host/svn/,">http://host/svn/,</A> the URL <A HREF="http://host/svn/cauldron/trafshow">http://host/svn/cauldron/trafshow</A> will be used (&quot;cauldron&quot; is the default branch).
+.IP &quot;\fBdefault_parent = URL\fP&quot;
+Points to the base URL of the development branch of the svn repository. This option is deprecated as it has been replaced by &quot;repository&quot;.
+.IP &quot;\fBmirror = URL\fP&quot; 
+The URL of an alternative and read\-only repository to be used when checking out packages. \fBmgarepo ci\fP will automatically relocate to &quot;repository&quot; when comitting.
+.IP &quot;\fBuse-mirror = yes/no\fP&quot;
+Disable the use of the mirror repository when checking out packages.
+.IP &quot;\fBurl\-map = MATCH\-REGEXP REPLACE\-EXPR\fP&quot;
+This option is used on server-side to remap remote URLs brought by the user when running \fBmgarepo submit\fP to local (and probably faster) URLs. \fBMATCH\-REGEXP\fP is a Python regular expression matching the components that must be reused in the local URL. \fbREPLACE\-EXPR\fP is a replace expression that should expand in the final URL. Example: \fBsvn\+<A HREF="ssh://svn\.mageia\.org/(.*">ssh://svn\.mageia\.org/(.*</A>) <A HREF="file:///\1\fP">file:///\1\fP</A>
+.IP &quot;\fBtempdir = PATH\fP&quot;
+The directory to be used as base for temporay directories and files created by mgarepo.
+.IP &quot;\fBdownload\-command = COMMAND\-FMT\fP&quot;
+Command used to download generic remote URLs, it accepts the variables \fB$url\fP and \fB$dest\fP. It is currently used when running \fBmgarepo sync \-d\fP.
+.IP &quot;\fBsvn\-command = COMMAND\fP&quot;
+The base command used to execute svn(1). Runs through system(3).
+.IP &quot;\fBsvn-env = VAR=VALUE ..\fP&quot;
+The environment variables to use when running svn. More entries can be defined by using more lines. The variable defined by default is \fBSVN_SSH\fP, which points to the \fBmgarepo-ssh\fP ssh wrapper.
+.IP &quot;\fBverbose = yes/no\fP&quot;
+Increase the verbosity of mgarepo output, printing commands being run and complete traceback when unhanlded errors happen.
+.IP &quot;\fBtrunk-dir\fP&quot;
+Points to the default branch of the distro used in commands that do not have their branch or URL specified.
+.IP &quot;\fBbranches-dir\fP&quot;
+The directory inside the repository which contains all the branches of the distro. It is used to build the URL of packages referred using the branch notation BRANCH/PACKAGE, as in \fBmgarepo co 1/mutt\fP.
+.SS &quot;[submit-groups] section&quot;
+This section contains aliases to groups of packages to be submitted at once. For example, a line with \fBmy-python-packages = bzr bzrtools bzr-gtk\fP would allow the user to simply run \fBmgarepo submit my-python-packages\fP.
+
+Also distro branches or revision numbers can be specified for each package group. For example: \fBmgarepo submit 1/my-python-packages\fP.
+.SS &quot;[submit] section&quot;
+.IP &quot;\fBhost = HOST\fP&quot;
+Defines the default host in which \fBmgarepo submit\fP will run the submit helper.
+.IP &quot;\fBdefault = TARGET\fP&quot;
+The default target to be used in \fBmgarepo submit\fP when the option \-t is not used.
+.SS &quot;[submit TARGET] sections (server\-side only)&quot;
+These sections describe each one of the sections available to submit packages, ther configuration options are:
+.IP &quot;\fBtarget = PATH\fP&quot;
+The path where SRPMs generated by \fBcreate\-srpm-\fP will be placed during during the submit process.
+.IP &quot;\fBallowed = URLs\fP&quot;
+A space\-delimited list of package URLs that will be allowed to be used with this target. The comparison is done by checking if the package URL used in submit starts with one of the URLs of this option.
+.IP &quot;\fBscripts = PATHS\fP&quot;
+A space\-delimited list of scripts that will be run receiving the generated SRPM as first argument. These scripts are usually used to perform small changes in the SRPM structure, increasing release number for example.
+.IP &quot;\fBrpm\-macros = NAMES\fP&quot;
+It points to sections in the configuration that will contain the RPM macros used when generating the SRPM of the package being submitted. These section should be named in the \fB[macros NAME]\fP format.
+.SS &quot;[macros NAME] sections (server\-side only)&quot;
+These sections contain variables that will be defined as RPM macros when generating the SRPM of the package being submitted.It is usually used to define the distribution suffix that will be used in package releases, such as &quot;mga1&quot;.
+.SS &quot;[users] section (server\-side only)&quot;
+This section maps the usernames found in svn to their real names and e\-mails. It is used when generating the changelog based on commits in svn and by \fBauthoremail\fP. Example: \fBjoe = Joe User &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">joeuser at host.com</A>&gt;\fP.
+
+This section can be used on client\-side too, but will have no effect in generated changelogs on the server\-side.
+.SS &quot;[helper] section&quot;
+.IP &quot;\fBcreate\-srpm = PATH\fP&quot;
+The path of the script that will be run through ssh on the submit host when running \fBmgarepo submit\fP.
+.IP &quot;\fBupload\-srpm = PATH\fP&quot;
+(server\-side only) Path of the script that will be called after the generated SRPM is copied to its target location (see target sections above) and target scripts are run.
+.IP &quot;\fBrpmbuild = COMMAND\fP&quot;
+The command used to call rpmbuild. Note that build options (such as \-bs) are supplied by mgarepo.
+.SS &quot;[log] section&quot;
+.IP &quot;\fBoldurl = URL\fP&quot;
+The URL of a directory structure that will contain old changelogs of packages that will be appended to the changelog being generated by \fBrpmlog\fP or \fBgetsrpm \-l\fP.
+.IP &quot;\fBmerge\-spec = yes/no\fP&quot;
+If enabled, changelogs generated by \fBmgarepo\fP will have the contents of the %changelog found in the .spec file of the package appended.
+.IP &quot;\fBsort = yes/no\fP&quot;
+If enabled, the changelog will be resorted after its generation. It is useful when changelogs found in \fBoldurl\fP or in the .spec's %changelog section are newer than those generated by SVN.
+.IP &quot;\fBrevision\-offset = REVISION\-NUMBER\fP&quot;
+The base revision used to generated changelogs. As in \fBsvn log -r REVISION\-OFFSET:HEAD URL\fP.
+.IP &quot;\fBignore\-string = STRING\fP&quot;
+Mark used to hide log messages. When it appears at the beginning of the log message, the whole changeset log is hidden. When it is found in the middle of a string, only the line will not be shown.
+.IP &quot;\fBunignore\-string = STRING\fP&quot;
+The complement of the previous option. When this token is found, only those lines containg this mark will be shown. It is intended to be used in very long log messages.
+.SS &quot;[template] section&quot;
+.IP &quot;\fBpath = PATH\fP&quot;
+The path of the template used to generate the changelog from svn commits.
+.SS &quot;[srpm] section&quot;
+.IP &quot;\fBrun-prep = yes/no\fP&quot;
+Repsys can check for the presence of a file named \fBMakefile\fP in the top directory of the package and run \fBmake prep-srpm\fP so that it can generate the actual files that must be distributed in in the srpm. This option enables this feature. (Note: the command is expected to run in an restricted environment, the Makefile must use only minimal funcionalities.)
+.SH &quot;ENVIRONMENT VARIABLES&quot;
+.PP
+.IP &quot;\fBREPSYS_CONF\fP&quot;
+Sets the configuration file to be read by \fBmgarepo\fP
+.SH &quot;FILES&quot;
+.nf 
+~/.mgarepo/config
+/etc/mgarepo.conf
+/usr/share/mgarepo/
+/usr/share/doc/mgarepo/
+.fi 
+.SH &quot;BUGS&quot;
+See the list of bugs at <A HREF="http://bugs.mageia.org/buglist.cgi?quicksearch=mgarepo">http://bugs.mageia.org/buglist.cgi?quicksearch=mgarepo</A>
+.SH &quot;SEE ALSO&quot;
+mdvsys(1), svn(1), ssh\-agent(1)
+
+.nf 
+<A HREF="http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem/Quickstart">http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem/Quickstart</A>
+.fi 
+.SH &quot;AUTHOR&quot;
+.nf 
+repsys was originally written by Gustavo Niemeyer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">gustavo at niemeyer.net</A>&gt;
+for the Conectiva Linux distribution. It was then maintained by Mandriva
+contributors and employees. mgarepo is a fork of repsys maintained by
+Mageia contributors.
+.fi 

Copied: build_system/mgarepo/trunk/mgarepo.conf (from rev 264, build_system/mgarepo/trunk/repsys.conf)
===================================================================
--- build_system/mgarepo/trunk/mgarepo.conf	                        (rev 0)
+++ build_system/mgarepo/trunk/mgarepo.conf	2011-01-11 00:35:59 UTC (rev 265)
@@ -0,0 +1,20 @@
+# see man 8 mgarepo for a description on configuration options
+[global]
+repository = svn+<A HREF="ssh://svn.mageia.org/svn/packages/">ssh://svn.mageia.org/svn/packages/</A>
+trunk-dir = cauldron/
+
+## uncomment it in case you don't have a account in the Mageia build system:
+#mirror = <A HREF="http://svn.mageia.org/svn/packages/cauldron/">http://svn.mageia.org/svn/packages/cauldron/</A>
+use-binaries-repository = yes
+binaries-repository = svn+<A HREF="ssh://svn.mageia.org/svn/binrepos">ssh://svn.mageia.org/svn/binrepos</A>
+
+[log]
+oldurl = svn+<A HREF="ssh://svn.mageia.org/svn/packages/misc">ssh://svn.mageia.org/svn/packages/misc</A>
+
+[helper]
+create-srpm = /usr/share/repsys/create-srpm
+upload-srpm = /usr/local/bin/youri.devel
+
+[submit]
+host = pkgsubmit.mageia.org
+default = Cauldron

Deleted: build_system/mgarepo/trunk/repsys
===================================================================
--- build_system/mgarepo/trunk/repsys	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/repsys	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,93 +0,0 @@
-#!/usr/bin/python
-from RepSys import Error, plugins, config
-from RepSys.command import *
-import getopt
-import sys
-
-VERSION=&quot;1.9.4&quot;
-
-HELP = &quot;&quot;&quot;\
-Usage: repsys COMMAND [COMMAND ARGUMENTS]
-
-Tool to access and manage a package repository structure.
-
-<A HREF="http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem/Quickstart">http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem/Quickstart</A>
-
-Useful commands:
-    co            checkout a package
-    ci            commit changes
-    sync          add-remove all file changes from the .spec
-    submit        submit a package for build
-    putsrpm       import a source package to the repository
-    getspec       prints the spec
-    rpmlog        prints the RPM changelog
-    getsrpm       creates the source RPM
-    create        create the structure of a new package
-    changed       shows changes not submitted
-    authoremail   prints the e-mail of a given author
-    switch        relocate to mirror or upstream repository
-
-Run &quot;repsys COMMAND --help&quot; and &quot;man 8 repsys&quot; for more information.
-
-Written by Gustavo Niemeyer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">gustavo at niemeyer.net</A>&gt;
-&quot;&quot;&quot;
-
-command_aliases = {&quot;import&quot;: &quot;putsrpm&quot;}
-
-def plugin_help(opt, val, parser, mode):
-    if parser is None:
-        prog = sys.argv[0]
-        print &quot;Use %s --help-plugin &lt;plugin name&gt;&quot; % prog
-        print &quot;Available plugins:&quot;
-        print
-        for name in plugins.list():
-            print name
-    else:
-        print plugins.help(parser)
-    raise SystemExit
-
-def parse_options():
-    parser = OptionParser(help=HELP, version=&quot;%prog &quot;+VERSION)
-    parser.disable_interspersed_args()
-    parser.add_option(&quot;--debug&quot;, action=&quot;store_true&quot;)
-    parser.add_option(&quot;--help-plugins&quot;, action=&quot;callback&quot;, callback=plugin_help)
-    parser.add_option(&quot;--help-plugin&quot;, type=&quot;string&quot;, dest=&quot;__ignore&quot;,
-            action=&quot;callback&quot;, callback=plugin_help)
-    opts, args = parser.parse_args()
-    del opts.__ignore
-    if len(args) &lt; 1:
-        parser.print_help(sys.stderr)
-        sys.exit(1)
-    opts.command = args[0]
-    opts.argv = args
-    return opts
-
-def dispatch_command(command, argv, debug=0):
-    sys.argv = argv
-    try:
-        command = command_aliases[command]
-    except KeyError:
-        pass
-    if debug:
-        config.set(&quot;global&quot;, &quot;verbose&quot;, &quot;yes&quot;)
-    try:
-        repsys_module = __import__(&quot;RepSys.commands.&quot;+command)
-        commands_module = getattr(repsys_module, &quot;commands&quot;)
-        command_module = getattr(commands_module, command)
-    except (ImportError, AttributeError):
-        etype, exc, tb = sys.exc_info()
-        if tb.tb_next is None and not debug:
-            raise Error, &quot;invalid command '%s'&quot; % command
-        raise
-    command_module.main()
-    
-if __name__ == &quot;__main__&quot;:
-    try:
-        plugins.load()
-    except Error, e:
-        sys.stderr.write(&quot;plugin initialization error: %s\n&quot; % e)
-        sys.exit(1)
-    config.set(&quot;global&quot;, &quot;repsys-cmd&quot;, sys.argv[0])
-    do_command(parse_options, dispatch_command)
-
-# vim:et:ts=4:sw=4

Deleted: build_system/mgarepo/trunk/repsys-example.conf
===================================================================
--- build_system/mgarepo/trunk/repsys-example.conf	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/repsys-example.conf	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,74 +0,0 @@
-[global]
-verbose = no
-repository = svn+<A HREF="ssh://svn.mandriva.com/svn/packages/">ssh://svn.mandriva.com/svn/packages/</A>
-url-map = svn\+<A HREF="ssh://svn\.mandriva\.com/(.*">ssh://svn\.mandriva\.com/(.*</A>) <A HREF="file:///\1">file:///\1</A>
-#tempdir = /tmp
-## the command used to download files when using repsys sync -d
-#download-command = wget -c -O '$dest' $url
-svn-env = SVN_SSH=/home/me/my-ssh-wrapper
-	SVN_FOO=bar
-
-[log]
-oldurl = svn+<A HREF="ssh://svn.mandriva.com/svn/packages/misc">ssh://svn.mandriva.com/svn/packages/misc</A>
-sort = yes
-merge-spec = no
-# controls up to which revision the rpm changelog
-# will be constructed (default zero, i.e., oldest
-# commit)
-revision-offset = 0
-# commit lines containing this string won't be shown in the changelog:
-ignore-string = SILENT
-# and in case of only allowing a few lines to be visible, use this:
-#unignore-string = CLOG
-
-[template]
-# set the cheetah template used to generate the spec changelog from svn
-path = /usr/share/repsys/default.chlog
-
-[helper]
-# create-srpm is called by repsys on the server-side when submitting a
-# package
-create-srpm = /usr/share/repsys/create-srpm
-# upload-srpm is called by create-srpm to copy the generated .src.rpm to
-# the proper build queue
-upload-srpm = /usr/local/bin/youri.devel
-
-# this section maps usernames found in svn commits to the ones that must be
-# shown in the changelog
-# users can be retrieved from LDAP through the use of the repsys-ldap
-# plugin
-[users]
-# jsmith = John Smith &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">jsmith26 at example.com</A>&gt;
-#
-
-[srpm]
-# runs &quot;make -C current/ srpm-prep&quot; on the package before creating the
-# srpm file
-run-prep = yes
-
-[submit]
-host = kenobi.mandriva.com
-default = Cooker
-
-[submit Cooker]
-target = /export/home/repsys
-allowed = svn+<A HREF="ssh://svn.mandriva.com/svn/packages/cooker">ssh://svn.mandriva.com/svn/packages/cooker</A>
-scripts = /usr/share/repsys/rebrand-mdk
-##
-## rpm-macros refers to the sections containing the macros used for this
-## target. The values will be used to build the rpmbuild command line. For
-## example:
-## 
-##   [macros cooker]
-##   a = b
-##   c = %a
-##
-## will render in the command line: --define &quot;a b&quot; --define &quot;c %a&quot;.
-##
-#rpm-macros = global cooker
-
-#[macros global]
-#distsuffix = mdv
-
-#[macros cooker]
-#mandriva_release = 2007.1

Deleted: build_system/mgarepo/trunk/repsys-ssh
===================================================================
--- build_system/mgarepo/trunk/repsys-ssh	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/repsys-ssh	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,2 +0,0 @@
-#!/bin/sh
-ssh -o &quot;BatchMode yes&quot; $*

Deleted: build_system/mgarepo/trunk/repsys.8
===================================================================
--- build_system/mgarepo/trunk/repsys.8	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/repsys.8	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,218 +0,0 @@
-.\&quot; repsys - Package repository management tool
-.TH &quot;repsys&quot; &quot;8&quot; &quot;2008 Feb 8&quot; &quot;Mandriva Linux&quot; &quot;&quot;
-.SH &quot;NAME&quot;
-repsys \- Package sources repository management tool
-.SH &quot;SYNOPSIS&quot;
-\fBrepsys\fP command [options] [arguments]
-.SH &quot;DESCRIPTION&quot;
-\fBrepsys\fP is the tool used to manage RPM packages in a subversion repository. It is used to create, tag releases, generate .src.rpm, generate changelog, and request new package releases for build. It mostly acts as a interface to svn(1) commands and small task scripts run on the build system side over ssh(1).
-
-Most of the \fBrepsys\fP commands operate on a given package URL, these URLs can be omitted when the configuration option \fBrepository\fP is set.
-
-Detailed help on commands is available running \fBrepsys &lt;command&gt; \-\-help\fP.
-.SH &quot;BASIC USAGE&quot;
-.SS &quot;Setup&quot;
-\fBrepsys\fP does not handle the authentication interface used by svn. So it is usually required to setup ssh\-agent(1) if the repository access method is over SSH (svn+<A HREF="ssh://">ssh://</A> URLs), or performing some simple operation in order to obtain a authentication token.
-
-.nf
-For more information related how to setup ssh-agent, see:
-<A HREF="http://wiki.mandriva.com/en/Development/Docs/Contributor_Tricks#SSH_configuration">http://wiki.mandriva.com/en/Development/Docs/Contributor_Tricks#SSH_configuration</A>
-.fi
-
-Users that don't have an ssh account in the default repository URL can set the option \fBmirror\fP pointing to a non-authenticated, read-only repository (such as <A HREF="http://svn.mandriva.com/svn/packages">http://svn.mandriva.com/svn/packages</A>).
-.SS &quot;Examples&quot;
-.PP
-.IP &quot;\fBrepsys co foo\fP&quot;
-Obtains a working copy of the package foo.
-.IP &quot;\fBrepsys co 2009.0/mutt\fP&quot;
-Obtains a working copy of the package mutt of from the 2009.0 branch.
-.IP &quot;\fBrepsys ci\fP&quot;
-Commits pending changes in the working copy.
-.IP &quot;\fBrepsys submit foo \-r 12345\fP&quot;
-Requests the package foo in the revision 12345 to be built and, if successful, to be uploaded to the RPMs repository.
-.IP &quot;\fBrepsys submit foo \-r 12345 -t 2008.0 \-\-define section=main/testing\fP&quot;
-Will submit the package foo and, upon successful build will have its RPMs placed inside the main/testing media of the 2008.0 repository.
-.IP &quot;\fBrepsys submit\fP&quot;
-submit run without parameters will use package name and revision found in the working copy in the current directory.
-.SH &quot;COMMANDS&quot;
-For detailed help on commands run \fBrepsys &lt;command&gt; \-\-help\fP.
-\#TODO complete list of commands, all options, all descriptions
-.PP
-.IP &quot;\fBco\fP&quot;
-checkout a package
-.IP &quot;\fBci\fP&quot;
-commit changes
-.IP &quot;\fBsubmit\fP&quot;
-submit a package in a given revision for build and release
-.IP &quot;\fBsync\fP&quot;
-add-remove all file changes from the .spec
-.IP &quot;\fBgetspec\fP&quot;
-prints the spec 
-.IP &quot;\fBrpmlog\fP&quot;
-prints the RPM changelog generated from SVN
-.IP &quot;\fBgetsrpm\fP&quot;
-creates the source RPM
-.IP &quot;\fBcreate\fP&quot;
-create the structure of a new package
-.IP &quot;\fBchanged\fP&quot;
-shows changes not submitted
-.IP &quot;\fBauthoremail\fP&quot;
-prints the e-mail of a given svn author
-.IP &quot;\fBswitch\fP&quot;
-relocate to mirror or upstream repository
-.IP &quot;\fBmarkrelease\fP&quot;
-creates a tag for a given package revision and version
-.SH &quot;REPOSITORY LAYOUT&quot;
-.nf
-A detailed description can be found at:
-<A HREF="http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem">http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem</A>
-.fi
-
-The svn repository used by \fBrepsys\fP consists of a set of branches in the top directory, followed by package directories having the internal package structure.
-
-The internal package layout contains a directory \fBcurrent/\fP, which contains the latest version of the package (equivalent to &quot;trunk&quot; in software repositories). The directory \fBreleases/\fP contain copies of older submitted packages that have been already released, it is organized in the \fB&lt;version&gt;/&lt;release&gt;\fP format (equivalent to &quot;tags&quot; directories).
-
-URLs used in \fBrepsys\fP commands refer to the package directory, and never to \fBcurrent\fP. In other words, the <A HREF="http://host/svn/cooker/foo">http://host/svn/cooker/foo</A> is valid, whereas <A HREF="http://host/svn/cooker/foo/current">http://host/svn/cooker/foo/current</A> is not.
-
-One example layout:
-
-\fB
-/packages/cooker
-     |
-     +\- cooker/
-     |  ...
-     |  +\- rsync/
-     |  +\- coreutils/
-     |  +\- make/
-     |  +\- foo/
-     |     +\- current/
-     |     |  +\- SOURCES/
-     |     |  +\- SPECS/
-     |     +\- releases/
-     |        ...
-     |        +\- 1.0
-     |           +\- 1mdk/
-     |              +\- SOURCES/
-     |              +\- SPECS/
-     |           +\- 2mdk/
-     |           ...
-     +\- updates/
-        +\- 2007.0/
-        +\- 2007.1/
-        +\- 2008.0/
-\fP
-.SS &quot;Setting up a repository&quot;
-The minimal setup is accomplished with a Subversion repository having three directories: \fBcooker/\fP, \fBmisc/\fP and \fBupdates/\fP. The name of this directories can be changed using the configuration options \fBtrunk\-dir\fP and \fBbranches-dir\fP. Having this you can start importing packages with \fBrepsys import\fP.
-\#.SH &quot;THE SUBMIT PROCESS&quot;
-\#.SS &quot;Connecting&quot;
-\#.SS &quot;Changelog generation&quot;
-\#.SS &quot;Uploading&quot;
-\#.SH CHANGELOGS
-\#.SH SERVER\-SIDE SETUP
-.SH &quot;CONFIGURATION&quot;
-.SS &quot;Introduction&quot;
-The main configuration file is \fB/etc/repsys.conf\fP, it is in the .ini format. It is basically defined by a set of \fB[name]\fP sections, with a set of variables defined by \fBname = value\fP.
-
-If existing, the file ~/.repsys/config is also loaded.
-.SS &quot;[global] section&quot;
-.PP
-.IP &quot;\fBrepository = URL\fP&quot;
-Contains the base URL used to access packages in the svn repository when only package names are used in repsys commands. For example, if \fBrepsys co trafshow\fP is run and repository is <A HREF="http://host/svn/,">http://host/svn/,</A> the URL <A HREF="http://host/svn/cooker/trafshow">http://host/svn/cooker/trafshow</A> will be used (&quot;cooker&quot; is the default branch).
-.IP &quot;\fBdefault_parent = URL\fP&quot;
-Points to the base URL of the development branch of the svn repository. This option is deprecated as it has been replaced by &quot;repository&quot;.
-.IP &quot;\fBmirror = URL\fP&quot; 
-The URL of an alternative and read\-only repository to be used when checking out packages. \fBrepsys ci\fP will automatically relocate to &quot;repository&quot; when comitting.
-.IP &quot;\fBuse-mirror = yes/no\fP&quot;
-Disable the use of the mirror repository when checking out packages.
-.IP &quot;\fBurl\-map = MATCH\-REGEXP REPLACE\-EXPR\fP&quot;
-This option is used on server-side to remap remote URLs brought by the user when running \fBrepsys submit\fP to local (and probably faster) URLs. \fBMATCH\-REGEXP\fP is a Python regular expression matching the components that must be reused in the local URL. \fbREPLACE\-EXPR\fP is a replace expression that should expand in the final URL. Example: \fBsvn\+<A HREF="ssh://svn\.mandriva\.com/(.*">ssh://svn\.mandriva\.com/(.*</A>) <A HREF="file:///\1\fP">file:///\1\fP</A>
-.IP &quot;\fBtempdir = PATH\fP&quot;
-The directory to be used as base for temporay directories and files created by repsys.
-.IP &quot;\fBdownload\-command = COMMAND\-FMT\fP&quot;
-Command used to download generic remote URLs, it accepts the variables \fB$url\fP and \fB$dest\fP. It is currently used when running \fBrepsys sync \-d\fP.
-.IP &quot;\fBsvn\-command = COMMAND\fP&quot;
-The base command used to execute svn(1). Runs through system(3).
-.IP &quot;\fBsvn-env = VAR=VALUE ..\fP&quot;
-The environment variables to use when running svn. More entries can be defined by using more lines. The variable defined by default is \fBSVN_SSH\fP, which points to the \fBrepsys-ssh\fP ssh wrapper.
-.IP &quot;\fBverbose = yes/no\fP&quot;
-Increase the verbosity of repsys output, printing commands being run and complete traceback when unhanlded errors happen.
-.IP &quot;\fBtrunk-dir\fP&quot;
-Points to the default branch of the distro used in commands that do not have their branch or URL specified.
-.IP &quot;\fBbranches-dir\fP&quot;
-The directory inside the repository which contains all the branches of the distro. It is used to build the URL of packages referred using the branch notation BRANCH/PACKAGE, as in \fBrepsys co 2009.0/mutt\fP.
-.SS &quot;[submit-groups] section&quot;
-This section contains aliases to groups of packages to be submitted at once. For example, a line with \fBmy-python-packages = bzr bzrtools bzr-gtk\fP would allow the user to simply run \fBrepsys submit my-python-packages\fP.
-
-Also distro branches or revision numbers can be specified for each package group. For example: \fBrepsys submit 2008.1/my-python-packages\fP.
-.SS &quot;[submit] section&quot;
-.IP &quot;\fBhost = HOST\fP&quot;
-Defines the default host in which \fBrepsys submit\fP will run the submit helper.
-.IP &quot;\fBdefault = TARGET\fP&quot;
-The default target to be used in \fBrepsys submit\fP when the option \-t is not used.
-.SS &quot;[submit TARGET] sections (server\-side only)&quot;
-These sections describe each one of the sections available to submit packages, ther configuration options are:
-.IP &quot;\fBtarget = PATH\fP&quot;
-The path where SRPMs generated by \fBcreate\-srpm-\fP will be placed during during the submit process.
-.IP &quot;\fBallowed = URLs\fP&quot;
-A space\-delimited list of package URLs that will be allowed to be used with this target. The comparison is done by checking if the package URL used in submit starts with one of the URLs of this option.
-.IP &quot;\fBscripts = PATHS\fP&quot;
-A space\-delimited list of scripts that will be run receiving the generated SRPM as first argument. These scripts are usually used to perform small changes in the SRPM structure, increasing release number for example.
-.IP &quot;\fBrpm\-macros = NAMES\fP&quot;
-It points to sections in the configuration that will contain the RPM macros used when generating the SRPM of the package being submitted. These section should be named in the \fB[macros NAME]\fP format.
-.SS &quot;[macros NAME] sections (server\-side only)&quot;
-These sections contain variables that will be defined as RPM macros when generating the SRPM of the package being submitted.It is usually used to define the distribution suffix that will be used in package releases, such as &quot;mdv2008.1&quot;.
-.SS &quot;[users] section (server\-side only)&quot;
-This section maps the usernames found in svn to their real names and e\-mails. It is used when generating the changelog based on commits in svn and by \fBauthoremail\fP. Example: \fBjoe = Joe User &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">joeuser at host.com</A>&gt;\fP.
-
-This section can be used on client\-side too, but will have no effect in generated changelogs on the server\-side.
-.SS &quot;[helper] section&quot;
-.IP &quot;\fBcreate\-srpm = PATH\fP&quot;
-The path of the script that will be run through ssh on the submit host when running \fBrepsys submit\fP.
-.IP &quot;\fBupload\-srpm = PATH\fP&quot;
-(server\-side only) Path of the script that will be called after the generated SRPM is copied to its target location (see target sections above) and target scripts are run.
-.IP &quot;\fBrpmbuild = COMMAND\fP&quot;
-The command used to call rpmbuild. Note that build options (such as \-bs) are supplied by repsys.
-.SS &quot;[log] section&quot;
-.IP &quot;\fBoldurl = URL\fP&quot;
-The URL of a directory structure that will contain old changelogs of packages that will be appended to the changelog being generated by \fBrpmlog\fP or \fBgetsrpm \-l\fP.
-.IP &quot;\fBmerge\-spec = yes/no\fP&quot;
-If enabled, changelogs generated by \fBrepsys\fP will have the contents of the %changelog found in the .spec file of the package appended.
-.IP &quot;\fBsort = yes/no\fP&quot;
-If enabled, the changelog will be resorted after its generation. It is useful when changelogs found in \fBoldurl\fP or in the .spec's %changelog section are newer than those generated by SVN.
-.IP &quot;\fBrevision\-offset = REVISION\-NUMBER\fP&quot;
-The base revision used to generated changelogs. As in \fBsvn log -r REVISION\-OFFSET:HEAD URL\fP.
-.IP &quot;\fBignore\-string = STRING\fP&quot;
-Mark used to hide log messages. When it appears at the beginning of the log message, the whole changeset log is hidden. When it is found in the middle of a string, only the line will not be shown.
-.IP &quot;\fBunignore\-string = STRING\fP&quot;
-The complement of the previous option. When this token is found, only those lines containg this mark will be shown. It is intended to be used in very long log messages.
-.SS &quot;[template] section&quot;
-.IP &quot;\fBpath = PATH\fP&quot;
-The path of the template used to generate the changelog from svn commits.
-.SS &quot;[srpm] section&quot;
-.IP &quot;\fBrun-prep = yes/no\fP&quot;
-Repsys can check for the presence of a file named \fBMakefile\fP in the top directory of the package and run \fBmake prep-srpm\fP so that it can generate the actual files that must be distributed in in the srpm. This option enables this feature. (Note: the command is expected to run in an restricted environment, the Makefile must use only minimal funcionalities.)
-.SH &quot;ENVIRONMENT VARIABLES&quot;
-.PP
-.IP &quot;\fBREPSYS_CONF\fP&quot;
-Sets the configuration file to be read by \fBrepsys\fP
-.SH &quot;FILES&quot;
-.nf 
-~/.repsys/config
-/etc/repsys.conf
-/usr/share/repsys/
-/usr/share/doc/repsys/
-.fi 
-.SH &quot;BUGS&quot;
-See the list of bugs at <A HREF="http://qa.mandriva.com/buglist.cgi?quicksearch=repsys">http://qa.mandriva.com/buglist.cgi?quicksearch=repsys</A>
-.SH &quot;SEE ALSO&quot;
-mdvsys(1), svn(1), ssh\-agent(1)
-
-.nf 
-<A HREF="http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem/Quickstart">http://wiki.mandriva.com/en/Development/Packaging/RepositorySystem/Quickstart</A>
-.fi 
-.SH &quot;AUTHOR&quot;
-.nf 
-repsys was originally written by Gustavo Niemeyer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">gustavo at niemeyer.net</A>&gt;
-for the Conectiva Linux distribution. Currently it is being mantained by
-Mandriva contributors and employees.
-.fi 

Deleted: build_system/mgarepo/trunk/repsys.conf
===================================================================
--- build_system/mgarepo/trunk/repsys.conf	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/repsys.conf	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,20 +0,0 @@
-# see man 8 repsys for a description on configuration options
-[global]
-repository = svn+<A HREF="ssh://svn.mageia.org/svn/packages/">ssh://svn.mageia.org/svn/packages/</A>
-trunk-dir = cauldron/
-
-## uncomment it in case you don't have a account in the Mageia build system:
-#mirror = <A HREF="http://svn.mageia.org/svn/packages/cauldron/">http://svn.mageia.org/svn/packages/cauldron/</A>
-use-binaries-repository = yes
-binaries-repository = svn+<A HREF="ssh://svn.mageia.org/svn/binrepos">ssh://svn.mageia.org/svn/binrepos</A>
-
-[log]
-oldurl = svn+<A HREF="ssh://svn.mageia.org/svn/packages/misc">ssh://svn.mageia.org/svn/packages/misc</A>
-
-[helper]
-create-srpm = /usr/share/repsys/create-srpm
-upload-srpm = /usr/local/bin/youri.devel
-
-[submit]
-host = pkgsubmit.mageia.org
-default = Cauldron

Modified: build_system/mgarepo/trunk/setup.cfg
===================================================================
--- build_system/mgarepo/trunk/setup.cfg	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/setup.cfg	2011-01-11 00:35:59 UTC (rev 265)
@@ -1,3 +1,3 @@
 [bdist_rpm]
-doc_files = repsys.conf README README.LDAP CHANGES
+doc_files = mgarepo.conf README README.LDAP CHANGES
 

Modified: build_system/mgarepo/trunk/setup.py
===================================================================
--- build_system/mgarepo/trunk/setup.py	2011-01-10 15:26:33 UTC (rev 264)
+++ build_system/mgarepo/trunk/setup.py	2011-01-11 00:35:59 UTC (rev 265)
@@ -4,30 +4,30 @@
 import re
 
 verpat = re.compile(&quot;VERSION *= *\&quot;(.*)\&quot;&quot;)
-data = open(&quot;repsys&quot;).read()
+data = open(&quot;mgarepo&quot;).read()
 m = verpat.search(data)
 if not m:
     sys.exit(&quot;error: can't find VERSION&quot;)
 VERSION = m.group(1)
 
-setup(name=&quot;repsys&quot;,
+setup(name=&quot;mgarepo&quot;,
       version = VERSION,
-      description = &quot;Tools for Mandriva Linux repository access and management&quot;,
+      description = &quot;Tools for Mageia repository access and management&quot;,
       author = &quot;Gustavo Niemeyer&quot;,
       author_email = &quot;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">gustavo at niemeyer.net</A>&quot;,
       url = &quot;<A HREF="http://qa.mandriva.com/twiki/bin/view/Main/RepositorySystem">http://qa.mandriva.com/twiki/bin/view/Main/RepositorySystem</A>&quot;,
       license = &quot;GPL&quot;,
-      long_description = &quot;&quot;&quot;Tools for Mandriva Linux repository access and management.&quot;&quot;&quot;,
-      packages = [&quot;RepSys&quot;, &quot;RepSys.cgi&quot;, &quot;RepSys.commands&quot;,
-          &quot;RepSys.plugins&quot;],
-      scripts = [&quot;repsys&quot;, &quot;repsys-ssh&quot;],
+      long_description = &quot;&quot;&quot;Tools for Mageia repository access and management, based on repsys.&quot;&quot;&quot;,
+      packages = [&quot;MgaRepo&quot;, &quot;MgaRepo.cgi&quot;, &quot;MgaRepo.commands&quot;,
+          &quot;MgaRepo.plugins&quot;],
+      scripts = [&quot;mgarepo&quot;, &quot;mgarepo-ssh&quot;],
       data_files = [
-	      (&quot;/usr/share/repsys/&quot;,
+	      (&quot;/usr/share/mgarepo/&quot;,
               [&quot;default.chlog&quot;,
               &quot;revno.chlog&quot;,
               &quot;create-srpm&quot;]),
-	      (&quot;/etc/&quot;, [&quot;repsys.conf&quot;]),
-          (&quot;share/man/man8/&quot;, [&quot;repsys.8&quot;])]
+	      (&quot;/etc/&quot;, [&quot;mgarepo.conf&quot;]),
+          (&quot;share/man/man8/&quot;, [&quot;mgarepo.8&quot;])]
       )
 
 # vim:ts=4:sw=4:et
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-sysadm/attachments/20110111/ae156efc/attachment-0001.html&gt;
</PRE>










<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="001906.html">[Mageia-sysadm] [Mageia-dev] servers downtime
</A></li>
	<LI>Next message: <A HREF="001899.html">[Mageia-sysadm] New ldap group mga-packagers-committers
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1898">[ date ]</a>
              <a href="thread.html#1898">[ thread ]</a>
              <a href="subject.html#1898">[ subject ]</a>
              <a href="author.html#1898">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>