1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
|
=============
Release Notes
=============
----------------------------
pkgcore 0.12.22 (2023-08-05)
----------------------------
- manifest: fix missing errors when all ebuilds for a package are masked as bad.
This fixes a long standing bug that ``pkgdev manifest`` wasn't working
without any helpful error messages when all ebuilds for a package fail to
source. (YiFei Zhu, Eric Huber, #406)
- multiplex.tree: fix config name and type (Arthur Zamarin)
- pkgsets.glsa: exclude metadata files from warning (Arthur Zamarin)
- manifest: pass ``$PATH`` environment variable to calls of ``FETCHCOMMAND``
(Arthur Zamarin, https://github.com/pkgcore/pkgdev/issues/145)
----------------------------
pkgcore 0.12.21 (2023-04-21)
----------------------------
- ebd: econf matches ``configure --help`` output better (Ulrich Müller, #403)
- pytest.plugin.create_ebuild: insert blank line after ``EAPI=`` declare
(Arthur Zamarin)
----------------------------
pkgcore 0.12.20 (2023-03-01)
----------------------------
- domain: add support for ``-*`` and ``USE_EXPAND: -*`` syntax for packages.use
like files (Arthur Zamarin, #393, #397)
- ebuild/test_eapi: fix tests artifacts in EBD_PATH
(Arthur Zamarin, https://bugs.gentoo.org/888685)
- ebuild.repository: fix traversal from root of overlays (Arthur Zamarin,
https://github.com/pkgcore/pkgcheck/issues/418)
- metadata.xsd: import ``kde-invent`` remote-ids (Sam James, #399)
- various code cleanups, refactoring and modernization (Arthur Zamarin, Brian
Harring)
----------------------------
pkgcore 0.12.19 (2023-01-19)
----------------------------
- re-add Brian Harring as author for pkgcore
- properly close open file handlers during tests (Arthur Zamarin)
- various code cleanups, refactoring and modernization (Brian Harring)
- domain: fix parsing of multiple USE_EXAPNDs
(Arthur Zamarin, #391, https://bugs.gentoo.org/891409)
- portage_conf: add support for make.profile as its own directory, behaving as
specialized user profile (Arthur Zamarin, #390)
----------------------------
pkgcore 0.12.18 (2022-12-27)
----------------------------
- _const: fallback to sys.base_prefix when installed in venv (Arthur Zamarin)
https://bugs.gentoo.org/880693
- pquery: fix crash with verbose single uris attr (Arthur Zamarin)
- docs: use snakeoil.dist sphinx extension (Arthur Zamarin)
- pkgcore: atom: fix typo in error message (Sam James, #378)
- eclass: fix exported bash functions leak (Arthur Zamarin)
https://bugs.gentoo.org/836210
- remove plugins support from pkgcore, simplifying installation and stopping
the need for users to update cache after upgrade (Arthur Zamarin, #379)
- add REQUIRED_USE satisfaction solver (Arthur Zamarin, #380)
- pmerge: add ``--pdb-intercept`` as a way to ``pdb.set_trace()`` into the
resolver (Brian Harring)
- pmerge: sort target processing to stabilize the graph (Brian Harring)
- restricts: fix use default dep matching when working against IUSE defaults
(Brian Harring)
- ebd: make EAPI=8 ``--disable-static`` logic libtool-specific, matching
portage (David Seifert, #386)
- force stable sorting of ``/etc/portage/*`` files loading (Brian Harring)
https://github.com/pkgcore/pkgcore/issues/385
- add USE_EXPAND expansion awareness for ``/etc/portage/package.use/*`` files
(Brian Harring)
https://github.com/pkgcore/pkgcore/issues/384
- add use flag validation for ``/etc/portage/package.use/*`` content (Brian
Harring)
- throw an exception for any EBD var starting with ``_`` (Brian Harring)
- ignore both empty and non-existent ``repos.conf`` files (Brian Harring)
https://github.com/pkgcore/pkgcore/issues/365
- format code with ``black`` (Brian Harring, #382)
- various code cleanups, refactoring and modernization (Brian Harring)
----------------------------
pkgcore 0.12.17 (2022-11-10)
----------------------------
- profiles: support package.bashrc files as an extension (#370, Arthur Zamarin)
- patom: new command for working with atoms, like qatom (#362, Arthur Zamarin)
- ebuild.repository: fix manifest entries generation with precise restricts
(#371, Arthur Zamarin)
- operations.fetch: better error messages when fetching fails (Arthur Zamarin)
https://github.com/pkgcore/pkgdev/issues/86
- ebuild.profiles: error out when USE_EXPAND syntax is used in package.mask
(Arthur Zamarin)
https://github.com/pkgcore/pkgcheck/issues/370
- drop Python 3.8 support (Arthur Zamarin)
- Use flit with custom wrapper as build backend (#372, #374, Arthur Zamarin,
with special thanks to Michał Górny for reviewing and helping with it)
----------------------------
pkgcore 0.12.16 (2022-10-04)
----------------------------
- portage_conf: fix timeout settings for rsync (#368, Arthur Zamarin)
- fetch.custom: fix commands with `\` variable escaping (Arthur Zamarin)
https://github.com/pkgcore/pkgdev/issues/94
- repository: check issues with distdir only if fetch failed (Arthur Zamarin)
https://github.com/pkgcore/pkgdev/issues/99
----------------------------
pkgcore 0.12.15 (2022-09-30)
----------------------------
- Better reporting of issues during manifest operation over a repository
(Arthur Zamarin)
----------------------------
pkgcore 0.12.14 (2022-09-16)
----------------------------
- ebd: helpers: allow zstd for prepalldocs/prepinfo/prepman (Sam James, #358)
- pquery: fix ``--maintainer maintainer-needed`` (Arthur Zamarin, #359)
- Modernize all the tests to use pytest (Arthur Zamarin)
- ebuild: improve malformed atom error messages (Arthur Zamarin)
- bash completion: add for pquery (Arthur Zamarin, #360)
- metadata.xsd: import ``savannah``, ``savannah-non-gnu``,
``freedesktop-gitlab``, ``gnome-gitlab`` remote-ids (Matt Turner, #363)
----------------------------
pkgcore 0.12.13 (2022-08-09)
----------------------------
- Fix checking whether a path is contained within a known repository
(specifically: fix the test to not check if path is prefixed with a
repository's location. Instead, we check the full path). Previously,
``/usr/portage-dir`` would wrongly be considered within ``/usr/portage``,
which is clearly wrong. (Arthur Zamarin, #350)
- Various code cleanups and refactoring (Arthur Zamarin, #351)
- ebuild/atom.py: fix ``atom.no_usedeps`` not including subslot (Arthur
Zamarin, #353)
- Fix and port pkgcore to Python 3.11 (Arthur Zamarin, Sam James, #355)
----------------------------
pkgcore 0.12.12 (2022-07-29)
----------------------------
- metadata.xsd: drop obsolete gitorious, sourceforge-jp remote-ids (Ulrich
Müller, #344)
- metadata.xsd: import hackage, sourcehut remote-ids (Sam James, #348)
----------------------------
pkgcore 0.12.11 (2022-05-24)
----------------------------
- pkgcore.ebuild.ebuild: warn about deprecated @ECLASS-VARIABLE tag (Ulrich
Müller, #337)
- pkgcore.ebuild: properly close resources (Thomas Bracht Laumann Jespersen,
#339, #340)
- pkgcore.ebuild.repository: fix inheriting license groups. Fixes e.g. pquery
usage on overlays. (Arthur Zamarin, #341)
- metadata.xsd: sync with proj/xml-schema repository (Ulrich Müller, #342)
----------------------------
pkgcore 0.12.10 (2022-03-18)
----------------------------
- pkgcore.ebuild.repository: support inheriting use_expand_desc
and deprecated
- pkgcore.ebuild.eclass: support @ECLASS_VARIABLE as a modern spelling
for @ECLASS-VARIABLE
---------------------------
pkgcore 0.12.9 (2021-12-14)
---------------------------
- ebd: fix unpack command not working if called via pebuild(1)
- pmerge: make failure output more readable via color coding
- ebd: update ``econf`` in EAPI 8 to pass ``--disable-static``
as specified by the updated version of PMS
- pkgcore.sync.http: fix incorrect TLS context
---------------------------
pkgcore 0.12.8 (2021-09-26)
---------------------------
- ebd: fix PIPESTATUS verification for assert
- pkgcore.ebuild.eclass: add ABI_VERSION attribute to EclassDoc
to improve future compatibility between pkgcheck and pkgcore
- pkgcore.ebuild.profiles: do not emit errors for profiles deprecated
without a replacement
---------------------------
pkgcore 0.12.7 (2021-09-03)
---------------------------
- pkgcore.ebuild.eclass: calculate recursive @PROVIDES in initializer
to include them in pkgcheck's eclass cache.
- pkgcore.ebuild.eclass: remove 'indirect_eclasses' backwards
compatibility attribute.
---------------------------
pkgcore 0.12.6 (2021-09-02)
---------------------------
- pkgcore.cache: Invalidate cache entries if they are missing INHERIT
key, to avoid false positives from pkgcheck's InheritsCheck.
---------------------------
pkgcore 0.12.5 (2021-09-02)
---------------------------
- pkgcore.ebuild.cpv: Explicitly handle invalid revisions.
- pkgcore.ebuild.eclass: Indicate variable types in generated
documentation.
- Fix unpack to decompress non-archive compressed files into the current
directory.
- Add support for recursive @PROVIDES eclassdoc tag (replacement
for @INDIRECT_ECLASSES).
- pkgcore.ebuild.eclass: Include @PROVIDES in generated documentation.
---------------------------
pkgcore 0.12.4 (2021-08-15)
---------------------------
- pkgcore.ebuild.cpv: Fix rejecting valid package names that resemble
version strings or contain a sequence of multiple hyphens.
---------------------------
pkgcore 0.12.3 (2021-08-14)
---------------------------
- pkgcore.ebuild.repo_objs: Support profile-eapis-banned
and profile-eapis-deprecated metadata fields (GLEP 82).
---------------------------
pkgcore 0.12.2 (2021-08-04)
---------------------------
- ebd: Start pkg_* phases in a dedicated empty directory required by EAPI 8
(#313).
- ebd: Fix typo in econf --libdir logic (#318).
- pkgcore.ebuild.repo_objs: Support eapis-testing metadata field (GLEP 82).
- pkgcore.ebuild.atom: Explicitly handle empty string when parsing.
- pkgcore.ebuild.repository: Inject parent repo arches as keywords for provided
pkgs (#312).
---------------------------
pkgcore 0.12.1 (2021-05-28)
---------------------------
- pkgcore.ebuild.profiles: Provide raw access to make.defaults data for pkgcheck.
- Leverage USE_EXPAND flag ordering from repo to sort output.
---------------------------
pkgcore 0.12.0 (2021-05-22)
---------------------------
- Add initial EAPI 8 support.
- pkgcore.ebuild.formatter: Drop paludis formatter support.
- pkgcore.ebuild.processor: Register ebd cleanup signal handlers on the main
thread during init to avoid inadvertent issues with 3rd party usage (e.g.
pkgcore pytest plugin gets autoloaded).
- Rework fetch support to allow custom DISTDIR targets.
- pmaint: Drop mirror subcommand support.
- pshowkw: Move to ``pkgdev showkw``.
- Simplify config-related options by dropping --empty-config in favor of using
false-valued boolean args to --config. For example, use ``--config no`` or
``--config false`` to disable loading the system config where previously
--empty-config would be used.
---------------------------
pkgcore 0.11.8 (2021-03-27)
---------------------------
- pmaint sync: Fix syncing raw repos.
---------------------------
pkgcore 0.11.7 (2021-03-26)
---------------------------
- pkgcore.ebuild.repository: Rewrite package manifesting support to allow
partial manifest writes via pkgdev.
- pkgcore.ebuild.portage_conf: Drop PORTAGE_CONFIGROOT and DISTDIR env support.
- pkgcore.ebuild.portage_conf: Handle finding the config directory for prefix
installs.
- pkgcore.ebuild.portage_conf: Only register existent repos for the config, but
they're still registered as raw repo_config objects so they can be synced as
wanted.
- pkgcore.config: Drop unused append_sources param for load_config().
- pkgcore.util.commandline: Drop --new-config/--add-config options.
---------------------------
pkgcore 0.11.6 (2021-03-19)
---------------------------
- pkgcore.pytest: Add support for keeping arches file updated.
- pkgcore.ebuild.domain: Don't configure external repos by default.
- pkgcore.ebuild.repository: Prefer using external repos over configured ones
for matching repo IDs.
- Use tarball syncer for the gentoo repo by default and drop sqfs entries.
- pkgcore.ebuild.repo_objs: Add 'external' attribute to signify an unconfigured
repo.
- pmaint: Drop perl-rebuild subcommand.
- pkgcore.ebuild.repo_objs: Support proxied attribute for maintainers.
---------------------------
pkgcore 0.11.5 (2021-03-12)
---------------------------
- pkgcore.ebuild.repo_objs: Add support for parsing upstreams from
metadata.xml.
- pkgcore.ebuild.repo_objs: Support pulling sign-commits setting from
metadata/layout.conf.
- pkgcore.ebuild.repository: Support creating repos with custom classes.
- pkgcore.util.commandline: Drop deprecated main() wrapper.
- pkgcore.pytest: Use full version for ebuild file creation.
- pmaint: Drop ``pmaint digest`` support in favor of ``pkgdev manifest``.
---------------------------
pkgcore 0.11.4 (2021-03-05)
---------------------------
- pkgcore.pytest: Add initial pytest plugin for ebuild and git repo fixture
support.
- pkgcore.util.commandline: Add support for suppressing help output for highly
pkgcore-specific options users generally shouldn't touch but are needed
internally.
---------------------------
pkgcore 0.11.3 (2021-02-18)
---------------------------
- Default to tarball-based syncing instead of using sqfs archives in
fallback config to avoid requiring elevated permissions for CI
actions.
---------------------------
pkgcore 0.11.2 (2021-01-31)
---------------------------
- Use user cache directory for repo storage when not running on a Gentoo
system.
---------------------------
pkgcore 0.11.1 (2021-01-29)
---------------------------
- pkgcore.ebuild.domain: Disregard ROOT to avoid infinite loops when using
find_repo().
---------------------------
pkgcore 0.11.0 (2021-01-27)
---------------------------
- pkgcore.ebuild.conditionals: Add __eq__() and __ne__() support
for DepSet objects.
- Catch bash stderr output during sourcing for python error
messages (#277).
- pmaint eclass: Add initial subcommand that supports eclassdoc
generation.
- pkgcore.ebuild.eclass: Provide support to convert eclassdoc
objects to rst, manpage, and html formats.
- Inject direct ebuild inherits into metadata cache using the
'INHERIT' key. This is used by pkgcheck inherit checks.
- Make the base profile node respect profile-formats settings (#293).
- Keep inherit order for inherited eclasses instead of sorting them
lexically in the metadata cache. The inherit order used by bash
is useful information for pkgcheck and related tools.
- EbdError: Add die context for non-helper errors to error message.
This should help give users more context when die() is called
from ebuilds or eclasses.
- Drop support for python 3.6 and 3.7.
----------------------------
pkgcore 0.10.14 (2020-12-04)
----------------------------
- pkgcore.ebuild.portage_config: Fallback to using a bundled stub
config and profile on non-Gentoo systems. This should help tools
that shouldn't require a Gentoo install to function properly
(e.g. pkgcheck) when installed elsewhere.
- pkgcore.ebuild.domain: Forcibly create new repo_config object for
add_repo() disregarding cached instances.
- pmaint regen: Add --dir option to support using an external cache
dir.
- pkgcore.ebuild.digest: Re-raise Manifest parsing errors as
MetadataExceptions in order for pkgcheck to handle them better.
- pkgcore.util.commandline: Add support for projects that remove
plugin support functionality.
- pinspect profile: Force profile argument to be non-optional.
- pkgcore.ebuild.eclass: Add initial support for eclass doc format
parsing.
- pkgcore.ebuild.domain: Raise InitializationError exceptions when
scanning for repos to aid consumers that try to add external
repos via add_repo().
- Update default binpkg location to match portage's new default.
----------------------------
pkgcore 0.10.13 (2020-07-05)
----------------------------
- pkgcore.ebuild.domain: Allow license and keyword filters to be
overridden.
- Add initial arches.desc file parsing support (GLEP 72).
- pkgcore.ebuild.repo_objs: Support testing strings against
maintainer objects for equality.
----------------------------
pkgcore 0.10.12 (2020-04-15)
----------------------------
- Ignore invalid maintainers in metadata.xml that should be caught by pkgcheck.
- Add support for <stabilize-allarches/> in metadata.xml files.
- Fix eapply_user calls erroring out due to missing patch opts variable.
----------------------------
pkgcore 0.10.11 (2020-01-26)
----------------------------
- Bump required snakeoil version to fix wheel builds.
----------------------------
pkgcore 0.10.10 (2020-01-25)
----------------------------
- pkgcore.ebuild.repo_objs: Fix pulling all text from longdescription
metadata.xml elements that use embedded XML tags, e.g. <pkg></pkg>.
- pkgcore.ebuild.repository: Add thirdparty mirrors attribute for easy access
to mirrors defined by an individual repo.
- pkgcore.ebuild.ebuild_src: Add support for flagging redundant SRC_URI
renames.
---------------------------
pkgcore 0.10.9 (2019-12-20)
---------------------------
- pkgcore.ebuild.repository: Add category_dirs attribute to return the set of
existing categories from a repo.
- Allow unicode in metadata/layout.conf for repos.
- Ignore inline comments when parsing ebuild inherit lines for directly
inherited eclasses.
- Log errors in profiles/package.* files instead of raising ProfileError
exceptions so pkgcheck can properly flag them.
---------------------------
pkgcore 0.10.8 (2019-11-30)
---------------------------
- Add support for validating SLOT values, used by pkgcheck to flag invalid
SLOTs and pkgs with bad SLOTs will be automasked.
- Add initial profiles/package.deprecated support to flag deprecated packages
by pkgcheck.
- pclean pkg: Add initial -c/--changed option that allows for scanning the
related ebuilds for given attribute changes and flagging binpkgs for removal
if changes exist.
- Add py3.8 support.
---------------------------
pkgcore 0.10.7 (2019-11-04)
---------------------------
- pkgcore.ebuild.eapi: Split archive extension pattern into separate attribute
for easier use in pkgcheck.
- Fix containment checks for absolute paths against repo objects.
- Fix generating path restricts with relative paths for ebuild repo objects.
---------------------------
pkgcore 0.10.6 (2019-10-05)
---------------------------
- pkgcore.ebuild.repository: Add error_callback parameter for itermatch() to
allow pkgcheck to redirect metadata exceptions to itself in order to report
them more easily.
- pkgcore.config.central: Fix recursion error while pickling/unpickling
CompatConfigManager instances when using a process pool.
---------------------------
pkgcore 0.10.5 (2019-09-24)
---------------------------
- pkgcore.ebuild.eapi: Add deprecated and banned bash commands attributes.
- pkgcore.ebuild.repo_objs: Fix collapsing license groups for
OverlayedLicenses.
---------------------------
pkgcore 0.10.4 (2019-09-18)
---------------------------
- pkgcore.ebuild.atom: Add no_usedeps property that returns atom object
stripped of use deps.
- pkgcore.ebuild.cpv: Fix versioned_atom() for unversioned CPV objects.
- pkgcore.repository.prototype: Support returning unversioned matches from
itermatch().
- pkgcore.ebuild.cpv: Add support for passing (cat, package) for unversioned
CPVs.
- pkgcore.ebuild.atom: Provide access to all cpv attributes for atom objects.
---------------------------
pkgcore 0.10.3 (2019-09-13)
---------------------------
- Various object pickling fixes for pkgcheck parallelization support.
- pmaint digest: Fix skipping re-manifesting for manifests that are current.
- pkgcore.ebuild.eapi: Split dep keys into their own attribute.
---------------------------
pkgcore 0.10.2 (2019-08-30)
---------------------------
- pkgcore.ebuild.repo_objs: Explicitly add all known repo identifiers as
aliases. Previously some weren't getting added causing issues when trying to
use external repos with names matching those of configured repos on the
system.
- Make explicitly unset EAPI values mean EAPI=0 in accordance with the spec.
---------------------------
pkgcore 0.10.1 (2019-08-26)
---------------------------
- pquery --owns: Fix queries and drop support for comma-separated args.
- pkgcore.ebuild.repo_objs: Use relative paths instead of absolute in logged
output.
---------------------------
pkgcore 0.10.0 (2019-08-23)
---------------------------
- Dropped dhcpformat/mke2fsformat config format support (and required pyparsing
dependency).
- GPL2/BSD dual licensing was dropped to BSD as agreed by all contributors.
- pkgcore.ebuild.repo_objs: Add support for processing projects.xml.
- Support PROPERTIES=live as live ebuild indicator.
- The bash ebuild daemon now longer spawns python scripts or uses external
processes to call back into the python side. Everything is done via IPC
coordinated by the ebuild processor.
- EAPI 7 support.
- Move the majority of ebuild helpers and some functions into the python side
including the following: all the do*/new* helpers, keepdir, has_version,
best_version, unpack, eapply, and eapply_user.
- EAPI specific bash support is loaded before each phase run providing better
separation between EAPI specific functionality -- newer functions won't even
exist in scope to be called for ebuilds using older EAPIs.
- pshowkw: Add new utility for displaying/querying package keywords -- an
analog to eshowkw from gentoolkit.
- Minimum supported python version is now 3.6 (python2 support dropped).
- Add support for transparently using squashfs repo archives.
- Add various tool support for running against ebuilds in unconfigured,
external repos.
--------------------------
pkgcore 0.9.7 (2017-09-27)
--------------------------
- Use a more dynamic pkgcore._const for wheel-based installs instead of the
static version used when installing directly to a system. Using a static
version can't be done because the final paths aren't known until the wheel is
installed on the target system.
- Fix merging pkgs with non-ascii filenames with python3. Previously pmerge
would crash when writing the contents file to the vdb.
--------------------------
pkgcore 0.9.6 (2017-09-22)
--------------------------
- Fix building and deploying wheels.
--------------------------
pkgcore 0.9.5 (2017-09-22)
--------------------------
- Fix support for bash-4.4.
- Support -* wildcard for the system packages set in profiles.
- Don't allow external commands to be called during metadata regen.
- pmerge: Don't sort packages in removal mode, just show and unmerge them in
the order specified.
- Add a tracked attribute for the distfiles used by a package build. This
installs a file named DISTFILES to the vdb which contains all the distfile
file names that were needed for the installed package.
- pclean dist: Default to all distfiles if no targets are specified and sort
output when in pretend mode.
- pmerge: Add initial -o/--onlydeps support similar to portage.
- pmaint digest: Various fixes and enhancements to better handle fetch
failures, globbed digesting, full repo digesting, and more.
- Fix directory permission issues when using ccache.
- pmerge now supports --list-sets to show the sets pkgcore supports.
- pkgcore.spawn moved to snakeoil.process.spawn.
- Add support for the 'profile-set' profile-formats option in
metadata/layout.conf.
- Complain if profiles/repo_name is missing for a repository.
- pinspect profile: Add support for specifying a repo with '-r repo' which then
allows for specifying relative profile paths without the repo prefix.
- pinspect profile: Default to the configured system profile if none is
selected.
- Fix handling ranges in GLSAs for the related security package set.
- Support for python3.3 was dropped and support for python3.6 was added.
- pmerge: Fix checking for installed packages when passed targets of the form
'pkg::repo'.
- Support /etc/portage/package.env lines with multiple env file values.
- Support multi-masters instead of singular parents for overlays. This also
includes merging licenses and categories from all masters for an overlay.
- Drop fallback to default repo for implicit masters. If no masters are
specified for an overlay in metadata/layout.conf anymore it'll have issues
depending on packages found in the 'gentoo' repo or whatever master(s) it
relies on.
--------------------------
pkgcore 0.9.4 (2016-05-29)
--------------------------
- Fix new installs using pip.
--------------------------
pkgcore 0.9.3 (2016-05-28)
--------------------------
- pquery: Add --size, --upgrade, --eapi, and --maintainer-needed options to
show installed package size or search for packages matching available
upgrades, a given EAPI, and without any maintainers, respectively.
- pmerge: Add support for reading targets from stdin when *-* is the target
which supports usage such as **pquery -I 'dev-qt/*:5' | pmerge -1av -**
instead of forcing command substitution to be used.
- pmaint digest: Skips remanifesting sources for previous distfiles and doesn't
use Gentoo mirrors for new distfiles by default and adds -f/--force and
-m/--mirrors options to force remanifesting and force using Gentoo mirrors,
respectively.
- Add support for PN:slot/subslot and slotted glob targets. This allows for
targets to pmerge, pquery, and related utilities to accept targets such as
**dev-qt/*:5** and **boost:0/1.60.0** that signify all Qt 5 libs and all
packages named *boost* with a slot/subslot of 0/1.60.0, respectively.
- Add initial shell utilities and libraries (bash/zsh), currently available
tools are *pcd* for changing to a package's directory in any repo
(vdb/ebuild/binpkg) and *psite* for opening a package's homepage in the
configured browser using xdg-open.
- EAPI 6 support.
- Additional zsh completion support for most of the remaining tools.
- pclean: New utility currently supporting cleaning distfiles, binpkgs, and
tmpfiles.
- Officially support python3 (3.3 and up).
- Remove FEATURES=fakeroot support, it hasn't fully worked for years, doesn't
work with sandbox, and should be replaced with namespace support.
- pmaint regen: Fix cache compatibility issues with egencache, i.e. a cache
generated by pmaint regen should be able to be used as is by portage without
it regenerating the cache again.
- pebuild: Ignore repo visibility filters so settings like ACCEPT_KEYWORDS or
ACCEPT_LICENSE don't matter in terms of package visibility.
- pmerge: Make the --ignore-failures option also ignore pkg_pretend failures.
- pmaint sync: Add git+svn syncer to support mirroring a subversion repository
using git svn.
- pmaint regen: Add --use-local-desc and --pkg-desc-index options to support
generating use.local.desc and pkg_desc_index files mostly for portage
compatibility.
--------------------------
pkgcore 0.9.2 (2015-08-10)
--------------------------
- Add initial zsh completion support; currently most of pinspect, pmaint, and
pebuild completions should work.
- pmaint digest now ignores various repo visibility filters, this makes it
possible for regular usage such as generating manifests for ~arch ebuilds on
a stable system.
- pmerge: pkg_pretend phases are now run after dep resolution similar to
portage. Previously they were run before displaying the resolved dep tree.
- Calling die() now works as expected from within subshells.
- Drop deprecated support for /etc/make.profile, only /etc/portage/make.profile
is supported now when using portage config files.
- A commandline option '--config' allows the user to override the location of
config files. If set to a file location it assumes it's a pkgcore config
file; otherwise, if it's set to a directory it assumes its a portage config
directory (e.g. /etc/portage).
- pkgcore.config: The location parameter to load_config(), if set, can now
either point to an alternative pkgcore config file or portage config
directory. Previously it only supported an alternative portage config
directory's parent as an argument. External usage should be fixed to use the
full path to the config directory, e.g. /etc/portage instead of only /etc.
- Use correct EPREFIX and EROOT settings. This fixes non-prefix builds when ROOT
is non-null.
--------------------------
pkgcore 0.9.1 (2015-06-28)
--------------------------
- Fix installing via pip by using setuptools when available; however, note that
snakeoil must still be installed manually first since pkgcore's setup.py
script currently depends on snakeoil modules.
- Improve support for syncing repos defined in repos.conf, add syncers
supported by pkgcore should work as expected.
- Support for PORTDIR and PORTDIR_OVERLAY in make.conf has been dropped, only
repos.conf is supported.
- Drop deprecated support for /etc/make.globals, only make.globals provided by
pkgcore is used now.
- Add support for /etc/portage/make.conf as a directory. All regular, nonhidden
files under it will be parsed in alphabetical order.
- Drop deprecated support for /etc/make.conf, only /etc/portage/make.conf is
used now.
------------------------
pkgcore 0.9 (2015-04-01)
------------------------
Features
========
- Hardlinks are now preserved during merging and when creating binpkgs.
- Add pmerge support for globbed targets, this means that commands such as
**pmerge "*"** or slightly more sane **pmerge "dev-python/*::repo"** will
work. Note that this usage is apt to run into blockers and other resolver
issues, but it can be handy in certain cases.
- Drop pmerge support for -s/--set in favor of @pkgset syntax.
- Add pmerge support for -b/--buildpkg and change --with-built-depends to
--with-bdeps to match emerge.
- Nearly complete EAPI=5 support just missing subslot rebuilds.
- Add support for pebuild to run against a given ebuild file target from a
configured repo. This is the standard workflow when using `ebuild` from
portage.
- Add unmasks, iuse_effective, bashrcs, keywords, accept_keywords, pkg_use,
masked_use, stable_masked_use, forced_use, and stable_forced_use as `pinspect
profile` subcommands. Also, note that 'profile' is now used instead of
'profiles'.
- Add support for FEATURES=protect-owned (see make.conf man page for details).
- Add `pinspect query get_profiles` support.
- Add support for COLLISION_IGNORE and UNINSTALL_IGNORE variables (see
make.conf man page for details).
- Add support for FEATURES=test-fail-continue. This allows the remaining
phases after src_test to continue executing if the test phase fails.
- Add eqawarn support.
- Add support for profile-defined PROFILE_ONLY_VARIABLES to prevent critical
variables from being changed by the user in make.conf or the env.
- Move to using portage's keepdir file naming scheme (.keep_CAT_PN-SLOT)
while still supporting pkgs using the previous ".keep" method.
- Support the portage-2 profile format.
- Update pmerge's portage-like output to more closely approximate current
portage releases.
- Add pmerge options -O and -n to match --nodeps and --noreplace similar
to portage.
- Add profile-based package.accept_keywords, package.keywords, and
package.unmask support and force the profile base to be loaded by default so
related settings in the profile root dir are respected.
Fixes
=====
- Fix granular license filtering support via /etc/portage/package.license.
- Don't localize file system paths by resolving symlinks to provide a
consistent view of merged files between pmerge output and the vdb.
- Fix installing symlinks via doins for >= EAPI-4.
- Define SLOT and USE for pkg_pretend (mirroring portage) so checking for
enabled use flags during pkg_pretend works as expected.
- Run pkg_nofetch phase when any files in SRC_URI fail to be fetched.
- Apply use flags from make.defaults before package.use in profiles.
API Changes
===========
- Deprecated pkgcore.chksum compatibility shim removed.
- .eapi attribute on packages is now mostly unsupported; should instead use
.eapi_obj instead (an alias will be left in place for that long term).
- format_magic attribute was dropped from ebuild repositories; shouldn't
have been used (was always a hack).
Other
=====
- Add tox config to allow running the testsuite across all supported python
versions.
- Handle SIGINT signals better with regards to spawned processes that might
alter them. Now hitting Ctrl-C once should force pkgcore to exit as expected
instead of having to hit Ctrl-C multiple times at certain points during
package builds such as when a spawned python process is running and captures
the signal instead of relaying it to its children.
- Old virtuals support deprecated by GLEP 37 has been dropped.
- No longer depend on config files from portage. Global config files are now
stored in /usr/share/pkgcore/config and bash-related functionality is stored
in /usr/lib/pkgcore instead of each pkgcore module's namespace.
- Throw warnings for EAPI support in development instead of erroring out.
- Define ${T} for pkg_pretend phase, allows things like check-reqs for disk
tempspace to work properly.
- Support for multiple slots in a single atom dependency was removed;
never made it into a mainline EAPI and isn't useful these days.
- Pkgcore now parses EAPI from the ebuild itself, rather than from the
metadata calculated value.
--------------------------
pkgcore 0.8.6 (2012-10-29)
--------------------------
- Fix false positive test failure under py3k related to /etc/passwd
encoding (gentoo bug 439800).
- Better error messages for config errors.
--------------------------
pkgcore 0.8.5 (2012-10-18)
--------------------------
- pkgcore now matches the new PMS rules on package naming (specifically
that the last component can't be a version at all, period). Also
tightened up some stupidly horrible allowed names- stuff like diff-mode-
for a package name (gentoo bug #438370).
- pkgcore no longer supports the old form cvs version component; for
example, diffball-cvs.1.0 (cvs version of 1.0 for diffball). This has
long since been deprecated- basically since day 1 of cvs. It's been
basically six years, no vdb usage should exist anymore, thus dropping
support for it.
- Fixed test sporadic test failure- false positive code quality check.
Gentoo bug 437216.
- Fixed doc generation for py3k.
--------------------------
pkgcore 0.8.4 (2012-10-04)
--------------------------
- Fix bad function reference in eapi3 guts.
--------------------------
pkgcore 0.8.3 (2012-10-04)
--------------------------
- Fixed bug where default phases weren't guaranteed to be ran.
--------------------------
pkgcore 0.8.2 (2012-10-01)
--------------------------
- Fixed pmaint exception for when eclass preloading was enabled.
--------------------------
pkgcore 0.8.1 (2012-09-29)
--------------------------
- Pkgcore now requires snakeoil 0.5.1.
- The cache format 'md5-cache' is now supported (this is what gentoo-x86
switched to, and what chromeos uses).
- core environment saving functionality was sped up by ~10x. Basically
every package will see a gain; simple ones like bsdiff, on my hardware
went from ~5.2s to 1.5s; diffball from ~12.4 to ~9.2; hell, even
git (with binpkgs turned off) dropped from 28.5s to 21.1s.
This improves both --attr environment, and general functionality;
regen however shouldn't be any faster (already avoided these pathways).
- filter-env gained a --print-funcs option. Additionally, the underlying
core has been enhanced so that analysis within a function block is
possible.
- pquery --attr environment now can work for raw ebuilds, rather than
just built ebuilds.
- pquery --no-filter was added; this gives you the configured
(USE rendered) view of a package, just without any visibility
or license filtering applied.
- Errant newlines in pquery --attr \*depends -v output were removed.
- pquery --repo gentoo no longer implies/forces --raw. Same goes
for all other places that take repo arguments.
Now, pquery --repo <some-repo> must be within the specified domain
unless --raw is forced.
- All pkgcore internal functions now are prefixed with __; ebuilds
and eclasses should never touch them.
- For performance debugging of EBD, PKGCORE_PERF_DEBUG=1 was added.
- Defined phases is now trusted in full, and used to control exactly
what phases are actually ran. This in conjunction w/ some relaxation
of a few protections (namely, if pkgcore just generated the env dump,
and we know it's from our version/machinery, then we can directly
source that dump rather than doing protective scrubbing). End result
is that for build -> binpkg -> install, for example bsdiff went from
4.9s to 2.1s; diffball went from ~12.5s to ~9.8s. Gain primarily
is for either huge environments, or small pkgs.
- Minor round of metadata regen optimization; 18-20% faster now.
- Heavy environment cleanup; pkgcore now generally doesn't expose
any real functionality to ebuilds/eclasses that could be accidentally
relied upon (all of it is prefixed with pkgcore\_, making it obvious
they shouldn't be using it).
- Fix issue #31; empty GENTOO_MIRRORS breaks portage conf support.
------------------------
pkgcore 0.8 (2012-08-04)
------------------------
- Fix fetch support broken by gentoo's recent enabling of whirlpool
checksum.
- Python 2.4 support was dropped.
- Fix a longstanding potential bug in spawn's fd reassignment;
if fed {2:3, 3:2, 4:6}, dependent on python dict ordering, it
was possible for it to inadvertantly stomp fd 4 during the
final reassignment. Haven't seen any signs it's occurred in the
wild, but the potential is there, thus fixed.
- Gentoo's unpacker eclass is sensitive to the return code of
assert; this is outside of pms rules, but we've matched portage
behaviour to keep things working
- Fixed pinspect portageq envvar support.
- Added `pconfig world` for world file manipulation.
- Heavy doc fixups, including fixing the man pages to actually be
readable. New man page for pmerge added.
- Fix py3k incompatibility in pmerge -N .
- prefix branch was merged. This fleshes out the majority of prefix
support; extended-versions currently aren't supported however.
- pkgcore now forces parallelization for tbz2 generation if pbzip2
is installed.
- Python stdlib's BZ2File doesn't handle multiple streams in a bz2
file correctly- we work around this via always forcing bzip2 -dc
unless the python version is 3.3 or later.
----------------------------
pkgcore 0.7.7.8 (2011-01-26)
----------------------------
- pkgcore's merger now will preserve any hardlinks specified in the
merge set. Merges straight from binpkgs don't currently preserve
hardlinks.
- added hardlink awareness to splitdebug and stripping. For pkgs
that install hardlinks (git for example), this fixes double stripping
and complaints output during merging for trying to splitdebug it.
Bit faster in addition since for git, it cuts the splitdebug down
from 110 to 7 or so.
- Fix incompatibilities in pinspect portageq api that eselect uses.
Eselect will be updated to use better api's moving forward, but
till then restore support.
- pinspect portageq and pinspect query envvar now return space delimited
string values if the queried value was a list.
- Fix bug where use dep forced changes to use state weren't honored
at the build level.
- Fix fairly serious bug where immutable use flags (arch for example),
wasn't being enforced for pkg dependency calculations.
----------------------------
pkgcore 0.7.7.7 (2011-01-24)
----------------------------
- pkgcore resolver now understand weak blockers. This fixes a long
standing issue where portage/paludis would allow a transaction that
pkgcore would refuse (at the time of pkgcore's creation, weak/strong
didn't exist- just strong).
- work around eselect incompatibility for root not always being specified
to `pinspect portageq get_repositories`.
- Better error reporting for mistakes in incremental vars in configuration.
----------------------------
pkgcore 0.7.7.6 (2011-01-16)
----------------------------
- fix bug where REQUIRED_USE wasn't being stored during metadata
regeneration. Thanks to marienz for reporting it.
- FEATURES=compressdebug support was added. This enables splitdebug
to compress the generate debug files; this can easily reduce the footprint
from 20GB to ~8GB on an average system.
- no longer complain about incorrect profiles/categories files. PMS,
and people who hate QA suck.
----------------------------
pkgcore 0.7.7.5 (2011-12-26)
----------------------------
- pkgcore no longer requires a manifest to exist if the repository uses
thin-manifests, and there are no distfiles for a pkg.
- removed support for FEATURES=allow-missing-checksums. Use repository
metadata/layout.conf use-manifest setting instead.
- complain about incorrect profiles/categories files.
- fix bug in masters handling where eclass lookup order was reversed.
- pinspect subcommand digests was added; this is used for scanning for
broken manifest/digests in a repository.
- PORTAGE_LOGDIR is supported again.
- pkgcore no longer intermixes python/bash output incorrectly when stdout
or stderr or the same fd: pmerge -Du @system &> log for example.
- issue #7; add framework for parallelized trigger execution. Currently
only splitdebug/stripping uses it, but it has a sizable gain for pkgs
with many binaries.
- pmaint regen --disable-eclass-preloading is now
pmaint regen --disable-eclass-caching.
- ctrl-c'ing pmaint regen hang bug is now fixed.
- fix a bug in pmaint regen and friends where if the requested repository
isn't found, the last examined is used. Additionally, restore ability
to specify a repository by location.
- all operation api's now are chained exceptions deriving from
pkgcore.operations.OperationError; for CLI users, this means we
display a traceback far less often now.
- pkgcore configuration subsystem now uses chained exceptions. In
accessing it, you'll get a ConfigurationError exception (or derivative)
for any config data errors, or the appropriate exception if you use the
subsystem incorrectly. In the process, reporting on errors to the commandline
is now augmented.
----------------------------
pkgcore 0.7.7.4 (2011-12-14)
----------------------------
- pkgcore now requires snakeoil 0.4.6 and higher.
- `pinspect profiles` no longer requires parsing the system configuration.
- COLUMNS now is always 0 or higher to make perl (gentoo bug 394091)
play nice.
- FEATURES=distcc-pump support was added; issue #21.
----------------------------
pkgcore 0.7.7.3 (2011-12-08)
----------------------------
- fixed merging error for gconf files named %gconf, and introduced
better error messages for those sort of failures.
----------------------------
pkgcore 0.7.7.2 (2011-12-07)
----------------------------
- `pquery --attr source_repository --vdb` now correctly returns the
originating repository.
- pmerge --source-only was added; this disables all binpkg repositories
from being used for the resolution; binpkg building however still will
occur if the feature is enabled.
- fixed potential for eclass preloading to use the incorrect repo source.
This could only be triggered by actual API usage, not from commandline
usage.
- ebuild package instances now have an officially supported .inherited attribute
for finding out the eclasses used by a pkg. In addition, this attribute
is now installed into the vdb repository, and binpkgs.
- pkgcore no longer adds REQUIRED_USE to vdb nor binpkg; it's a pointless
metadata key, plus we used to corrupt it.
- fixed bug where portdir write cache wouldn't be created, nor used.
Wasn't seen primarily due to regen being fast enough it's not a huge
issue.
- fixed addition stacking issue w/ eclass defined REQUIRED_USE resulting
in corrupted IUSE.
- fixed long standing race that could occur during pmaint regen leading
to an ebuild failing to be regenerated.
- added protection and QA scanning for bad IFS/shopt/set manipulation
by user code.
----------------------------
pkgcore 0.7.7.1 (2011-12-02)
----------------------------
- Fix eclass metadata var (IUSE for example) stacking in metadata
phases.
- Fix has invocations in ebuild helpers
--------------------------
pkgcore 0.7.7 (2011-12-02)
--------------------------
- pmaint regen optimizations. This is now >5x faster than 0.7.6,
and ~3x faster than 0.7.2 (0.7.3 introduced a regression).
- restore pmaint sync support for unsynced repositories.
- support lookup of a repo by its name, rather than just by path.
This affects pquery --repo, pmaint sync, pmaint copy, pinspect, etc.
- --debug now again enables full traceback output for config failures.
----------------------------
pkgcore 0.7.6.1 (2011-12-01)
----------------------------
- fix portage_config generation bug in 0.7.6; in the process, forced
overlay's eclass stacking onto PORTDIR is no longer done by default.
--------------------------
pkgcore 0.7.6 (2011-11-30)
--------------------------
- pplugincache now removes old caches when ran.
- pkgcore now honors layout.conf masters for eclass stacking.
- pplugincache now forces an update, regardless of mtimes involved.
- pkgcore internal configuration was rewritten to be stricter, while
allowing far more overriding. In general, it should now do what
you would expect. Exact details, see the git logs.
- plugin cache format is now v3; this improves performance primarily.
--------------------------
pkgcore 0.7.5 (2011-11-07)
--------------------------
- pkgcore now extends masking rules to binpkg repositories; in addition,
it now honors 'masters' for masking. This means repositories that
try to suppress an inherited mask that affects that repo, can now
do so.
- fix bug- export ROOT to pkg_pretend invocations.
- pkgcore no longer export PWORKDIR; this was in use via extremely old
libtool versions as a way to do QA; no longer needed.
- match multirepo portage behaviour; specifically, no longer force overlay
version shadowing.
--------------------------
pkgcore 0.7.4 (2011-10-27)
--------------------------
- fix userprofile stacking for /etc/portage/profile; this fixes a traceback.
--------------------------
pkgcore 0.7.3 (2011-10-26)
--------------------------
- speed up directory walking; varies, but ~25% faster.
- pkgcore no longer allows comments in profiles/categories.
- pkgcore now allows profile package.mask and friends as directories for user
configuration, and within repositories that set profile-formats = portage-1
in their layout.conf.
- pquery --expr was removed. Open to re-adding it, but in a maintainable
form that has testing, and is usable elsewhere.
- pquery now if given no restrictions, defaults to --all.
- pquery argument parsing was rewritten; ordering issues for --config
were fixed, error messages improved, and general cleanup.
- fix traceback that occurs when unmerging a pkg, but tempspace needs
to be created.
- initial layout.conf support; thin-manifests, use-manifests, and
controllable hashes.
--------------------------
pkgcore 0.7.2 (2011-09-27)
--------------------------
- bug fixes; fix to pebuild so it works again, bugs spotted by pyflakes,
etc. Basically codebase cleanup.
- experimental support added for generating Manifests via pmaint digest.
- pkgcore no longer supports manifest version1; nothing else supports
it now, it's no longer in use, thus the removal.
- new pmaint 'mirror' command. This is used for pulling down
all distfiles that could be required for a specific package.
- operations proxy no longer triggers infinite recursion.
--------------------------
pkgcore 0.7.1 (2011-09-03)
--------------------------
- add TIMESTAMP header to binpkg Packages cache.
- mangle and add compatibility to source_repository handling to make
it play nice w/ past transgressions, and generate in a form portage
will like.
- fix traceback in binpkg installation
- fix pclone_cache hang
- suppress spurious slot shadowing test failure; occurs dependant on
GC behaviour, the complaint however doesn't matter (it false-negatives
on a mock object used for tests).
------------------------
pkgcore 0.7 (2011-09-02)
------------------------
- pmaint regen now supports regenerating binary and install repository
caches.
- pkgcore now tracks and records the originating/source repository
when installing to the vdb.
- new pkg attribute; source_repository. This tracks where a package
originated from- primarily useful for binpkgs and vdb.
pquery --attr source_repository is how to access it from the CLI.
- pkg_config can now be invoked via:
pconfig package <target>
- splitdebug no longer runs if the pkg has been split already.
- arbitrary exceptions during merging/unmerging no longer stop the
merge/unmerge; a traceback is displayed instead.
- added initial profile inspection tool; pinspect profiles.
- pmaint copy arguments have changed; check the help, short version,
it's now sane.
- pkgcore now lives at googlecode; http://pkgcore.googlecode.com/
- large scale conversion of internals to argparse. Saner parsing namely,
although it's still a work in progress to make it pretty.
- man pages and docs in general have been converted to sphinx. Definite
improvement already, but more to come.
- pkgcore observer api's were heavily gutted and split into observer and
outputter. This should enable easier UX integration, while enabling
our next step towards parallelization.
--------------------------
pkgcore 0.6.6 (2011-07-11)
--------------------------
- make use/useq/usev extremely obnoxious towards offending devs who use them
in global scope when they're not supposed to. Pretty much, I'm tired of
pkgcore being broken for being PMS compliant; as such I'm now pointing
users loud and clear at the offenders.
- fix traceback in user profile support (/etc/portage/profiles).
--------------------------
pkgcore 0.6.5 (2011-06-22)
--------------------------
- Log an error, rather than throwing an exception when binpkg cache cannot
be updated. Needs refinement long term, but for average users, this is
preferable.
- loosen up pebuild a bit; choose the max version if slot/repo are all the
same. This allows pebuild dev-util/nano to choose 2.3.1 for example.
- tighten up econf implementation; ctarget/cbuild are now forced as early
arguments to configure to work around some misbehaviours in configure
scripts (broken scripts, but so it goes).
- tighten up ebuild environments variable handling- had a bleed through
of variable 'x' that was breaking mesa builds.
- yet another src_install fix for EAPI=4; this time ensuring the default
function is available.
- we now run bashrcs (profile and user) every phase to match portage
behaviour. If folks desire it, a patch making that optional would be
welcome.
- add support for /etc/portage/package.env and /etc/portage/env/. Note
that we only allow settings there to affect the bash environment- trying
to adjust FEATURES from those files isn't on the intended support list.
- use ${LIBDIR_${ABI}} for ccache/distcc pathways; gentoo bug 355283.
- profile interpretation of make.defaults now has access to variables
defined by its parents, per PMS.
--------------------------
pkgcore 0.6.4 (2011-06-05)
--------------------------
- intercept and suppress exceptions from triggers unless the trigger
explicitly disables it.
- work around libmagic python bindings sucking and not always being
able to be used.
- fix 'default' support for src_install for EAPI=4.
--------------------------
pkgcore 0.6.3 (2011-05-30)
--------------------------
- support for /etc/portage/make.profile; Please Do Not Use it, while
pkgcore is forced to support it, usage of it breaks most tools and is
bluntly lock-in (no reason to move it- it's the same, been in the same
place for a decade now). Duly warned.
- misc env/bug fixes for EMERGE_FROM to ensure compatibility.
- deploy eselect support via pinspect portageq
- added man page for pinspect
- added pmaint env-update
- expose /usr/local/* through PATH for ebuilds.
--------------------------
pkgcore 0.6.2 (2011-05-27)
--------------------------
- for EAPI<4, expose MERGE_TYPE info via EMERGE_FROM; do this for compatibility
with non-spec compliant ebuilds, and eclasses like linux-mod. This restores
in particular, binpkg support for kernel packages. Thanks to Brian De Wolf
for info leading to tracking this down.
- add support for stacking /etc/portage/make.conf on top of /etc/make.conf.
- add incrementalism between make.globals and make.conf to match changes
in portage configuration parsing. This fixes the common "I tried pkgcore
and everything was license masked". Breakage there owes to portage
changing make.globals; can't do much about it unfortunately. Thanks to
Brian De Wolf for info leading to tracking this down.
- prefer 0755 permissions for binpkg package dir.
- pinspect pkgset learned --all option, to display all pkgsets it knows.
--------------------------
pkgcore 0.6.1 (2011-05-27)
--------------------------
- fix for "or_node.blocks" AttributeError, and related resolution
miscalculations.
- fix exit code return for ebuild helpers throwing warnings for <EAPI4
- fix typo in FEATURES=buildsyspkg, and FEATURES=buildpkg
- check to ensure pkgdir exists; if possible, create it, else turn off binpkg
features.
------------------------
pkgcore 0.6 (2011-04-24)
------------------------
- Due to crazy work hours and moves, this release is fairly large, and frankly
repeatedly delayed. Future ones will be far more fine grained moving forward.
- Fix python2.7 incompatiblity in pkgcore.ebuild.misc
- It's suggested that folks use bash 4.1, primarily for regen
speed reasons- it is not required however.
- bash spawning now enforce --norc and --noprofile in full.
- RESTRICT is now properly use evaluated.
- pkgcore.restrictions.values.ContainmentMatch is deprecated in favor of
ContainmentMatch2. Update your code- by pkgcore 0.7, ContainmentMatch
will become ContainmentMatch2, and a shim will be left in place.
- introduction of EAPI objects (pkgcore.ebuild.eapi) for controlling/defining
new eapi's, capabilities, etc.
- pmaint regen is now cumulatively ~23x faster then the previous release.
This is via restoration of original metadata regeneration speeds, and
via enabling an eclass preloading optimization. No impact on metadata-
just far faster regeneration.
- Roughly a 15x speedup in general metadata regeneration; basically rework
a fix that was added to to 0.5.11 (dealing with portage induced
breakage in env loadup from their declare usage).
- filter-env regex backend now uses python's re always; previously
if the extension was active it would use posix regex.
This resolves occasional odd failures when running native filter-env.
- fix a truncation error in suffix version parsing resulting in
_p2010081516093 being less than _p2009072801401 .
- pkgcore.ebuild.restricts now contains some generally useful
building block restrictions for any api consumers
- full rewrite of EAPI helpers adding better error info, saner code,
double checked against PMS and portage/paludis to ensure no oddities.
- fix to buildpkg/pristine-binpkg saving. If you're looking for
something to contribute to pkgcore wise, tests for this would be
appreciated.
- write support for DEFINED_PHASES.
- bashrc hooks now run from ${S} or ${WORKDIR}, depending on
PMS rules for that phase.
- match the other PM's for econf; update ${WORKDIR} instances of
config.{sub,guess} from /usr/share/gnuconfig.
- added protection against bad environment dumps from other PMs for T
during env restoration.
- removed RESTRICT=autoconfig support.
- fix compatibility regression introduced in file-5.05 involving MAGIC_NONE.
- handle keyboard interrupts better during compilation; no longer display
die tracebacks if the user intentionally stopped the compilation.
- duplicate a portage workaround for emacs ebuild; specifically don't
regenerate infodir if the ebuild placed a .keepinfodir in the directory.
gentoo bug #257260.
- add workaround to disable unzip during unpack going interactive during
a failure; gentoo bug #336285.
- fixed traceback during displaying a summary for 'pinspect eapi_usage'
- add EAPI limitation to all portageq invocations, and support USE dep
usage with has_version and friends.
- handle portage's new interpretation of the sync retries variable for portage
configuration.
- pinspect distfiles_usage was added; this is primarily useful for getting
a repository level view of what the distfiles requirements are, what takes
what percentile of unique space, etc.
- FEATURES=allow-missing-manifests ; does exactly as it sounds, not advised to
use unless you know what you're doing.
- ospkg's fork of pkgcore has been folded in; FEATURES=save-deb is the primary
addition.
- extended atom syntax now allows '*' to be used w/in a string- for example
dev-\*kde, \*dev-\*k\*de\*, etc. This syntax is usable in user configs, and
from the commandline.
- new FEATURES=fixlafiles is on by default; basically folds
dev-util/lafilefixer functionality directly into the merger.
Note this version drops comments- it's about a 66% reduction in .la system
filespace requirements via doing so.
- triggers base class now carries a ConfigHint to provide a typename. If
a specific trigger cannot be specified by configuration directly, set
pkgcore_config_type = None to disable the hint removing it from being
directly configurable.
For users: this means basically all triggers are now directly usable in
configuration.
- object inspection for configuration can now handle object.__init__ for
config 'class' targets; no need to define an intermediate function.
- ConfigHints can now specify authorative=True to disable all introspection.
Mainly usedful for cpy objects, although useful if you want to limit what
the introspection exposes.
- api's for installing pkgs has changed; now to install a pkg to a domain,
you invoke domain.(install|uininstall|remove)_pkg. To just modify a repo,
access its operations for the appropriate operation.
- pkgcore.interfaces was moved to pkgcore.operations
- pkgcore.package.base derived objects no longer default to _get_attr dict
lookup- if you want it, set __getattr__ = dynamic_attr_dict.
- USE is now locked an intersection of the pkgs IUSE, with forced flags
(things like arch, userland, prefix, etc) added on. Mild speed up from
dealing with a reduced set, more importantly portage switched to controlled
USE here, so we can force it finally.
- USE collapsing now should match portage behaviour. Essentially now,
pkg IUSE + profile overrides + make.conf overrides + user config package.use
overrides. Previous behaviour didn't get edge cases correct.
- USE_EXPAND default iuse is now fully overridden if the target USE_EXPAND
groupping is defined in configuration. Mostly relevant for qemu-kvm.
- data_source.get_(text|bytes)_fileobj invocations now require writable=True
if you wish to mutate the data source. Via making the intention explicit,
consumers will get just what they need- a 3x speed up for
pquery --attr environment is from that internal optimization alone.
- pkgcore.fs.fsFile.data_source is deprecated; will be removed in the next
major version, use .data instead.
- pkgcore.interfaces.data_source moved to snakeoil.data_source.
- pkgcore.chksum moved to snakeoil.chksum. A compatibility shim was left in
for pkgcore-checks, which will be removed in 0.7 of pkgcore.
- pkgcore ticket #172; rely on snakeoil.osutils.access to paper over differing
os.access behaviours for certain broken userlands (SunOS primarily).
-----------------------------
pkgcore 0.5.11.8 (2010-07-17)
-----------------------------
- ticket #221; add --color=(n|y) support
- pmaint perl_rebuild was added; right now it just identifies what needs
rebuilding on perl upgrades, but down the line it'll do the rebuilds as
needed.
- pkgcore now ignores ebuild postrm exit status- it logs failures, but there
isn't really anything that can be done at that stage (everything is already
unmerged after all).
- fixed pkgcore.fs.livefs.iter_scan to support a path pointing to a
nondirectory.
- force all sourcing to stderr; this protects against idiocy like the
python eclass trying to write to stdout in color during sourcing.
- commandline.OptionParser now does a shallow copy of all items in
standard_options_list; this protects against class/instance level cycles
inherent in optparse.OptionParser's design.
-----------------------------
pkgcore 0.5.11.7 (2010-06-20)
-----------------------------
- use_enable/use_with; make use_enable/use_with 3rd arg form match pms in eapi4,
match long standing portage behaviour for eapi's 0 through 3.
- when combining repository and slot restrictions in an atom, repository is now
always prefixed with ::, not intermixed. sys-apps/portage:0::gentoo for
example specifies slotting 0, repository gentoo.
- fixed a bug in installed pkgs virtual cache staleness detection- this
accounted for a surprisingly hefty ~25% for simple pquery invocations.
- fix typo in env protection code- load the scrubbed env, not the raw source.
-----------------------------
pkgcore 0.5.11.6 (2010-05-21)
-----------------------------
- add a bit of a hack to tty detection tests; PlainTextFormatter is valid for
broken terminfo entries.
- fix support for unpacking of xz tarballs.
-----------------------------
pkgcore 0.5.11.5 (2010-04-22)
-----------------------------
- fix yet *another* fucking distutils bit of idiocy. Piece Of Shit.
-----------------------------
pkgcore 0.5.11.4 (2010-04-21)
-----------------------------
- fix py3k regression when trying to hash a PackageRestriction.
- drop CDEPEND tracking (unused, hold over from '04 days), and
newdepend (same era). Neither are used in >=EAPI0 ; if your
ebuild breaks, rebase the ebuild to a valid EAPI.
-----------------------------
pkgcore 0.5.11.3 (2010-03-22)
-----------------------------
- force all einfo/elog/ewarn style bits to stderr.
- add path attribute to ebuild derived pkg instances; not a guaranteed
part of the api yet, but accessible via pquery --attr path
-----------------------------
pkgcore 0.5.11.2 (2010-03-16)
-----------------------------
- silence spurious grep QA warnings during metadata sourcing.
-----------------------------
pkgcore 0.5.11.1 (2010-03-15)
-----------------------------
- fix a major release bug; ebuild-env-utils.sh wasn't packaged in the
released 0.5.11, this version adds the missing file.
- more declare related fixups; this one a regression from 0.5.10- in
sourcing /etc/profile.env, its contents weren't being preserved
fully due to declare.
- add missing eapi3 phase support- basically just reuses eapi2's since
the only changes are environmental.
---------------------------
pkgcore 0.5.11 (2010-03-14)
---------------------------
- took me a full night of debugging, but traced down yet another portage
incompatibility introduced. gentoo bug 303369; if you've been seeing
issues where portage merged ebuild envs aren't reused in pkgcore, this
is now fixed. Env handling in general was heavily rewritten to be as
robust as possible and protect against any further breakages from portage.
- env processing is a bit faster now- uses egrep where possible, falling
back to bash regex where not.
- shell scripts now are tabs based rather than spaces.
- FEATURES=splitdebug works once again.
- It's strongly suggested that you run >snakeoil-0.3.6.1 due to fixes
in extension building- specifically forcing -fno-strict-aliasing back
into cflags since python is invalidly dropping them out.
In addition, if you're running pkgcore on a py3k machine, installation
now is parallelized for 2to3 conversion- should be a fair bit faster.
- rename support for env var CONFIG_ROOT to PORTAGE_CONFIGROOT; seems
that changed in portage at some point. This should fully restore
crossdev support.
---------------------------
pkgcore 0.5.10 (2010-02-07)
---------------------------
- ticket 235; CBUILD/CTARGET values were being stomped w/ CHOST.
- EAPI=3 support; pkgcore already preserved mtimes at the second level,
remaining bits were added for full EAPI3 support.
Pkgcore doesn't currently fully PREFIX offset merges, but that will be
added in the next release or two most likely.
- EBUILD_PHASE was set to setup-binpkg for pkg_setup phase w/ binpkgs-
ebuilds expected setup however, thus EBUILD_PHASE is now set to setup
always for pkg_setup phase.
- fixup env filtering- backslash escaping wasn't needed in the patterns
resulting in failed matches. Mostly protective cleanup.
- tweak cache backend to not stamp cache entries where mtime is no longer
external w/ an mtime of '-1'. Didn't hurt anything but was a pointless op.
- fix the cpy incremental_expansion implementation; not sure how it slipped
in being slower then native python, but the cpy version is now 60% faster
than the native equivalent.
Additionally, this extension is now disabled under py2.4 since it makes
heavy use of PySet apis.
- ticket 234; handle refs properly in dhcpformat/mke2fsformat.
- pkgcore atom objects blocks_temp_ignorable data is now stored in
blocks_strongly; the old attr is aliased, although will be removed.
- pkgcore now supports revisions of arbitrary length (previously was <31 bits).
--------------------------
pkgcore 0.5.9 (2010-01-08)
--------------------------
- this release of pkgcore requires snakeoil >=0.3.6
- expand repository api slightly adding has_match; this is intended
as a simple boolean check if a repo has it. It should *only* be
used for containment- if you need the results don't test then itermatch,
just itermatch.
- add cpy implementation of PackageRestriction.match
- for package.provided repositories, short circuit their itermatch/match
if there aren't any results possible.
- re-enable cpython implementation of DepSet parsing for eapi2- roughly
a 31% speedup for current gentoo-x86 repository dependency parsing.
- performance improvements to pquery --attr alldepends; specifically
depset.stringify_boolean is now 20% faster.
- performance improvements to pquery --attr alldepends -v
--------------------------
pkgcore 0.5.8 (2009-12-27)
--------------------------
- >snakeoil-0.3.4 is required for this release.
- key is reused as cpvstr for memory savings where possible in cpv
extension objects.
- cpv extension objects now intern package, category, and key for
memory reduction reasons.
- various slot fixups to reduce memory usage and potential corner case
bugs.
- fix the scenario where there is one repo returned from the domain for
pmerge... crappy bug feedback on that one lead to it slipping by.
--------------------------
pkgcore 0.5.7 (2009-12-22)
--------------------------
- added pinspect script; used for basic reporting of metadata usage,
and inspection of pkgsets. Bit simple, but will be expanded down the line.
- filter-env is now installed into PATH; cli api isn't considered stable,
but it should be useful for folks playing w/ bash environments or doing
ebuild inspection.
- correct a tb in pmerge when the user configuration is strictly a single
source repository. Semi rare, but can occur.
- correct a tb when throwing a missing file error for specifying package.*
settings directly to domain.
- correct a tb in profiles expansion code of USE_EXPAND and USE_EXPAND_HIDDEN
when they're completely undefined in the profile stack. Rare, but if a
user is building a custom profile stack from the ground up, it's possible
to hit it.
- gentoo upstream bug 297933; filter BASHOPTS to keep bash 4.1 happy.
- correct an encoding issue in making binpkgs when an ebuild is utf8
- fix a traceback in pmerge -fK when trying to fetch required files for
binpkgs.
--------------------------
pkgcore 0.5.6 (2009-12-13)
--------------------------
- tweak pkgcore configuration subsystem to tell you the parameter involved
when it's passed an incorrectly typed object.
- fix an encoding issue w/ utf8 ebuilds on merging.
--------------------------
pkgcore 0.5.5 (2009-11-26)
--------------------------
- portage changed their flat_hash support a while back, specifically
how mtime was stored. We match that now (although it's daft to do so)
for compatibility sake- primarily affected CVS users.
- removed a potential in the merge engine where triggers that didn't
do an abspath on items they added could incorrectly be moved.
Specifically affected FEATURES=debugedit for /usr/lib -> lib64 pathways.
- boolean restrictions now default to being finalized.
- pkgcore.fs.ops.offset_rewriter -> pkgcore.fs.contents.offset_rewriter
- various code cleanups, quite a few conversions to snakeoil.klass
decorators/property tricks to simplify the code.
- experimental python3.1 support. Bugs welcome, although till stated
otherwise, it's considered unsupported.
- pkgcore.restrictions.values.ComparisonMatch has been removed.
- for overlayed repositories that have invalid atom stacking in their
package.mask, give an appropriate error message indicating the file.
- gentoo bug 196561, PMS doesn't match portage behaviour for '~' atom
operator. Being that the pms definition has never been accurate, and
portage hasn't handled '~' w/ a revision in any sane form, and finally
do to portage adding a repoman check for this (bug 227225) pkgcore is
now strict about disallowing revisions with '~'. Scream at PMS to
fix their doc if it's problematic.
- certain ebuilds (ssmtp for example) expect D to have a trailing '/'.
Force this (outside pms compliance, so we match portage behaviour).
--------------------------
pkgcore 0.5.4 (2009-10-30)
--------------------------
- minor bug fix release fixing filter-env invocation (wasn't covered
by tests)
--------------------------
pkgcore 0.5.3 (2009-10-30)
--------------------------
- filter-env grew a --print-vars option. If you've been seeing
"declare: write error: Broken pipe" from build operations, this should
now be fixed via using this new option.
- the resolver wasn't properly accounting for planned modifications to
the installed pkgs database. If you've had upgrade issues from
blockers, this is the root cause (pam/pambase in particular).
- eclass scanning is now JIT'd, and the resultant eclass dictionary
is now marked immutable for safety reasons.
- for portage configuration when PORTDIR_OVERLAY is in use and portdir
has a pregenerated cache, check the pregenerated cache first when
looking for metadata. This degrades the usage case where overlays
override quite a few core eclasses in favor of the more common case
where the pregenerated cache is the majority of the time, accurate.
End result is upwards of a 2x reduction in open invocations.
--------------------------
pkgcore 0.5.2 (2009-10-28)
--------------------------
- touch vdb root on vdb modification as a way to notify alternative PMs
that their cache needs updating. Gentoo bug #290428. Just leaves paludis
to join in on the fun...
- portage 2.2 modified make.globals to add a default, non glep23 compliant
ACCEPT_LICENSE. pkgcore's implementation has been modified to be non
compliant to glep23, matching portage semantics.
If pquery <atom> has suddenly started returning nothing, this was the cause.
- fix a traceback that could occur when doing pmerge -pv for when binpkg
repos were involved.
--------------------------
pkgcore 0.5.1 (2009-10-22)
--------------------------
- correct a python-2.6 incompatibility that rears its head when doing
repository operations (installing, uninstalling, etc).
------------------------
pkgcore 0.5 (2009-10-22)
------------------------
- add protection against multiple python versions, w/ the default python
invocation being a different major version from what pkgcore was installed
under. Primarily a fix to dohtml.
- ticket 230; tweaks for better >=python2.5 compatibility.
- pkgcore will now try to sync overlays if the overlay is a vcs. This can
be disabled by adding FEATURES="-autodetect-sync" to your make.conf
- pkgcore.sync.base.AutodetectSyncer was added as a way to pull configuration
from existing on disk vcs repos, and generate a syncer from them.
- handle cache corruption a bit better- namely, log the warning, and keep
going. Degradation of performance can result, but it's preferable to just
bailing.
- gentoo bug 280766; basically some ebuilds are sensitive to a trailing '/'
on WORKDIR (portage strips it) leading to failures in path sedding.
- comply with PMS corner cases for package names; gentoo bug 263787
- serialization support for cpv derivatives. Not great, but packages.g.o
relies on it, thus its inclusion.
- not surprising on the timing (or spotting it via ciaran spreading it
via blog comments), gentoo bug 226505 revisited- change in phase ordering
afflicting all eapis. pkgcore had it right the first time, inverted the
ordering in 0.4.7.9.
-----------------------------
pkgcore 0.4.7.16 (2009-03-24)
-----------------------------
- pmerge is a bit more informative when there is nothing to merge,
and doesn't ask if in --ask if the users wishes to proceed.
Thanks to DJ Anderson for pointing out this oversight.
- ensure unicode for pquery --attr longdescription w/in pquery; via this
it leaves the unicode question to the formatter, instead of down converting
earlier.
- fix a mismatch between src ebuilds and binpkgs for _eclasses_ when
doing pquery --attr inherited. Bit of a hack, but it'll suffice.
- pquery --attr all and --attr allmetadata was added. 'all' gets you
all known attrs (environment, contents, etc); bit heavy but useful if
you need to see it all. 'allmetadata' gets you the key/val pairs for
this host- fetchables, depends, slotting, eapi, repo, cbuild/chost, etc,
but no environment/contents.
- fix cycle detection for dev-util/git; specifically there is a cycle on
virtual/perl-Module-Built which can be ignored since that chain of deps
are pulled in via post_rdepends.
- make gid/mode configurable for filelist pkgsets; this fixes 4 failures
for when the tests are ran and the user isn't a member of portage.
- fix a cornercase in fs.livefs.intersect where intersecting a file/dir
would trigger a traceback.
- fix a corner case where the world file isn't updated if the world file
is empty.
- fix a deprecation warning under 2.6 caused by an impedence between
native_PackageRestriction and the cpy version for __init__ invocation.
- fix gentoo bug 216492, a change in libsandbox behaviour- specifically
libsandbox for >=1.3 is now appending libsandbox.so while failing to
spot it already existing in LD_PRELOAD; pkgcore tests were written a bit
strict thus were spotting this. Loosen the test, and fix the case where
a different preload is used in conjunction w/ sandbox.
-----------------------------
pkgcore 0.4.7.15 (2009-01-28)
-----------------------------
- fix docutils-0.5 incompatibility in build_api_docs.py
- python issue 4230 makes __getattr__ support descriptor protocol.
This unfortunately causes part of config handling to go boom- fixed.
Unfortunately this also means that we need to support both descriptor
and *non* descriptor interpretters at *runtime*- if python is upgraded
underfoot, things get unhappy to keep atom.__getattr__ from blowing up.
Fixed either way.
- copy HOMEPAGE into vdb/binpkg by default.
-----------------------------
pkgcore 0.4.7.14 (2008-12-18)
-----------------------------
- profile awareness of eapi files, *including* strict validation.
- tighter use dep and atom support in pkgcore for specified eapis.
- ticket 187; fix a traceback when a specific subset of cycles are
encountered.
- correct a python 2.6 incompatibility; object.__init__() is now strict
about taking no keywords.
-----------------------------
pkgcore 0.4.7.13 (2008-10-29)
-----------------------------
- bug fix for transitive use atoms; if || ( a/b[x?] ), DepSet wasn't detecting
that there were conditionals w/in it, as such wasn't doing evaluation.
--------------------------------------------------------
pkgcore 0.4.7.12 (2008-10-10) (2 hours after 0.4.7.11 ;)
--------------------------------------------------------
- security fix; force cwd to something controlled for ebuild env. This
blocks an attack detailed in glsa 200810-02; namely that an ebuild invoking
python -c (which looks in cwd for modules to load) allows for an attacker
to slip something in.
-----------------------------
pkgcore 0.4.7.11 (2008-10-10)
-----------------------------
- fix EAPI2 issues: default related primarily, invoke src_prepare for
>=EAPI2 instead of >EAPI2.
-----------------------------
pkgcore 0.4.7.10 (2008-10-07)
-----------------------------
- fix in setup.py to install eapi/* files.
die distutils, die.
- api for depset inspection for tristate (pcheck visibility mode) is fixed
to not tell the consumer to lovingly 'die in a fire'.
- correct a failure in EAPI=2 src_uri parsing complaining about
missing checksums for nonexistent files
----------------------------
pkgcore 0.4.7.9 (2008-10-06)
----------------------------
- eapi2 is now supported.
- DepSet has grown a temp option named allow_src_uri_file_names; this
is to support eapi 2's -> SRC_URI extension. This functionality
will under go refactoring in the coming days- as such the api addition
isn't considered stable.
- we now match the forced phase ordering portage induced via breaking
eapi compatibilty for eapi0/1.
- tightened up allowed atom syntax; repository dep is available only when
eapi is unspecified (no longer available in eapi2 in other words).
atom USE dep parsing now requires it to follow slotting- this is done to
match the other EAPI2 standard.
Beyond that, better error msgs and tighter validation.
----------------------------
pkgcore 0.4.7.8 (2008-08-28)
----------------------------
- pkgcore now properly preserves ownership of symlinks on merging.
ensure_perms plugins now need to handle symlinks (lchown at the least).
- free resolver caches after resolution is finished; lower the memory
baseline for pmerge.
- fix up interface definitions for >snakeoil-0.2 dependant_methods changes.
Via these cleanups and >snakeoil-0.2, memory usage is massively decreased
for pmerge invocations.
- swallow EPIPE in pquery when stdout is closed early.
----------------------------
pkgcore 0.4.7.7 (2008-08-11)
----------------------------
- Disable fakeroot tests due to odd behaviour, and the fact it's currently
unused.
- Fix installation issue for manpages for python2.4; os.path.join behaviour
differs between 2.4 and 2.5.
- Kill off large memory leak that reared its head per pkg merge; still is
a bit of a leak remaining, but nothing near as bad as before.
----------------------------
pkgcore 0.4.7.6 (2008-08-10)
----------------------------
- fix sandbox complaint when PORT_LOGDIR is enabled- sandbox requires abspath
for any SANDBOX_WRITE exemptions, if PORT_LOGDIR path includes symlinks,
force a `readlink -f` of the sandbox exemption.
http://forums.gentoo.org/viewtopic-p-5176414.html
- ticket 213; if stricter is in FEATURES, fail out if insecure rpath is
detected- otherwise, correct the entries.
- ticket 207; drop the attempted known_keys/cache optimizations, instead
defer to parent's iterkeys always. This eliminates the concurrency issue,
and simplifies staleness detection. Also kills off a tb for --newuse .
- ticket 201; pquery --restrict-revdep-pkgs wasn't behaving properly for
slot/repository/user atoms, now does.
- Correct potential segfaults in cpython version of PackageRestriction and
StrExactMatch's __(eq|ne)__ implementations.
----------------------------
pkgcore 0.4.7.5 (2008-07-06)
----------------------------
- incremental_expansion and friends have grown a cpython implementation-
this speedup will show up if you are doing lots of profile work (pcheck
for example, which has to read effectively all profile).
- if the invoking user isn't part of the portage group, don't throw a
traceback due to permission denied for virtuals cache.
- correct a false positive in pkgcore.test.util.test_commandline that occurs
when snakeoil c extensions aren't enabled.
- ticket 193; follow symlinks in /etc/portage/\*/ directories.
- ticket 203; functionfoo() {:;} is not function 'foo', it's 'functionfoo'.
Users shouldn't have seen this- thanks to ferdy for spotting it in an audit.
- add 'skip_if_source' option to misc. binpkg merging triggers- defaults to
True, controls whether or not if a pkg from the target_repo should be
reinstalled to the repo.
- make contentsSet.map_directory_structure go recursive-
this fixes ticket #204, invalid removal of files previously just merged.
- make --newuse work with atoms/sets
- add a cpy version of incremental_expansion
- fix longstanding bug - finalize settings from make.conf, stopping negations
from being parsed twice. Without this fix, -* in a setting will negate
random flags set after it.
- allow / in repo ids
- don't show flags from previous versions of packages in --pretend output -
it's confusing and doesn't match portage behaviour.
- fix ticket 192: ignore nonexistent files in config protect checking
----------------------------
pkgcore 0.4.7.4 (2008-06-11)
----------------------------
- eapi1 bug fix; check for, and execute if found, ./configure if ECONF_SOURCE
is unset.
----------------------------
pkgcore 0.4.7.3 (2008-05-16)
----------------------------
- ticket #185; tweak the test to give better debug info.
- add proper handling of very, very large revision ints (up to 64 bits).
- fakeroot tests are enabled again.
- misc bug fixes; pquery --revdep traceback, vecho complaints from do*
scripts.
- explicit notice that Jason Stubbs, Brian Harring, Andrew Gaffney, and
Charlie Shepherd, Zac Medico contributions are available under either
GPL2 (v2 only) or 3 clause BSD.
Terms are in root directory under files names BSD, and GPL2.
Aside from the bash bits Harring implemented during the EBD days, the
remaining ebuild bash bits are Gentoo Foundation copyright (GPL2), and
the contributions from Marien Zwart are currently GPL2 (config bits, still
need explicit confirmation).
What that effectively means is that pkgcore as a whole currently is GPL2-
sometime in the near future, the core of pkgcore (non-ebuild bits) will be
BSD/GPL2, and then down the line the bash bits will be rewritten to be
BSD/GPL2 (likely dropping the functionality it uses down to something bash/
BSD shell compatible).
- expansion of -try/-scm awareness to installed pkgs database. Binpkg
repositories now abid by ignore_paludis_versioning also.
- ticket #184; silence disable debug-print in non build/install phases.
- handle malformed rsync timestamps more cleanly.
----------------------------
pkgcore 0.4.7.2 (2008-05-07)
----------------------------
- new portage configuration feature- 'ignore-paludis-versioning'. This
directs pkgcore to ignore nonstandard -scm ebuilds instead of complaining
about them.
Note this does *not* affect the installed pkgs database- if there is a
-scm ebuild in the vdb, pkgcore *must* deal with that ebuild, else if it
silently ignores vdb -scm pkgs it can result in overwriting parts of the
-scm pkg, and other weirdness. If you've got a -scm version pkg installed,
it's strongly suggested you uninstall it unless you wish to be bound to that
nonstandard behaviour of paludis.
Finally, it's not yet covering *all* paludis version extensions- that will
be expanded in coming versions.
- pkgcore is now aware of installed -scm pkgs, and gives a cleaner error
message.
- a few versions of portage-2.2 automatically added @PKGSET items to the
world file; due to how portage has implemented their sets, this would
effectively convert the data to portage only. As such, that feature was
reversed (thank you genone); that said, a few world files have @pkgset
entries from these versions. Pkgcore now ignores it for worldfiles, and
levels a warning that it will clear the @pkgset entry.
- ticket #174; ignore bash style comments (leading #) in pkgsets, although
they're wiped on update. If folks want them preserved, come up with a way
that preserves the location in relation to what the comment is about- else
wiping seems the best approach.
- ticket #14; tweak PORT_LOGDIR support a bit, so that build, install,
and uninstall are seperated into different logs.
- added '@' operator to pmerge as an alias for --set; for example,
'pmerge @system' is the same as 'pmerge --set system'.
- fallback method of using the file binary instead of libmagic module is
fixed; ticket #183.
----------------------------
pkgcore 0.4.7.1 (2008-05-04)
----------------------------
- correct a flaw in repository searching that slipped past the test harness.
effectively breaks via inverting the negate logic for any complex search.
--------------------------
pkgcore 0.4.7 (2008-05-03)
--------------------------
- prepstrip was updated to match current portage semantics, minus stripping
and splitdebug functionality (we handle that via a trigger). Via this,
FEATURES=installsources and basic bincheck (pre-stripped binaries) is now
supported.
- FEATURES='strip nostrip splitdebug' are now supported in portage
configuration (trigger is pkgcore.merge.triggers.BinaryDebug).
- added cygwin ostype target for development purposes. In no shape or form
is this currently considered supported, although anyone interested in
developing support for that platform, feel free to contact us.
- in candidate identification in repository restriction matching, it was
possible for a PackageRestriction that was negated to be ignored, thus
resulting in no matches. This has been corrected, although due to
collect_package_restrictions, it's possible to lose the negation state
leading to a similar scenario (no known cases of it currently). This
codepath will need reworking to eliminate these scenarios.
- mercurial+ sync prefix is now supported for hg.
- triggers _priority class var is now priority; overload with a property if
custom functionality is needed.
--------------------------
pkgcore 0.4.6 (2008-04-29)
--------------------------
- filelist sets (world file for example) are now sorted by atom comparison
rules. ticket #178.
- pquery --restrict-revdep-pkgs and --revdep-pkgs were added: they're
used to first match against possible pkgs, then do the revdep looking for
pkgs that revdep upon those specific versions. Functionality may change,
as may the outputting of it. ticket #179.
- pebuild breakage introduced in 11/07 is corrected; back to working.
- 'info' messages during merging are now displayed by default- new debug
message type was added that isn't displayed by default.
- ebuild domain now accepts triggers configuration directive.
- FEATURES=unmerge-buildpkg was added; this effectively quickpkgs a pkg
before it's unmerged so you have a snapshot of its last state before
it is replaced.
- FEATURES=pristine-buildpkg was added; this is like FEATURES=buildpkg,
but tbzs the pkg prior to any modification by triggers. Upshot of this,
you basically have an unmodified binpkg that can be localized to the merging
host rather then to the builder. Simple example, with this if your main
system is FEATURES=strip, it tucks away a nonstripped binpkg- so that
consumers of the binary repo are able to have debug symbols if they want
them.
- FEATURES=buildsyspkg is now supported.
- FEATURES=buildpkg is now supported.
- the engine used for install/uninstall/replace is now configurable via
engine_kls attribute on the op class.
- dropped exporting of USER='portage' if id is portage. Ancient var setting,
can't find anything reliant on it thus punting it.
- add SunOS to known OS's since its lchown suffices for our needs.
- added eapi awareness to atoms, so that an eapi1 atom only allows the
slot extension for example.
- remove a stray printf from cpy atom; visible only when repository atoms
are in use.
--------------------------
pkgcore 0.4.5 (2008-04-09)
--------------------------
- fix collision unprotect trigger exceptions (typically KeyError).
ticket #165
- correct invalid passing of force keyword down when the repository isn't
frozen. Occasionally triggered user visible tracebacks in pmaint copy.
- portage broke compatibility with pkgcore a while back for our binpkgs-
for some inane reason, portage requires CATEGORY and PF in the xpak
segment. This is being removed from portage in 2.2, but in the interim
pkgcore now forces those keys into the binpkgs xpak for compatibility
with portage.
Shorter version: pmaint copy generated binpkgs work with portage again.
- cbuild/chost/ctarget are available via pquery --attr, and are written to
binpkg/vdb now.
- stat removal work: FEATURES=-metadata-cache reuses existing eclass cache
object, thus one (and only one) scan of ${PORTDIR}/eclass
- metadata, flat_hash, and paludis_flat_list cache formats configuration
arg 'label' is no longer required, and will be removed in 0.5. If they're
unspecified, pkgcore will use location as the place to write the cache at,
else it'll combine location and label.
- cdb, anydbm, sqlite, and sql_template cache backends have been removed
pending updating the code for cache backend cleanups. If interested in
these backends, contact ferringb at irc://freenode.net/#pkgcore .
--------------------------
pkgcore 0.4.4 (2008-04-06)
--------------------------
- merging/replacing performance may be a bit slower in this release- the level
of stats calls went up in comparison to previous releases, with several
duplicates. This will be corrected in the next release- releasing in the
interim for bugfixes this version contains.
- add CBUILD=${CBUILD:-${CHOST}}; couple of odd ebuilds rely on it despite
being outside of PMS.
- protective trigger was added blocking unmerging of a basic set of
directories/syms; mainly /*, and /usr/*.
- when a merge passes through a symlink for path resolution, that sym is
no longer pulled in as an entry of that pkg. Originally this was done for
protective reasons, but it serves long term as a way to inadvertantly hold
onto undesired junk from the users fs, and opens the potential to unmerge
system/global symlinks when that pkg/slot's refcount hits zero.
- detection, and predicting merge locations for syms was doing an unecessary
level of stat calls; this has been reduced to bare minimum.
- ticket 159; force an realpath of CONTENTS coming from the vdb due to other
managers not always writing realpath'd entries, thus resulting in occasional
misidentification of what to remove.
- pkgcore.util.parserestrict no longer throws MalformedAtom, always
ParseError. Removes ugly commandline tracebacks for bad atoms supplied
to pmerge.
- ticket 158; honor RSYNC_PROXY for rsync syncer.
Thanks to user Ford_Prefect.
- pmerge -N now implies --oneshot.
- correct a flaw in tbz2 merging where it repeatedly try to seek in the bz2
stream to generate chksums, instead of using the on disk files for
chksumming.
- pmaint regen w/ > 1 thread no longer throws an ugly set of tracebacks upon
completion.
- binpkg repositories now tell you the offending mode, and what is needed
to correct it. No longer cares if the specified binpkg base location is
a symlink also.
- pmaint --help usage descriptions are far more useful now.
--------------------------
pkgcore 0.4.3 (2008-03-31)
--------------------------
- correct a corner case where a users bash_profile is noisy, specifically
disable using $HOME/.bashrc from all spawn_bash calls.
- USE=-* in make.conf support is restored. ticket 155.
- minor tweak to package.keywords, package.use, and package.license support-
-* is properly supported now. Following portage, if you're trying to
match keywords for a pkg that are '-* x86', you must match on x86.
- pquery --attr use output for EAPI=1 default IUSE is significantly less
ugly.
- ticket #150. EAPI1 IUSE defaults fixups. stacking order is that default
IUSE is basically first in the chain, so any configuration (global, per
pkg, etc), will override if possible. Effectively, this means a default
IUSE of "-foon" is pointless, since there is no earlier USE stack to
override.
- pkgcore.ebuild.collapsed_restrict_to_data api was broken outside of a
major version bump- specifically pull_cp_data method was removed since
the lone consumer (pkgcore internals) doesn't need it, and the method
is semi dangerous to use since it only examines atoms.
--------------------------
pkgcore 0.4.2 (2008-03-30)
--------------------------
- correct handling of ebuilds with explicit -r0 in filename, despite it being
implicit. Thanks to rbrown for violating gentoo-x86 policy out of the blue
w/ an ebuild that has -r0 explicit in the filename for smoking out a bug
in pkgcore handling of it. Ebuild since removed, but the KeyError issue
is corrected. (keep the bugs coming)
- minor performance optimization to binpkg merging when there is a large #
of symlink rewrites required.
- ticket #153; restore <0.4 behaviour for temporal blocker validation, rather
then invalidly relying on the initial vdb state for blocker checks. Fixes
resolution/merging of sys-libs/pam-0.99.10.0
--------------------------
pkgcore 0.4.1 (2008-03-20)
--------------------------
- add tar contentsSet rewriting; tarballs sometimes leave out directories,
and don't always have the fully resolved path- /usr/lib/blah, when
/usr/lib -> /usr/lib64 *should* be /usr/lib64/blah, but tar doesn't force
this. Due to that, can lead to explosions in unpacking- this is now fixed.
- pquery --attr inherited was added; this feature may disappear down the
line, adding it meanwhile since it's useful for ebuild devs.
- adjust setup.py so that man page installation properly respects --root
- correct a corner case where a package name of 'dev-3D' was flagged as
invalid.
------------------------
pkgcore 0.4 (2008-03-18)
------------------------
- resolver fixes: vdb loadup wasn't occuring for old style virtuals for
rdepend blockers, now forces it. It was possible for a node to be
considered usable before its rdepends blockers were leveled- now those
must be satisfied before being able to dep on the node.
- resolver events cleanup; pmerge now gives far better info as to why a
choice failed, what it attempted to get around it, etc.
- multiplex trees now discern their frozen state from their subtrees,
and will execute the repo_op for the leftmost subtree if unfrozen.
- pquery --attr eapi was added.
- ticket 94; package.provided is now supported fully both in profiles,
and in user profile (/etc/portage/profile).
- ticket 116; ignore empty tarfile exception if the exception explicitly
states empty header.
- utter corner case compatibility- =dev-util/diffball-1.0-r0 is now the
same as =dev-util/diffball-1.0 .
- convert FETCHCOMMAND/RESUMECOMMAND support to execute spawn_bash by
default instead of trying to cut out shell; this kills off the occasional
incompatibility introduced via portage supplying make.globals.
- FEATURES=sfperms is now a trigger instead of a dyn_preinst hook.
Faster, cleaner, etc.
- delayed unpacking of binpkgs has been disabled; occasionally can lead to
quadratic behaviour in contents accessing, and extreme corner case trigger
breakages. Will be re-enabled once API has been refactored to remove
these issues.
- FEATURES=multilib-strict was converted into a trigger. Tries to
use the python bindings for file first (merge file[python]), falling
back to invoking file. Strongly suggested you have the bindings- fair bit
faster. Finally, verification now runs for binpkgs also.
- bug 137; symlink on directory merging failures where pkgcore would wipe
files it had just installed invalidly.
- correct issue in offset rewriting (was resetting new_offset to '/')-
should only be api visible, no existing consumers known.
- ebuild env lzma unpack support was broken; fixed (ticket 140).
- Additional debug output for pmerge.
- Further extending PortageFormatter to sanely handle worldfile highlights
and show repos with both id and location
- Ticket 132: Portage Formatter supports real portage colors now,
thanks to agaffney for getting the ball rolling
- Masked IUSEs were not treated right in all cases, thanks to agaffney
for report and help testing
- diefunc tracebacks beautified
--------------------------
pkgcore 0.3.4 (2007-12-26)
--------------------------
- IUSEs were filtered, unstated were not respected though breaks with
current portage tree, so re-enabling.
Also sanely handle -flag enforcing now and kill hackish code for it.
--------------------------
pkgcore 0.3.3 (2007-12-14)
--------------------------
- IUSE defaults are respected now, so EAPI=1 implemented
- Write slotted atoms to worldfile as portage supports this now
- Sync up with portage; add support for lzma to unpack- mirror r7991 from
portage.
--------------------------
pkgcore 0.3.2 (2007-11-03)
--------------------------
- ticket 190746 from gentoo; basically need to force the perms of first level
directory of an unpacked $DISTDIR to ensure it's at least readable/writable.
fixes unpacking of app-misc/screen-4.0.3_p20070403::gentoo-x86 .
- ticket 118; if -u, don't add the node to world set.
- correct a corner case in python implementation of cpv comparison (just
python, cpy extension handles it correctly); bug 188449 in gentoo, basically
floats have a limited precision, thus it was possible to get truncation in
comparison with specially crafted versions.
- handle EOF/IOError on raw_input (for --ask) a bit more gracefully, ticket
108.
- cd to ${WORKDIR} if ${S} doesn't exist for test/install phases; matches
change in portage behaviour.
- Now require snakeoil version 0.2 and up- require new capability of
AtomicWriteFile, ability to specify uid/gid/perms. Via that, fixes ticket
109 (umask leaking through to profile.env).
- the 'glsa' pkgset is now deprecated in favor of 'vuln'; will remain
through till 0.4 (ticket #106).
- ticket 105/96; fix via andkit, basically a bug in einstall lead to
extra einstall opts getting dropped instead of passed through.
- compatibility fix for lha unpacking for nwere versions of lha.
- emake now invokes ${MAKE:-make}, instead of make- undocumented ebuild
req, see bug 186598 at bugs.gentoo.org.
- pmerge --verbose is now pmerge -F portage-verbose-formatter
- Stop installing pregen symlink; functionality moved to pmaint regen.
- 'pmerge --domain' was added; basically is a way to specify the domain to
use, else usees the configuration defined default domain.
- new ebuild trigger to avoid installing files into symlinked dir (get_libdir
is the friend to fix a common /usr/lib -> /usr/lib64 bug), ticket 119
--------------------------
pkgcore 0.3.1 (2007-06-27)
--------------------------
- ticket 86; export FILE for portage_conf FETCHCOMMAND/RESUMECOMMAND support,
convert from spawn_bash to spawn, add some extra error detection
- Correct cleanup of unknown state ebp processors; basically discard them if
they fail in any way. Cleanup inherit error msg when under ebd.
- Correct permission issue for vdb virtuals cache.
- ticket 84; rework overlay internals so that sorting order can't accidentally
expose a version masked by a higher priority repository in an overlay stack.
------------------------
pkgcore 0.3 (2007-06-06)
------------------------
- pregen has moved into pmaint regen.
- Several example scripts that show how to use the pkgcore api have been
added, among others:
- repo_list (lists repos and some of their attributes)
- changed_use (a poor man's --newuse)
- pkg_info (show maintainers and herds of a package)
- pclean (finds unused distfiles)
- Pkgcore now supports several different output formats for the buildplan.
Portage and Paludis emulation are the notable formats, though plan
category/package and the original output are also available as options.
- Portage formatter is now the default.
- Pkgcore formatter (no longer default) output was simplified to be less
noisy.
- Large grammar fixes for documentation.
- Miscellaneous pylint cleanups, including whitespace fixes.
- Most of pkgcore.util.* (mainly the non pkgcore-specific bits) have been
split out into a separate package, snakeoil. This includes the relevant cpy
extensions.
- Triggers are quieter about what they're doing by default.
- /etc/portage/package.* can now contain unlimited subdirectories and
files (ticket 71).
- livefs functionality is no longer accessible in pkgcore.fs.*; have to access
pkgcore.fs.livefs.*
- old style virtual providers from the vdb are now preferred for newer versions
over profile defined defaults.
- added profile package.use support.
- ticket 80; $REPO_LOC/profiles/categories awareness; if the file exists, the
repo uses it by default.
- resolver refactoring; report any regressions to ferringb. Integrated in
events tracking, so that the choices/events explaining the path the resolver
took are recorded- via this, we actually have sane "resolution failed due to"
messages, adding emerge -pt/paludis --show-reasons is doable without hacking
the resolver directly, spotting which pkgs need to be unmasked/keyworded for
a specific request to be satisfied, etc, all of it is doable without having
to insert code directly into the resolver. Anyone interested in adding these
featues, please talk to harring.
Worth noting, the events api and data structs for the resolver are still a
work in process- meaning the api is not guaranteed to stay stable at least
till the next minor release.
- old style virtual pkgs are no longer combined into one with multiple
providers; aside from simplifying things, this fixes a few annoying resolution
failures involving virtual/modutils.
---------------------------
pkgcore 0.2.14 (2007-04-08)
---------------------------
- correct potential for profile path calculation screwup.
- refactor isolated-functions.sh so all internal vars are prefixed with
PKGCORE_RC\_; shift vars filter to PKGCORE_RC\_.* instead of RC\_.* .
If you were having problems building courier-imap (RC_VER variable),
this fixes it.
- better interop with paludis VDB environment dumps.
- treat RESTRICT as a straight depset for UI purposes (minor, but looks
better this way).
---------------------------
pkgcore 0.2.13 (2007-03-30)
---------------------------
- Added '~' to allowed shlex word chars.
- Due to amd64 /lib -> /lib64, change the default policy for sym over
directory merging to allow it if the target was a directory.
---------------------------
pkgcore 0.2.12 (2007-03-29)
---------------------------
- Ensure PackageRestriction._handle_exceptions filters the check down to
just strings; if running pure python, this could trigger a traceback
via the python native native_CPV.__cmp__.
- Tweak python native native_CPV.__cmp__ to not explode if given an instance
that's not a CPV derivative.
- Reorder ||() to use anything matched via the current state graph, aside
from normal reordering to prefer vdb.
- default mode for ensure_dirs is now 0755.
- Work around broken java-utils-2.eclass state handling in
java-pkg_init_paths\_; tries to access DESTTREE in setup phase, which
shouldn't be allowed- fix is temporarily shifting the DESTTREE definition
to pre-ebuild sourcing so that it behaves.
Will be removed as soon as the eclass behaves is fixed.
---------------------------
pkgcore 0.2.11 (2007-03-27)
---------------------------
- COLON_SEPARATED, not COLON_SEPERATED for env.d parsing.
- fix ticket #74; "x=y@a" should parse out as 'y@a', was terminating
early.
---------------------------
pkgcore 0.2.10 (2007-03-27)
---------------------------
- FEATURES=ccache now corrects perms as needed for when userpriv toggles.
- shift PORTAGE_ACTUAL_DISTDIR and DISTDIR definition into the initial env,
so that evil git/subversion/cvs class can get at it globally.
- pquery --attr repo now returns the repo_id if it can get it, instead of
the str of the repo object.
- OR grouppings in PROVIDES was explicitly disabled; no ebuild uses it, nor
should any.
--------------------------
pkgcore 0.2.9 (2007-03-19)
--------------------------
- convert use.mask/package.use.mask, use.force/package.use.force stacking
to match portage behaviour- basically stack use.* and package.* per profile
node rather then going incremental for use.*, then package.* . If you were
having issues with default-linux/amd64/2006.1 profile and sse/sse2 flags for
mplayer, this ought to correct it.
- add USE conditional support to RESTRICT.
- fix noisy regression from 0.2.8 for temp declare overriding; if you saw lots
of complaints on env restoration, corrects it. Superficial bug, but rather
noisy.
- Fix a bug for binpkg creation where PROVIDES gets duplicated.
- Bit more DepSet optimizations; specifically collapses AND restriction into
the parent if it is also an AND restriction.
- make --no-auto work correctly for pebuild
- delay DISTDIR setup till unpack phase to prevent any invalid access; also
takes care of a pebuild traceback.
--------------------------
pkgcore 0.2.8 (2007-03-17)
--------------------------
- fix bug so that 6_alpha == 6_alpha0 when native_CPV is in use; only possible
way to have hit the bug is having all extensions disabled (CPY version gets it
right).
- add a trigger to rewrite symlink targets if they point into ${D}
- info trigger now ignores any file starting with '.'; no more complaints about
.keep in info dirs.
- if an ebuild has a non-default preinst and offset merging, a rescan of ${D}
is required- offset wasn't being injected, fixed.
- if offset merging for a binpkg, reuse the original contentsSet class-
this prevents quadratic (worst case) seeking of the tarball via preserving
the ordering.
- if merging a binpkg and a forced decompression is needed, update the
cset in memory instead of forcing a scan of ${D}.
- misc filter-env fixes, cleanup, and tests.
- change var attr (exported/readonly) env storage to better interop with
the others; internally, we still delay the var attr/shopt resetting till
execution.
- misc initialization fixes to syncers for when invoked via GenericSyncer.
If previously layman integration wasn't working for you, should now.
- shift the misc fs property triggers to pre_merge, rather then sanity_check;
sanity_check should be only for "do I have what I need to even do the merge?"
and minimal setup for the op (for example, transfering files into workdir).
Running preinst was occasionally wiping the changes the triggers made, thus
allowing screwed up ebuilds with custom preinst's to slip in a portage gid
for merge.
- fix a corner case for cpy join spotted by TFKyle where length calculation
was incorrect, leading to a trailing null slipping into the calculated
path.
- fix bash parsing for a corner case for empty assigns; literally,
x=
foo='dar'
would incorrectly interpret x=foo, instead of x=''.
--------------------------
pkgcore 0.2.7 (2007-03-04)
--------------------------
- layman configuration (if available) is now read for portage configuration
for sync URI for overlays. tar syncer is currently unsupported; others may
be buggy. Feed back desired (author doesn't use layman). Ticket #11. If
you want it disabled, add FEATURES=-layman-sync .
- another fix for daft tarballs that try to touch cwd.
--------------------------
pkgcore 0.2.6 (2007-03-04)
--------------------------
- make intersecting ~ and =* atoms work again (used by pquery --revdep)
- catch a corner case py2.5 bug where AttributeError bleeds through from
generic_equality.
- Via solars prodding, finished up the remaining bits for ROOT support.
- resolver traceback for if a requested atom is already known as insoluable.
Thanks to kojiro for spotting it.
- misc bash code cleanup.
- PATH protection has been loosened slightly to enable 'weird' eclasses that
are doing global PATH mangling.
- $HOME location for building was shifted into the targeted packages
directory, rather then a shared within $PORTAGE_TMPDIR.
- setgid/setuid triggers now match portage behaviour; -s,o-w mode change.
- trigger warnings are now enabled.
- New default trigger added; CommonDirectoryModes, checks for common
directories (/usr, /etc, /usr/bin, /usr/lib for example) in the merge set,
checking the packages specified modes for them. If not 0755, throws a
warning.
- For directory on directory merging, ensure_perms (default op) was changed
to preserve the existing directories permissions. Generally speaking, this
means that later versions of an ebuild have to use post_inst to correct the
perms if they're incorrect- previously, the new perms/mode were forced on
the existing. Several common ebuilds (openssl for example) will generate
weird modes on common directories however (heavily restricted perms), which
can break things. For the time being, the default is scaled down to the
looser form portage does.
- added man page generation: pquery, pmerge
- pconfig now has a "dump-uncollapsed" command to dump the "raw" config.
- pebuild now supports --no-auto to run just the targeted phase.
- mass expansion of test coverage: pkgcore.restrictions.*,
pkgcore.util.*, pkgcore.ebuild.*
- minor cleanup of pkgcore.test.ebuild.test_cpv to reduce redundant data sets;
total testcase runtime reduction by about a third.
- diverge from unittest.TestCase to provide extra checks for normal asserts-
assertNotEqual for example, checks both __eq__ and __ne__ now to smoke out
any potential oversights in object equality implementation.
- use nsec mtime resolution if available to match python stdlib.
- env var PORTAGE_DEBUG for controlling how much debug info the ebuild env
generates is now PKGCORE_DEBUG; range is the same, 0 (none), 1 (just the
ebuild/eclass), 2 (1 + relevant setup code), 3 (2 + filter-env data),
4 (everything).
--------------------------
pkgcore 0.2.5 (2007-02-19)
--------------------------
- handle corner case in depend cycle processing where a package directly
depends upon itself; fixes processing of sys-devel/libtool specifically.
- for pquery --attr keywords, sort by arch, not by stable/unstable.
- correct misc corner case atom bugs; an intersection bug, miss on an invalid
use dep atom lacking a closure in cpy atom, verification of use chars in
native atom,
- osutils extensions tests, correcting a few cpy differences in behaviour from
native.
- For unpacking a tarball that doesn't have its files in a subdir, tar will
occasionally try to utime the cwd resulting in a failure- uid owner for
WORKDIR was changed to allow tar to do the utime, thus succeed in unpacking.
Only visible for userpriv and with oddball packages, gnuconfig for example.
- Cleanup of a few slow test cases; running the test suite should now be around
25%-33% faster.
--------------------------
pkgcore 0.2.4 (2007-02-16)
--------------------------
- refactoring of trigger implementations- cleanup and tests. Additionally,
eliminate a potential mtime based frace if the underlying fs (or python
version) doesn't do subsecond resolution.
- force FEATURES into the exported ebuild env always.
- for pmerge -p $target, which prefers reuse normally, *still* prefer the
highest versions, just examine vdb first, then nonvdb.
- minor optimization in readlines usage in the backend; kills off a duplicate
stat call.
- if a stale cache entry is detected, and the backend is writable, wipe the
cache entry. Little bit slower when detected, but saves parsing the file
next time around.
--------------------------
pkgcore 0.2.3 (2007-02-12)
--------------------------
- support for ** in package.keywords
- export preparsed SLOT to ebuild env; ebuilds shouldn't rely on this
since it can lead to fun metadata issues, but certain eclasses do.
- fix exporting finalized form of RESTRICT to the build env; ticket 61.
- fix for RESTRICT=fetch to not treat the filename as a uri.
- expose the full make.conf environment to FETCHCOMMAND and RESUMECOMMAND-
ticket 58
- added support for make.conf defined FETCH_ATTEMPTS; max # of unique uris to
attempts per file before giving up, defaults to 10.
- added int_parser type for config instantiation definitions (ConfigHint),
and usual introspection support.
- fix regression limiting satisifiers for depends to installed only in corner
case installed bound cycles; automake/perl specifically trigger this, thus
most folks should have seen it if using -B.
- Better handling of non-ascii characters in metadata.xml.
--------------------------
pkgcore 0.2.2 (2007-01-30)
--------------------------
- The terminfo db is now used for xterm title updates. If title updates
worked in pkgcore 0.2 or 0.2.1 and no longer work in 0.2.2 file a bug and
include the TERM environment variable setting.
- misc fixup for asserts in cpy code when debugging is enabled, and closing
directory fds when corner case error paths are taken (out of memory for
example).
- atoms are picklable now.
- add tests for pmaint copy (quickpkg equivalent), and add
--ignore-existing option to copy just pkgs that don't exist in the
target repo.
- fix pmerge handling of --clean -B for automake and a few other DEPEND level
hard cycles.
--------------------------
pkgcore 0.2.1 (2007-01-24)
--------------------------
- fix corner case for portage configuration support; old system (<=2004)
installations may have /etc/portage/sets/world, which confused pmerges
world updating, leading to writing bad entries. Ticket 54.
- fix issues with distcc/ccache (ticket 55) so that they actually work.
- fix pconfig dump traceback; ticket 56.
------------------------
pkgcore 0.2 (2007-01-22)
------------------------
- glsa pkgset will now include metadata/glsa from overlays.
- pmaint script; tool for --sync'ing, doing quickpkging, moving packages
between repos for repository conversions. General repository maintenance.
- sync subsystem: supports bzr, cvs, darcs, git, mercurial (hg), rsync,
and subversion.
- binpkg repositories now support modification; FEATURES=buildpkg basically
- binpkg contents handling is significantly faster.
- pmerge:
- supports --ask (thanks to nesl247/alex heck)
- pmerge --replace is default now; use --noreplace for original behaviour.
- 'installed' set was added; is a pkgset comprised of all slotted atoms from
the vdb; useful for pmerge -u to enable upgrades of *everything* installed.
- versioned-installed set was added; useful for -e, this set is compromised
of exact version of everything installed.
- added --with-built-depends, -B; resolver defaults to ignoring 'built'
ebuild depends (those from vdb, from binpkgs for example), this option
tells it to update those depends.
- xterm titles
- massive resolver cleanup, and general fixes.
- rewritten plugins system, register_plugins is no longer used.
- paludis flat_list cache read/write support.
- portage flat_list cache write support (cache used for
$PORTDIR/metadata/sync)
- pebuild/pregen/pclone_cache: heavy UI cleanup.
- pquery:
- prettier printing of depends/rdepends/post_rdepends under -v
- print revdep reasons
- now requires an arg always; previously defaulted to '*', which is
still supported but also accessible via --all .
- added --maintainers-email and --maintainers-name; use case insensitive
regex by default for --maintainer style options.
- added repo_id atom extension; see doc/extended-atom-syntax.rst for details.
short version, sys-apps/portage::gentoo would match portage *only* from
`gentoo` repository.
- overlays now combine mirror targets from their parent repository, and
from their own repository data.
- configuration subsystem:
- configuration: lazy section refs were added (lazy_ref), useful for when
the object arguement needs to be instantiated rarely (syncers for
repositories for example).
- mke2fs (literal /etc/mke2fs.conf file) akin configuration format was
added, pkgcore.config.mke2fsformat.config_from_file.
- expanded test coverage.
- merged standalone test runner into setup.py; prefered way of running it is
`python setup.py test` now.
- ongoing portage configuration support additions-
- FEATURES=collision-protect support
- INSTALL_MASK support, FEATURES noinfo, nodoc, and noman support.
- /etc/portage/package.* files can be directories holding seperate files
to collapse
- gnu info regeneration trigger added.
- performance improvements:
- cpython extensions of select os.path.* functionality; 20x boost for what
was converted over (stdlib's posix module is a bit inefficient).
- cpython extension for file io in pkgcore.util.osutils: 7x faster on ENOENT
cases, 4x-5x on actual reading of small files (think cache files). If
iterating over lines of a file, use pkgcore.util.osutils.readlines- again,
faster then standard file object's equivalent- 3x reduction (7.6ms to 2.5ms
for full contents reading).
- partial cpython reimplementation of atom code; mainly parsing, and
critical __getattr__ invocation (2+x faster parse).
- partial cpython reimplementation of depset code; strictly just parsing.
Faster (given), but mainly is able to do optimizations to the depset
cheaply that python side is heavily slowed down by- ( x ( y ) ) becomes
( x y ) for example.
- chunks of restriction objects were pushed to cpython for memory reasons,
and bringing the instantiation cost down as low as possible (the common
restrict objects now are around 1-3us for new instantation, .5 to 1us
for getting a cached obj instead of instantiating).
- bug corrected in base repo classes identify_candidates method; should now
force a full walk of the repo only when absolutely required.
- chksuming now does a single walk over a file for all checksummers,
instead of one walk per checksummer- less disk thrashing, better
performance.
- vdb virtuals caching; massive performance boost via reduced IO. Relies on
mtime checks of vdb pkg directories for staleness detection,
auto-regenerating itself as needed.
- heavy profile code cleanup; should only read each common profile node once
now when loading up multiple profiles (pcheck). Far easier code to read
in addition.
- cache eclass staleness verification now relies on mtime comparison only-
allows for eclasses to move between repos; matches portage behaviour.
- pkgcore.util.caching.*, via __force_caching__ class attr in consumers, can
be used to force singleton instance creation/caching (error if unhashable).
- ebuild support:
- PORTAGE_ACTUAL_DISTDIR was reenabled, thus cvs/svn equivalent ebuilds are
usable once again.
- fixed pkgcore's pkgcore emulation of has_version/best_version matching
behaviour for old style virtuals to match portages (oddity, but ebuilds
rely on the goofy behaviour).
- various fixups to unpack function; should match portage behaviour as of
01/07 now.
- if FEATURES=test, set USE=test; if USE=test has been explicitly masked for
a package, disable src_test run; matches portage 2.1.2 behaviour.
- cleanup build directory, and unmerge directories upon finishing
- filter-env now is accessible directly via python; pkgcore.ebuild.filter_env.
Needs further work prior to being usable for pcheck inspection of ebuilds,
but it's a good start.
--------------------------
pkgcore 0.1.4 (2006-10-24)
--------------------------
- Compatibility with caches written by portage 2.1.2_pre3-r8.
--------------------------
pkgcore 0.1.3 (2006-10-24)
--------------------------
- Always process "|| ( a b )" in the right order.
- Fix disabling a flag in package.use.mask or package.use.force.
--------------------------
pkgcore 0.1.2 (2006-10-10)
--------------------------
- Make filter_env work on hppa (and possibly more architectures) where using
python CFLAGS for this standalone binary does not work.
- Fall back to plain text output if the TERM variable is unsupported.
- Deal with dangling symlinks in binpkg repositories.
- Fix expanding of incrementals (like USE) in make.defaults.
- pquery: support --attr fetchables, handle extra commandline arguments as
-m or --expr restrictions.
- USE deps once again allow setting a flag only if it is actually settable
on the target package.
--------------------------
pkgcore 0.1.1 (2006-10-02)
--------------------------
- hang fix for test_filter_env
- package.keywords fixes: no longer incremental, supports '*' and '~*'
properly
- FEATURES="userpriv" support works again.
- pmerge repository ordering now behaves properly; prefers src ebuilds, then
built pkgs; -k inverts that (previously was semi-undefined)
- binpkg fixes: run setup phase
- replace op fixes: force seperate WORKDIR for unmerge to protect against
env collisions
- loosened category rules: allow _. chars to support cross-dev hack.
- build fixes: make $A unique to avoid duplicate unpacks; force distdir
creation regardless of whether or not the pkg has any stated SRC_URI
(fixes cvs and subversion eclsas usage). Fix sandbox execution to chdir
to an existent directory (sandbox will fail if ran from a nonexistent dir).
- change DelayedInstantiation objects to track __class__ themselves; this
fixes pquery to properly shutdown when ctrl+c'd (previously could swallow
the interrupt due to cpython isinstance swallowing KeyboardInterrupt).
------------------------
pkgcore 0.1 (2006-09-30)
------------------------
- Initial release.
- Sync functionality doesn't yet exist (pmaint script will be in 0.2)
- pmerge vdb modification requires --force; this will be disabled in 0.2,
mainly is in place so that folks who are just looking, don't inadvertantly
trigger an actual modification.
- not all portage FEATURES are implemented; same for QA.
- If overlays are in use, pkgcore may defer to its' seperate cache to avoid
pkgcore causing cache regen for portage (and vice versa); this occurs due
to pkgcore treating overlays as their own repo and combining them at a
higher level; portage smushes them all together thus rendering each subtree
unusable in any standalone fashion.
- pkgcore is far more anal about blocking bad behaviour in ebuilds during
metadata regeneration; tree is clean, but if you do something wrong in
global scope, it *will* catch it and block it.
- EBD; daemonized ebuild.sh processing (effectively), pkgcore reuses old
ebuild.sh processes to avoid bash startup, speeding regen up by roughly
2x.
|