-
Notifications
You must be signed in to change notification settings - Fork 86
/
ChangeLog
15752 lines (9928 loc) · 509 KB
/
ChangeLog
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
2011-06-28 James Antill <[email protected]>
* yum/__init__.py: Bump version to 3.4.3
2011-06-28 James Antill <[email protected]>
* yum/__init__.py: Don't call repo.doSetup() if we've already setup the repos. BZ
717163. Test: yum in @core == has setup. yum rm @core
== hasn't setup.
2011-06-28 James Antill <[email protected]>
* yum/history.py, yum/rpmtrans.py: Disable the rpmtrans chroot workaround. Use exclusive locking in
history. The only downside here appears to be that we get
.sqlite-journal files in /var/lib/yum/history ... which is probably
fine. Also tested fine as a normal user, with read-only access.
2011-06-27 James Antill <[email protected]>
* yummain.py: Change the logging for NFS path problems from debug to
critical.
2011-06-24 Nick Jacek <[email protected]>
* yummain.py: Checks if we have read and write access in the current
directory. If not, chdir to /. BZ 698795
2011-06-23 Zdeněk Pavlas <[email protected]>
* output.py: Make the source xgettext-friendly. xgettext ignores
_(var), so localize literals instead.
2011-06-23 James Antill <[email protected]>
* cli.py: Don't show -c warning, when we've changed it due to
--installroot. BZ 707358.
2011-06-22 James Antill <[email protected]>
* yum/rpmtrans.py: Workaround rpm chroot insanity, so we can use sqlite from
unInstStop() cb. So the problem is that AGAIN, when we log stuff
for installed rpms we do it in _instCloseFile, which is outside the
chroot ... but when we log stuff for erase rpms we do it in
_unInstStop, which is inside the chroot. sqlite will open it's
journal file, which is it has a working path for from outside the
chroot ... being inside the chroot breaks this, which results in
complete failure of everything. Fix is to move out of the chroot,
before we call the history/sqlite APIs, and then move back in again
... basically what rpm does.
2011-06-22 James Antill <[email protected]>
* ChangeLog, yum.spec, yum/__init__.py: Update ChangeLog/version for
3.4.2 release.
2011-06-22 Zdeněk Pavlas <[email protected]>
* output.py: Clean up the 'Transaction summary' report.
2011-06-21 Seth Vidal <[email protected]>
Merge branch 'yum-3_2_X' of
ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X *
'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix
a leaked file descriptor
2011-06-21 Zdeněk Pavlas <[email protected]>
* yum/__init__.py, yum/logginglevels.py: Fix a leaked file
descriptor 'yum.log' is now closed when YumBase instance is GC'd.
Resolves BZ 713924.
2011-06-21 Seth Vidal <[email protected]>
* yum/packages.py: add check to make sure rest in the libc
collapsing is not a single item list.
2011-06-20 Nick Jacek <[email protected]>
* yum/__init__.py: Uses ngettext to pluralise messages produced in
__init__.py. BZ 552317
2011-06-20 Nick Jacek <[email protected]>
* cli.py: Uses ngettext to pluralise messages produced by several
functions in cli.py. BZ 552317
2011-06-20 Nick Jacek <[email protected]>
* output.py: Changes the Transaction Summary so that the plurals are
printed using ngettext. BZ 552317
2011-06-20 James Antill <[email protected]>
* yum/__init__.py: Add message to history redo/undo for when nothing
is done.
2011-06-16 James Antill <[email protected]>
* yum/rpmtrans.py: Turn a name into a txmbr, if we can. Helps erase
filelog/scriptout and history.
2011-06-16 James Antill <[email protected]>
* yum/__init__.py: Add comments on TS_FAILED setting.
2011-06-16 Nick Jacek <[email protected]>
* yum/__init__.py, yum/rpmtrans.py: If verifyTransaction detects
that an install or removal was not successful, it will now set the
output_state of the pkg to TS_FAILED. BZ 661962 For the case of a
removal, since the output_state will be TS_FAILED rather than just
remaining TS_ERASE, yum will now correctly say that the removal
failed instead of saying that the package was removed.
2011-06-16 James Antill <[email protected]>
* yum/update_md.py: Add a __unicode__ to the UpdateNotice object, so
the test code works.
2011-06-14 James Antill <[email protected]>
* yum/__init__.py: Sort the packages, best we can easily, in
searchPackageProvides().
2011-06-13 Nick Jacek <[email protected]>
* yum/__init__.py, yum/depsolve.py: Stops "Finished dependency resolution" from being printed multiple
times when --skip-broken is used. BZ 626569.
2011-06-13 Marcelo Moreira de Mello <[email protected]>
* docs/yum.conf.5: - Fixed small typo at protected_multilib description on yum.conf man
page Hello, This patches fixes a small type at
protected_multilib description on yum.conf man page. Cheers,
Marcelo -- Marcelo Moreira de Mello From: Marcelo Moreira de Mello
<[email protected]> Date: Mon, 13 Jun 2011 16:10:07 -0300 Subject:
[PATCH] Fixed small typo at protected_multilib description at
yum.conf man page
2011-06-13 James Antill <[email protected]>
* yum/__init__.py: Show the correct "duplicate" package for search
without --showduplicates.
2011-06-13 James Antill <[email protected]>
* yum/packages.py: Always sort installed repos. after available
repos.
2011-06-13 James Antill <[email protected]>
* output.py: Show from_repo in matchcallback. Only print "Matched
from" is there is more.
2011-06-08 Nick Jacek <[email protected]>
* docs/yum.8: Updated documentation for the new groups command.
2011-06-08 Nick Jacek <[email protected]>
* yumcommands.py: Remove the unused group command classes.
2011-06-08 Nick Jacek <[email protected]>
* cli.py, yumcommands.py: Adds the Groups command, and removes
individual command classes for grouplist etc. Adds the group summary
function.
2011-06-06 Casey Jao <[email protected]>
* test/complexremovetests.py: Add complex remove tests for new
_remove_old_deps code.
2011-06-06 Casey Jao <[email protected]>
* test/testbase.py: Make FakePackage use a simulated
RPMDBAdditionalDataPackage for yumdb_info.
2011-06-06 Casey Jao <[email protected]>
* yum/__init__.py: Fix _remove_old_deps to deal with chains of
revdeps.
2011-06-06 Seth Vidal <[email protected]>
* po/bn_IN.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po,
po/en_GB.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gu.po,
po/hi.po, po/hu.po, po/id.po, po/id_ID.po, po/it.po, po/ja.po,
po/lt_LT.po, po/mr.po, po/ms.po, po/nb.po, po/pa.po, po/pl.po,
po/pt.po, po/pt_BR.po, po/ru.po, po/sr.po, po/[email protected],
po/sv.po, po/uk.po, po/ur.po, po/yum.pot, po/zh_CN.po, po/zh_TW.po:
yay transifex
2011-06-02 James Antill <[email protected]>
* output.py, yum/__init__.py, yum/packages.py: Create list of
pkgtups we couldn't find, and output them in listTrans.
2011-06-02 James Antill <[email protected]>
* cli.py, shell.py, yummain.py: Return -1 from doTransaction() if
user/GPG fails, diff. text. BZ 586690.
2011-06-02 James Antill <[email protected]>
* yum/transactioninfo.py: Add failed to __init__ of TransData.
2011-06-02 James Antill <[email protected]>
* yum/repos.py: Fix for pulp directly using RepoStorage() without a
YumBase().
2011-06-01 James Antill <[email protected]>
* yum/yumRepo.py: Make empty proxy/proxy_username mean the same as
unset/_none_. BZ 709188.
2011-06-01 John Lau <[email protected]>
* yum/__init__.py: Fix _retrievePublicKey() when called with
repo=None. BZ 709311
2011-05-31 James Antill <[email protected]>
* yum/yumRepo.py: Do the timestamp check the correct way around.
2011-05-31 James Antill <[email protected]>
* yum/yumRepo.py: Fail reverts of repomd.xml when we aren't doing
timestamp checks. BZ 665919.
2011-05-27 James Antill <[email protected]>
* yum/misc.py: Work around RHEL-5 python broken getlocale() call. BZ
708292
2011-05-26 Dennis Gilmore <[email protected]>
* rpmUtils/arch.py: we need to set the basearch on arm hardware to
arm.
2011-05-26 James Antill <[email protected]>
* yum/rpmtrans.py: Do ts_done create at the same time as ts_all, so
it's consistent. BZ 707668.
2011-05-26 Ville-Pekka Vainio <[email protected]>
* yum/__init__.py: Fix unicode problems with grpid Running yum
groupremove with a group name which does not exist and includes
unicode characters raises a UnicodeDecodeError. Pass grpid to
to_unicode before printing it to avoid errors like this.
2011-05-25 James Antill <[email protected]>
* yum/misc.py: Also ignore ENOTDIR in stat_f. BZ 707422
2011-05-25 James Antill <[email protected]>
* yumcommands.py: Show which repo. doesn't have a gpgkey.
2011-05-24 James Antill <[email protected]>
* yum/__init__.py, yummain.py: Don't show depsolve failure messages
for non-depsolving problems. BZ 597336.
2011-05-24 James Antill <[email protected]>
* yumcommands.py: Remove usage of INFO_* from yumcommands, as -q
supresses that. BZ 689241.
2011-05-24 James Antill <[email protected]>
* docs/yum.conf.5: Tweak color docs. again. BZ 672706.
2011-05-24 James Antill <[email protected]>
* yum/__init__.py: Sync. Installed provides return msg, with
available provides return msg.
2011-05-23 James Antill <[email protected]>
* cli.py: Make yum provides nicer for things like "matplotlib" or
yum-config-manager.
2011-05-20 James Antill <[email protected]>
* yum/__init__.py: Don't list the repos. in saved-tx, if we are
doing an rm transaction.
2011-04-29 James Antill <[email protected]>
* yum/__init__.py: Don't use .up object on package install, unless we have to. Huge
perf. gain, now takes ~60% of time to get to y/N choice. 45% when
obsoletes are off. Somewhat ugly workaround needed to get
obsoletes data. Also fixes bug when obsoletes are off and we
install something which obsoletes things (they still need to be
obsoleted, as rpm will do it).
2011-04-27 James Antill <[email protected]>
* yumcommands.py: Add repofile to repolist -v output.
2011-04-26 James Antill <[email protected]>
* docs/yum.8: Try to do a better explanation of how history
undo/redo/rollback work.
2011-05-04 Seth Vidal <[email protected]>
* po/bn_IN.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po,
po/en_GB.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gu.po,
po/hi.po, po/hu.po, po/id.po, po/id_ID.po, po/it.po, po/ja.po,
po/lt_LT.po, po/mr.po, po/ms.po, po/nb.po, po/pa.po, po/pl.po,
po/pt.po, po/pt_BR.po, po/ru.po, po/sr.po, po/[email protected],
po/sv.po, po/uk.po, po/ur.po, po/yum.pot, po/zh_CN.po, po/zh_TW.po:
newest .pot and translations, again
2011-05-04 Seth Vidal <[email protected]>
* po/bn_IN.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po,
po/en_GB.po, po/es.po, po/eu.po, po/fi.po, po/fr.po, po/gu.po,
po/hi.po, po/hu.po, po/id.po, po/id_ID.po, po/it.po, po/ja.po,
po/lt_LT.po, po/mr.po, po/ms.po, po/nb.po, po/pa.po, po/pl.po,
po/pt.po, po/pt_BR.po, po/ru.po, po/sr.po, po/[email protected],
po/sv.po, po/uk.po, po/ur.po, po/zh_CN.po, po/zh_TW.po: merge all
the translations from transifex
2011-05-04 Seth Vidal <[email protected]>
* yum/packages.py: remove a debug print add an explanation of why we
skip libc.so.6()
2011-05-04 Seth Vidal <[email protected]>
* rpmUtils/miscutils.py, yum/packages.py: make sure we use rpm ver
cmp for the sort of the glibc requires when we're doing
collapse_libc_requires. ultimately what's causing:
https://bugzilla.redhat.com/show_bug.cgi?id=701744
2011-04-24 Ville Skyttä <[email protected]>
* etc/yum.bash: Don't do long option splitting within base option
completion. Functions should do the splitting themselves, giving
them better control over when to stop completing if a split
occurred.
2011-04-24 Ville Skyttä <[email protected]>
* etc/yum.bash: Make long option splitting actually work with bash
4+.
2011-04-24 Ville Skyttä <[email protected]>
* etc/yum.bash: Add history info|list|summary completions.
2011-04-24 Ville Skyttä <[email protected]>
* etc/yum.bash: Add history rollback completion.
2011-04-24 Ville Skyttä <[email protected]>
* etc/yum.bash: Completion code cleanups.
2011-04-24 Ville Skyttä <[email protected]>
* etc/yum.bash: Complete history packages-list on available instead
of installed packages.
2011-04-24 Ville Skyttä <[email protected]>
* etc/yum.bash: Use "declare -F" instead of "type" to check if a
bash function exists. Avoids some stat() calls when it doesn't.
2011-04-20 James Antill <[email protected]>
* docs/yum.8, yumcommands.py: Add history rollback command.
2011-04-20 James Antill <[email protected]>
* output.py: Fail quickly for merged transactions of 123..xyz etc.,
which are invalid.
2011-04-20 James Antill <[email protected]>
* output.py: Allow "last" usage in merged transactions.
2011-04-23 Ville Skyttä <[email protected]>
* etc/yum.bash: Ignore path like completions internally in
_yum_list, add .* to ignored globs.
2011-04-20 James Antill <[email protected]>
* ChangeLog, yum.spec, yum/__init__.py: Update changelog and
version, for 3.4.1
2011-04-19 James Antill <[email protected]>
* yum/rpmsack.py: Fix forced umask settings for yumdb/etc., 0 =>
022.
2011-04-19 James Antill <[email protected]>
* yumcommands.py: Don't show first url for mirrors, if we are using
baseurl. BZ 697885.
2011-04-15 James Antill <[email protected]>
* ChangeLog: Update changelog
2011-04-14 James Antill <[email protected]>
* docs/yum.8, docs/yum.conf.5, output.py, yum/config.py: Add history_list_view, and change default to single-user-commands.
BZ 692780. users = display users (old behaviour).
commands = display cmdline. single-user-cmds = display
cmdline if only a single user, and >= 50% of
entries have a cmd line ...also adds documentation to yum.conf and
yum.
2011-04-14 James Antill <[email protected]>
* Makefile: Add "ChangeLog" as a symonym to changelog.
2011-04-14 James Antill <[email protected]>
* test/release.sh: Add "make check" to release.sh.
2011-04-14 James Antill <[email protected]>
* Makefile: Fixup 'make archive', so it doesn't include random files
in my dir.
2011-04-14 James Antill <[email protected]>
* test/release.sh, yum.spec, yum/__init__.py: Final update before
release, change version etc.
2011-04-14 James Antill <[email protected]>
* yumcommands.py: Don't spam usage info. for missing arguments, as
we don't for bad commands.
2011-04-14 James Antill <[email protected]>
* cli.py: Fix output for: grouplist abcd
2011-04-14 James Antill <[email protected]>
* yum/rpmsack.py: umask 0777 is "empty", use umask 0 for "full".
2011-04-14 James Antill <[email protected]>
* cli.py: Work around Panu's change for a single TS, breaks for
reinstalls.
2011-04-14 James Antill <[email protected]>
* yum/rpmsack.py: Fix dropCachedDataPostTransaction() for reinstall
packages. BZ 696720.
2011-04-14 James Antill <[email protected]>
* test/release.sh: Add release testing script.
2011-04-13 James Antill <[email protected]>
* yum/rpmsack.py: Work around umask/permission problems, for yumdb
and rpmdb-index data.
2011-04-11 James Antill <[email protected]>
* docs/yum.conf.5: Document basename checking of ssl cert. files. BZ
695427.
2011-04-11 James Antill <[email protected]>
* yum/__init__.py: Do basename checking of ssl cert. files. BZ
695427.
2011-04-12 Ville Skyttä <[email protected]>
* etc/yum.bash: Use += to append to arrays and strings.
2011-04-08 James Antill <[email protected]>
Merge branch 'yum-3_2_X' of
ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X *
'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum:
Avoid unneeded file/dir/ghost list lookups and list concat when
dumping deps as XML. Avoid unneeded returnFileEntries() and list
concat for provides_for file deps. Fix _dump_requires() docstring.
Revert "Allow plugins to signal exit status, bump plugin API version
to 2.7." Allow plugins to signal exit status, bump plugin API
version to 2.7. Fix bugs in the skip-broken code, this should fix
some of the weird cases where skip-broken fails today
2011-04-07 James Antill <[email protected]>
* cli.py: Make -- work with firstParse, without breaking other options. BZ
694394.
2011-04-07 Ville Skyttä <[email protected]>
* yum/packages.py: Avoid unneeded file/dir/ghost list lookups and
list concat when dumping deps as XML.
2011-04-07 Ville Skyttä <[email protected]>
* yum/packages.py: Avoid unneeded returnFileEntries() and list
concat for provides_for file deps.
2011-04-07 Ville Skyttä <[email protected]>
* yum/packages.py: Fix _dump_requires() docstring.
2011-04-07 Ville Skyttä <[email protected]>
* yum/plugins.py, yummain.py: Revert "Allow plugins to signal exit
status, bump plugin API version to 2.7." This reverts commit
d14bdfe42073859f4c28476e4394e466047c3bfb. (Accidentally pushed from
wrong local branch, oops.)
2010-11-05 Ville Skyttä <[email protected]>
* yum/plugins.py, yummain.py: Allow plugins to signal exit status,
bump plugin API version to 2.7. Useful for example for
downloadonly, BZ 531323.
2011-03-31 Tim Lauridsen <[email protected]>
* test/skipbroken-tests.py, yum/__init__.py, yum/depsolve.py: Fix
bugs in the skip-broken code, this should fix some of the weird
cases where skip-broken fails today
2011-04-01 James Antill <[email protected]>
* cli.py: Make -- work with firstParse. Eg. "install -- emacs
-emacs"
2011-04-01 James Antill <[email protected]>
* cli.py: Don't display the 'Ignore option' warning with --version.
BZ 692866.
2011-03-30 James Antill <[email protected]>
* test/simpleupdatetests.py, test/testbase.py, yum/packageSack.py:
Add tests for update-to/upgrade-to, and fix generic code so tests
work.
2011-03-30 James Antill <[email protected]>
* docs/yum.8: Add docs for update-to/upgrade-to, and explain
update/upgrade behaviour.
2011-03-30 James Antill <[email protected]>
* cli.py, yum/__init__.py, yumcommands.py: Add update-to and
upgrade-to commands, as "hidden" alias for update/upgrade.
2011-03-29 Ville Skyttä <[email protected]>
* etc/yum.bash: Avoid some "yum list" invocations on strings
starting with ~.
2011-03-29 Ville Skyttä <[email protected]>
* etc/yum.bash: Trivial cleanups.
2011-03-29 Ville Skyttä <[email protected]>
* etc/yum.bash: Add distro-sync full|different completion.
2011-03-29 James Antill <[email protected]>
* yum/__init__.py: Tweak "group X has no pkgs." warning, try to deal
with cond. pkgs. BZ 655281
2011-03-25 James Antill <[email protected]>
* docs/yum.8: Add "distro-sync full", docs.
2011-03-25 James Antill <[email protected]>
* cli.py: Add "distro-sync full", which will reinstall packages due
to checksums.
2011-03-25 James Antill <[email protected]>
* yummain.py: Add Errors to front of YumBaseError, too many
spellings of the same thing :(
2011-03-15 James Antill <[email protected]>
* docs/yum.8, output.py: Add sorts to deplist output, and add docs.
2011-03-15 James Antill <[email protected]>
* output.py: Sort the pkgs. in depListOutput, also only print the
latest unless -v.
2011-03-15 James Antill <[email protected]>
* cli.py: Use --showduplicates in deplist, don't reoutput pkgs. each
time around loop.
2011-03-14 James Antill <[email protected]>
Merge branch 'yum-3_2_X' of
ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X *
'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: add
'available' to yum help list output thx to Robert Day for pointing
this out.
2011-03-14 James Antill <[email protected]>
* output.py: Add saved_tx to default_addons, for history info
output.
2011-03-11 James Antill <[email protected]>
* yummain.py: Commit warn_checks change.
2011-03-11 Seth Vidal <[email protected]>
* yumcommands.py: add 'available' to yum help list output thx to
Robert Day for pointing this out.
2011-03-10 James Antill <[email protected]>
* yum/__init__.py: Don't update-install same version diff. arch
local pkgs.
2011-03-10 James Antill <[email protected]>
* cli.py: Fix RHEL-5 yum-utils/yumdownloader, when using 3.2.29+.
2011-03-10 James Antill <[email protected]>
* yum/config.py: Deal with yumvar interpreted values, like baseurl.
2011-03-09 James Antill <[email protected]>
* yummain.py: Catch PackageSackError from warn checks, BZ 634595.
2011-03-07 James Antill <[email protected]>
* docs/yum.8: Document --installroot a bit more, let people know
about --releasever=/.
2011-03-05 Tim Lauridsen <[email protected]>
* test/skipbroken-tests.py, yum/depsolve.py: Add a unit test to make
skip-broken go into endless loop when an installed package conflict
with an update. Fix the cause by in depsolve by putting the
conflicting po into the problem tuple, so skip-broken knows what to
remove from the transaction. Also show the full package in the
conflict message and not just the name.
2011-02-25 Panu Matilainen <[email protected]>
* cli.py: Enable the new callback mode for yum itself API users
should be converted one-by-one to the new mode...
2011-02-25 Panu Matilainen <[email protected]>
* yum/depsolve.py, yum/rpmtrans.py: Add a new opt-in callback mode
where only txmbr is used as the key We really only want the txmbr
in the key, everything else can be reached through it. This avoids
copying any data around as txmbrs reside in memory anyway, so the
key is just a cheap reference to what we already have. With the new
key -> txmbr helper in the callback, this is truly trivial to handle
there. The new mode makes life in the callback somewhat easier and
saves gobs of memory.
2011-02-25 Panu Matilainen <[email protected]>
* yum/rpmtrans.py: Unify callback key guessworks into helper
function Add an internal helper method to deal with the changing
key type, and locate the associated txmbr object when possible. We
can't find it on erasures, but we always have a name so return
(name, txmbr) tuples to simplify life for callers.
2011-02-25 Panu Matilainen <[email protected]>
* yum/rpmtrans.py: Eliminate linear search for package names in
callback We only care if the name has been seen so a set works for
the purpose just as well and is faster.
2011-02-24 Panu Matilainen <[email protected]>
* yum/rpmtrans.py: Remove unnecessary "magic number" test
RPMCALLBACK_TRANS_START is only issued once. That "bytes" happens to
be a magic value of 6 is just an artifact of truly ancient rpm
versions from last century issuing RPMCALLBACK_TRANS_START more than
once.
2011-02-24 Panu Matilainen <[email protected]>
* yum/rpmtrans.py: Simplify callback file open/close There's never
more than one active file descriptor at a time so no need to collect
them to a dict, remove now unneeded _makeHandle(). Also use a python
file object and return its .fileno() instead of the lowlevel
os-routines.
2011-02-24 Panu Matilainen <[email protected]>
* yum/depsolve.py: Revert "Don't keep full headers in memory during
transaction" This reverts commit
3302369486dc07edc2428c616ed2b8843562f615. The callback key isn't as
contained within the callback classes as I'd hoped, various places
are testing isinstance(h, rpm.hdr) etc. Since changing the callback
style is an incompatible change, it needs to be an opt-in feature
enabled by callers who are ready for it. And since its going to be
incompatible, we can do better than copy data around.
2011-02-21 James Antill <[email protected]>
* yum/__init__.py: Allow only some GPG keys to be installed. BZ
606644.
2011-02-21 James Antill <[email protected]>
* yum/__init__.py: The kernel packages are special, so skip normal
processing. BZ 678969
2011-02-21 Ricky Zhou <[email protected]>
* yum/packages.py: Remove undefined variable (done in
_RPMVerifyPackageFile). BZ 671198.
2011-02-21 James Antill <[email protected]>
* yum/packages.py, yum/rpmsack.py: Don't preload
summary/desc/url/source, also _needed_ for pkgtup only pkgs.
2011-02-21 James Antill <[email protected]>
* yum/rpmsack.py: Don't cache the hdr, it's just not measurable
speed wise and they are BIG.
2011-02-21 Panu Matilainen <[email protected]>
* cli.py, rpmUtils/transaction.py, yum/__init__.py: Move
yum-specific ts.check() wrapper back to YumBase private function
This essentially reverts commit
c54c9082d702b6ba45620ecf3ca5834b9b104543 which inapproppriately
dragged yum imports into rpmUtils space, causing recursive imports
and breakage for other users.
2011-02-18 James Antill <[email protected]>
* yumcommands.py: Pass any check-update arguments to "list
obsoletes".
2011-02-18 James Antill <[email protected]>
* yum/misc.py: Workaround stupid len() assert in 32bit python.
2011-02-18 James Antill <[email protected]>
* yum/__init__.py: Add workaround for rhnplugin repos. setup, BZ
678043.
2011-02-15 James Antill <[email protected]>
* yum/__init__.py: Fix printing the obsoleters message, BZ 677666. Happened due to
the cleanup in 94d742bf395cc565cf3a0dca138608a9296b1303 giving us a
bad "continue".
2011-02-17 Panu Matilainen <[email protected]>
* yum/rpmsack.py: Avoid unwanted header loads from
RPMInstalledPackage() __getattr__() At least hasattr() calls for
_cache_prco_names_* and _prco_lookup were causing headers to be
loaded when not wanted at all, causing headers for all to-be updated
packages to be kept in memory throughout the entire transaction.
2011-02-17 Seth Vidal <[email protected]>
* yum/parser.py: steps around
https://bugzilla.redhat.com/show_bug.cgi?id=678301 in general
though if we have a corrupted .repo file we error out and report it.
2011-02-17 Panu Matilainen <[email protected]>
* yum/depsolve.py: Don't keep full headers in memory during
transaction The open/close file callbacks only need NEVRA
information in the "key". Copy the necessary bits into a regular
dict and pass that instead of the entire header, the callback wont
even know the difference as the header behaves like a dict. Saves
(tens of) megabytes of memory on large transactions.
2011-02-16 Seth Vidal <[email protected]>
* cli.py: add rpmdb_only= option to _checkMaybeYouMeant() so we can
make sure remove foo doesn't suck down the repodata when it doesn't
need to
2011-02-15 Panu Matilainen <[email protected]>
* yumcommands.py: Unbreak checkGPGKey() repo.gpgkey is a list, not
a string, since at least 2005
2011-02-15 Panu Matilainen <[email protected]>
* yum/rpmsack.py: Use _get_packages() instead of ts.dbMatch() in
rpmsack where possible Deal with gpg-pubkey filtering and
auto_close centrally, eliminating the possibility of accidentally
leaving zombie rpmdb iterators behind and also reducing code
duplication.
2011-02-15 Panu Matilainen <[email protected]>
* yum/rpmsack.py: Eliminate long dead _header_from_index() internal
helper
2011-02-15 Panu Matilainen <[email protected]>
* yum/rpmsack.py: Generalize rpmsack _all_packages() helper to
accept dbMatch arguments Rename to _get_packages() and accept
arguments to be passed to dbMatch(), adjust callers.
2011-02-15 Panu Matilainen <[email protected]>
* rpmUtils/transaction.py: Support additional match patterns in a
single call to ts.dbMatch() Rpm-level dbmatch iterator requires
additional mi.pattern() calls for specifying extra match patterns.
Hide this behind the ts wrapper, dbMatch() now optionally takes
extra patterns as list of (tag, type, pattern) tuples.
2011-02-14 Seth Vidal <[email protected]>
* yum/__init__.py: name it 'saved_tx' so james doesn't misread it
like an old man.
2011-02-14 Seth Vidal <[email protected]>
* yum/__init__.py: store our yum saved transaction file content to
the the history addon data for this transaction.
2011-02-10 James Antill <[email protected]>
* yum/update_md.py: Fix recursion problem, with safe_iterparse.
2011-02-10 James Antill <[email protected]>
* yum/update_md.py: Fix identifier typo.
2011-02-10 Panu Matilainen <[email protected]>
* cli.py: Use the same transaction set all the way through Saves
another round of re-populating transactions, bringing it down to
just one. Also move ordering earlier so we can drop unused memory
before the test-transaction already.
2011-02-10 Panu Matilainen <[email protected]>
* cli.py: Tell rpm to release memory it wont need for the
transaction Calling ts.clean() releases memory used by dependency
checks and ordering. Depending on the transaction size, this can be
tens of megs. And yes its dumb that callers need to bother with such
issues...
2011-02-09 Panu Matilainen <[email protected]>
* rpmUtils/transaction.py: Save and restore original transaction
flags in wrapper test() method ...and here lies the key to the
mystery of yum needing to repopulate the transaction after a
test-run, doh :)
2011-02-09 Panu Matilainen <[email protected]>
* rpmUtils/transaction.py, yum/rpmtrans.py: Make transaction
scriptFd setting less voodooish In older rpm versions ts.scriptFd
is an invisible write-only pseudo-attribute hack, so __getattr__()
tricks in the transaction wrapper wont work for it. Add a new
wrapper method for setting it to make it less gruesome, accept any
file-like object as the fd argument.
2011-02-09 Panu Matilainen <[email protected]>
* rpmUtils/transaction.py: Remove cruft from transaction wrapper
With newer rpm versions these would just raise AttributeErrors, in
older versions they are broken to various degrees and yum never used
them for anything anyway.
2011-02-09 Panu Matilainen <[email protected]>
* cli.py, yum/__init__.py, yum/config.py, yummain.py: Make
ts.check() unconditional + adjust related messages ts.check() is
not really an optional call, as there are dependencies which yum
does not check for (notably rpmlib() dependencies). Always call
ts.check(), looking at the return values.
2011-02-09 Panu Matilainen <[email protected]>
* cli.py, rpmUtils/transaction.py, yum/__init__.py: Move
_run_rpm_check_debug() functionality to the ts wrapper check()
Nothing in yum cares for the dependency-tuples-of-doom that the
rpm-level ts.check() returns, having this in transaction wrapper
check() method seems like a more sensible place than in yum base
class with a funny name
2011-02-09 Panu Matilainen <[email protected]>
* cli.py, yum/__init__.py: Eliminate an unnecessary round of
transaction re-population Initialize + populate the transaction set
to be used for the test-run before calling rpm_check_debug to let
them use the same set, avoiding one round of the fairly expensive
re-population of the entire transaction.
2011-02-04 James Antill <[email protected]>
* yum/update_md.py: Hide invalid XML errors for updateinfo, BZ
663378
2011-01-29 James Antill <[email protected]>
* output.py: Show from_repo in history output, if available.
2011-02-03 Seth Vidal <[email protected]>
* yum/packages.py: make sure we write out the sourcerpm tag even if
it is empty b/c yum 2.4.X and OLD y-m-p freak out otherwise
createrepo ticket # 12
2011-01-26 James Antill <[email protected]>
* docs/yum.conf.5: Make the documentation for color in yum.conf
slightly better.
2011-01-25 Ville Skyttä <[email protected]>
* etc/yum.bash: Add history repeat completion.
2011-01-25 Seth Vidal <[email protected]>
Merge branch 'yum-3_2_X' of
ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X *
'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum:
Fully drop the rpmdb cache if the transaction failed, or was a test.
Update docs about history packages-list. Show error message when
pkgs-list is given packages, but doesn't match.
2011-01-25 James Antill <[email protected]>
* yum/__init__.py: Fully drop the rpmdb cache if the transaction
failed, or was a test.
2011-01-24 James Antill <[email protected]>
* docs/yum.8: Update docs about history packages-list.
2011-01-24 James Antill <[email protected]>
* output.py: Show error message when pkgs-list is given packages,
but doesn't match.
2011-01-25 Seth Vidal <[email protected]>
* yum/__init__.py: setup the _repos_persistdir in _getConfig b/c of
how local repos are setup by repoquery and other tools. fixes rh
bug: 672588
2011-01-22 Seth Vidal <[email protected]>
* yum/__init__.py: when we import CA keys - write out the keyid of
the ones the user has agreed to then if we have the same ca key for
multiple repos we don't constantly reprompt the user
2011-01-21 James Antill <[email protected]>
* yumcommands.py: Show the "first" baseurl in repolist -v (and the
number of other urls).
2011-01-19 James Antill <[email protected]>
* yum/__init__.py: Don't traceback if we haven't setup the ts save
file (anaconda). BZ 670784.
2011-01-16 Ville Skyttä <[email protected]>
* etc/yum.bash: Update conditional use of upstream bash-completion
stuff to newer version.
2011-01-14 Tim Lauridsen <[email protected]>
* test/skipbroken-tests.py: fix skipbroken test (Sorry Seth)
2011-01-14 James Antill <[email protected]>
* yum/__init__.py: Don't try to lock as a normal user, if we are
using root's cachedir.