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
|
python-apt (0.7.93) UNRELEASED; urgency=low
[ Julian Andres Klode ]
* Merge debian-sid and debian-experimental.
* Add a tutorial on how to do things which are possible with apt-get,
like apt-get --print-uris update (cf. #551164).
* Build for Python 2.5, 2.6 and 3.1; 2.6 and 3.1 hit unstable on Jan 16.
- Use DH_PYCENTRAL=nomove for now because include-links seems broken
* Merge lp:~forest-bond/python-apt/cache-is-virtual-package-catch-key-error
- Return False in Cache.is_virtual_package if the package does not exist.
* Make all class-level constants have uppercase names.
* Rewrite apt.progress.gtk2 documentation by hand and drop python-gtk2
build-time dependency.
* aptsources:
- Make all classes subclasses of object.
- distro.py: Support Python 3, decode lsb_release results using utf-8.
* apt/progress/base.py:
- Fix some parsing of dpkg status fd.
* apt/progress/text.py:
- Replace one print statement with a .write() call.
[ Colin Watson ]
* apt/progress/__init__.py:
- Fix InstallProgress.updateInterface() to cope with read() returning 0
on non-blocking file descriptors (LP: #491027).
[ Michael Vogt ]
* apt/cache.py:
- improved docstring for the cache
- add "enhances" property
* data/templates/Ubuntu.info.in:
- add lucid
* python/cache.cc:
- add UntranslatedDepType attribute to DependencyType
- add DepTypeEnum that returns a value from
{DepDepends, DepPreDepends, ...}
* python/apt_pkgmodule.cc:
- add DepDpkgBreaks, DepEnhances constants
* doc/source/apt_pkg/{cache.rst, index.rst}:
- update documentation as well
-- Julian Andres Klode <jak@debian.org> Fri, 15 Jan 2010 15:24:16 +0100
python-apt (0.7.92) experimental; urgency=low
* New features:
- Provide a C++ API in the package python-apt-dev (Closes: #334923).
- Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141).
- Add apt_pkg.Policy class (Closes: #382725).
- Add apt_pkg.Hashes class.
- Allow types providing __new__() to be subclassed.
- Add apt_pkg.DepCache.mark_auto() and apt.Package.mark_auto() methods to
mark a package as automatically installed.
- Make AcquireFile a subclass of AcquireItem, thus inheriting attributes.
- New progress handling in apt.progress.base and apt.progress.text. Still
missing Qt4 progress handlers.
- Classes in apt_inst (Closes: #536096)
+ You can now use apt_inst.DebFile.data to access the data.tar.* member
regardless of its compression (LP: #44493)
* Unification of dependency handling:
- apt_pkg.parse_[src_]depends() now use CompType instead of CompTypeDeb
(i.e. < instead of <<) to match the interface of Version.depends_list_str
- apt_pkg.SourceRecords.build_depends matches exactly the interface of
Version.depends_list_str just with different keys (e.g. Build-Depends).
+ Closes: #468123 - there is no need anymore for binding CompType or
CompTypeDeb, because we don't return integer values for CompType
anymore.
* Bugfixes:
- Delete pointers correctly, fixing memory leaks (LP: #370149).
- Drop open() and close() in apt_pkg.Cache as they cause segfaults.
- Raise ValueError in AcquireItem if the Acquire process is shut down
instead of segfaulting.
* Other stuff:
- Merge releases 0.7.10.4 - 0.7.12.1 from unstable.
- Merge Configuration,ConfigurationPtr,ConfigurationSub into one type.
- Simplify the whole build process by using a single setup.py.
- The documentation has been restructured and enhanced with tutorials.
- Only recommend lsb-release instead of depending on it. Default to
Debian unstable if lsb_release is not available.
-- Julian Andres Klode <jak@debian.org> Tue, 18 Aug 2009 16:42:56 +0200
python-apt (0.7.91) experimental; urgency=low
[ Julian Andres Klode ]
* Rename where needed according to PEP 8 conventions (Closes: #481061)
* Where possible, derive apt.package.Record from collections.Mapping.
* ActionGroups can be used as a context manager for the 'with' statement.
* utils/migrate-0.8.py: Helper to check Python code for deprecated functions,
attributes,etc. Has to be run from the python-apt source tree, but can be
used for all Python code using python-apt.
* debian/control: Only recommend libjs-jquery (Closes: #527543).
[ Stefano Zacchiroli ]
* debian/python-apt.doc-base: register the documentation with the
doc-base system (Closes: #525134)
[ Sebastian Heinlein ]
* apt/package.py: Add Package.get_version() which returns a Version instance
for the given version string or None (Closes: #523998)
-- Julian Andres Klode <jak@debian.org> Fri, 05 Jun 2009 19:36:45 +0200
python-apt (0.7.90) experimental; urgency=low
* Introduce support for Python 3 (Closes: #523645)
* Support the 'in' operator (e.g. "k in d") in Configuration{,Ptr,Sub}
objects (e.g. apt_pkg.Config) and in TagSections (apt_pkg.ParseSection())
* Replace support for file objects with a more generic support for any object
providing a fileno() method and for file descriptors (integers).
* Add support for the Breaks fields
* Only create Package objects when they are requested, do not keep them in
a dict. Saves 10MB for 25,000 packages on my machine.
* apt/package.py: Allow to set the candidate of a package (Closes: #523997)
- Support assignments to the 'candidate' property of Package objects.
- Initial patch by Sebastian Heinlein
-- Julian Andres Klode <jak@debian.org> Wed, 15 Apr 2009 13:47:42 +0200
python-apt (0.7.13.4) unstable; urgency=low
[ Michael Vogt ]
* po/zh_CN.po:
- updated, thanks to Feng Chao
* python/progress.cc:
- if the mediaChange() does not return anything or is not implemented
send "false" to libapt
[ Julian Andres Klode ]
* apt/package.py: Fix dictionary access of VersionList, patch
by Sebastian Heinlein (Closes: #554895).
-- Julian Andres Klode <jak@debian.org> Sun, 29 Nov 2009 20:26:31 +0100
python-apt (0.7.13.3) unstable; urgency=low
[ Michael Vogt ]
* apt/cache.py:
- add actiongroup() method (backport from 0.7.92)
- re-work the logic in commit() to fail if installArchives() returns
a unexpected result
* apt/progress/__init__.py:
- catch exceptions in pm.DoInstall()
[ Sebastian Heinlein ]
* apt/package.py:
- Export if a package is an essential one (Closes: #543428)
[ Julian Andres Klode ]
* python/depcache.cc:
- Make ActionGroups context managers so apt.Cache.actiongroup() has
the same behavior as in 0.7.92
* apt/cache.py:
- Add raiseOnError option to Cache.update() (Closes: #545474)
* apt/package.py:
- Use the source version instead of the binary version in fetch_source().
* apt/progress/__init__.py:
- Correctly ignore ECHILD by checking before EINTR (Closes: #546007)
-- Julian Andres Klode <jak@debian.org> Tue, 15 Sep 2009 15:18:45 +0200
python-apt (0.7.13.2) unstable; urgency=low
* apt/cache.py:
- Convert argument to str in __getitem__() (Closes: #542965).
-- Julian Andres Klode <jak@debian.org> Sat, 22 Aug 2009 22:47:30 +0200
python-apt (0.7.13.1) unstable; urgency=low
* apt/package.py:
- Fix Version.get_dependencies() to not ignore the arguments.
-- Julian Andres Klode <jak@debian.org> Fri, 21 Aug 2009 16:59:08 +0200
python-apt (0.7.13.0) unstable; urgency=low
[ Michael Vogt ]
* apt/package.py:
- add "recommends" property
* apt/cache.py, python/cache.cc:
- add optional pulseInterval option to "update()"
[ Sebastian Heinlein ]
* apt/cache.py:
- Fix the (inst|keep|broken|del)_count attributes (Closes: #542773).
[ Julian Andres Klode ]
* apt/package.py:
- Introduce Version.get_dependencies() which takes one or more types
of dependencies and returns a list of Dependency objects.
- Do not mark the package as manually installed on upgrade (Closes: #542699)
- Add Package.is_now_broken and Package.is_inst_broken.
* apt/cache.py:
- Introduce ProblemResolver class (Closes: #542705)
* python/pkgsrcrecords.cc:
- Fix spelling error (begining should be beginning).
* po:
- Update template and the translations de.po, fr.po (Closes: #467120),
ja.po (Closes: #454293).
* debian/control:
- Update Standards-Version to 3.8.3.
* debian/rules:
- Build with DH_PYCENTRAL=include-links instead of nomove.
-- Julian Andres Klode <jak@debian.org> Fri, 21 Aug 2009 16:22:34 +0200
python-apt (0.7.12.1) unstable; urgency=low
* apt/debfile.py:
- Fix missing space in message (Closes: #539704)
* apt/package.py:
- Add missing argument to Version.__le__() and Version.__ge__()
* debian/control:
- Do not build-depend on python-gtk2 and python-vte on kfreebsd-*.
* setup.py:
- Always build documentation, even if python-gtk2 is not installed.
-- Julian Andres Klode <jak@debian.org> Mon, 03 Aug 2009 15:17:43 +0200
python-apt (0.7.12.0) unstable; urgency=low
[ Julian Andres Klode ]
* python/cache.cc:
- Support Breaks, Enhances dependency types (Closes: #416247)
* debian/control:
- Only recommend libjs-jquery (Closes: #527543)
- Build-depend on libapt-pkg-dev (>= 0.7.22~)
- Update Standards-Version to 3.8.2
* apt/cache.py:
- Correctly handle rootdir on second and later invocations of
open(), by calling InitSystem again. (LP: #320665).
- Provide broken_count, delete_count, install_count, keep_count
properties (Closes: #532338)
- Only create Package objects when they are requested, do not keep them in
a dict. Saves 10MB for 25,000 packages on my machine.
* apt/package.py:
- Allow to set the candidate of a package (Closes: #523997)
+ Support assignments to the 'candidate' property of Package objects.
+ Initial patch by Sebastian Heinlein
- Make comparisons of Version object more robust.
- Return VersionList objects in Package.versions, which are sequences
and also provide features of mappings. (partial API BREAK)
+ Allows to get a specific version (Closes: #523998)
* apt/progress/__init__.py:
- Do not break out of InstallProgress.waitChild()'s loop just because it
is hitting EINTR, but only on child exit or on ECHILD.
* Use debhelper 7 instead of CDBS
[ Stefano Zacchiroli ]
* debian/python-apt.doc-base: register the documentation with the
doc-base system (Closes: #525134)
[ Sebastian Heinlein ]
* apt/progress.py: Extract the package name from the status message
(Closes: #532660)
-- Julian Andres Klode <jak@debian.org> Thu, 30 Jul 2009 14:08:30 +0200
python-apt (0.7.11.1) unstable; urgency=low
[ Stephan Peijnik ]
* apt/progress/__init__.py:
- Exception handling fixes in InstallProgress class.
[ Michael Vogt ]
* python/tag.cc:
- merge patch from John Wright that adds FindRaw method
(closes: #538723)
-- Michael Vogt <mvo@debian.org> Wed, 29 Jul 2009 19:15:56 +0200
python-apt (0.7.11.0) unstable; urgency=low
[ Julian Andres Klode ]
* data/templates/Debian.info.in: Squeeze will be 6.0, not 5.1
[ Stephan Peijnik ]
* apt/progress/__init__.py:
- add update_status_full() that takes file_size/partial_size as
additional callback arguments
- add pulse_items() that takes a addtional "items" tuple that
gives the user full access to the individual items that are
fetched
* python/progress.cc:
- low level code for update_status_full and pulse_items()
- better threading support
[ Michael Vogt ]
* aptsources/distro.py:
- fix indent error that causes incorrect sources.list additons
(LP: #372224)
* python/progress.cc:
- fix crash in RunSimpleCallback()
* apt/cache.py:
- when the cache is run with a alternative rootdir, create
required dirs/files automatically
-- Michael Vogt <mvo@debian.org> Mon, 20 Jul 2009 15:35:27 +0200
python-apt (0.7.10.4) unstable; urgency=low
[ Michael Vogt ]
* data/templates/Ubuntu.info.in:
- updated for the new ubuntu karmic version
* data/templates/Debian.info.in:
- add squeeze
[ Otavio Salvador ]
* utils/get_debian_mirrors.py: updated to support current mirror page.
* Update Debian mirrors. (Closes: #518071)
-- Michael Vogt <mvo@debian.org> Tue, 05 May 2009 12:03:27 +0200
python-apt (0.7.10.3) unstable; urgency=low
* apt/package.py: Handle cases where no candidate is available, by returning
None in the candidate property. (Closes: #523801)
-- Julian Andres Klode <jak@debian.org> Sun, 12 Apr 2009 19:50:26 +0200
python-apt (0.7.10.2) unstable; urgency=low
* apt/package.py: Handle cases where no candidate is available and
one of the deprecated properties (e.g. candidateVersion) is
requested. (Closes: #523801)
* setup.py, debian/rules: Support version in setup.py again by getting
the value from the variable DEBVER (defined in debian/rules), falling
back to None.
-- Julian Andres Klode <jak@debian.org> Sun, 12 Apr 2009 19:00:07 +0200
python-apt (0.7.10.1) unstable; urgency=low
* Fix FTBFS with python-debian (>= 0.1.13) on Python 2.4 by not using it to
get a version number in setup.py (Closes: #523473)
* apt/package.py:
- (Package.candidateRecord): Fix missing 'd' in 'record'
- (DeprecatedProperty.__get__): Only warn when used on objects, this
makes it easier to use e.g. pydoc,sphinx,pychecker.
-- Julian Andres Klode <jak@debian.org> Fri, 10 Apr 2009 17:51:07 +0200
python-apt (0.7.10) unstable; urgency=low
* Build-Depend on python-debian, use it to get version number from changelog
* Depend on libjs-jquery, and remove internal copy (Closes: #521532)
* apt/package.py:
- Introduce Version.{uri,uris,fetch_binary()}
* debian/control:
- Remove mdz from Uploaders (Closes: #521477), add myself.
- Update Standards-Version to 3.8.1
- Use ${binary:Version} instead of ${Source-Version}
- Fix spelling error: python -> Python
* debian/copyright: Switch to machine-interpretable copyright
* Fix documentation building
- doc/source/conf.py: Only include directories for current python version.
- debian/control: Build-Depend on python-gtk2, python-vte.
- setup.py: If pygtk can not be imported, do not build the documentation.
* Breaks: debdelta (<< 0.28~) to avoid more problems due to the internal
API changes from 0.7.9.
-- Julian Andres Klode <jak@debian.org> Wed, 01 Apr 2009 15:24:29 +0200
python-apt (0.7.9) unstable; urgency=low
[ Julian Andres Klode ]
* apt/gtk/widgets.py:
- Handle older versions of python-gobject which do not ship glib
* apt/package.py: Introduce the Version class
- Deprecate Package.candidate*() and Package.installed*(), except for
installedFiles.
- Provide Version.get_source() (LP: #118788)
- Provide Package.versions (Closes: #513236)
* apt/progress/: New package, replaces apt.progress and apt.gtk
- apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py
- apt/progress/__init__.py: Move here from apt/progress.py
* doc/source/*: Improve the documentation
- Document more attributes and functions of apt_pkg (they are all listed)
[ Michael Vogt ]
* aptsources/distro.py:
- use iso_3166.xml instead of iso_3166.tab
- fix incorrect indent
* debian/control:
- add Recommends to iso-codes (for iso_3166.xml)
* apt/package.py:
- make sure to set the defaulttimeout back to the
original value (in getChangelog(), LP: #314212)
Closes: #513315
* apt/cache.py:
- when setting a alternative rootdir, read the
config from it as well
* python/configuration.cc, python/apt_pkgmodule.cc:
- add apt_pkg.ReadConfigDir()
* python/cache.cc, tests/getcache_mem_corruption.py:
- test if progress objects have the right methods
and raise error if not (thanks to Emanuele Rocca)
closes: #497049
* apt/package.py:
- avoid uneeded interal references in the Package objects
* aptsources/sourceslist.py:
- fix bug in invalid lines detection (LP: #324614)
-- Michael Vogt <mvo@debian.org> Thu, 19 Mar 2009 13:39:21 +0100
python-apt (0.7.9~exp2) experimental; urgency=low
[ Julian Andres Klode ]
* apt/*.py:
- Almost complete cleanup of the code
- Remove inconsistent use of tabs and spaces (Closes: #505443)
- Improved documentation
* apt/debfile.py:
- Drop get*() methods, as they are deprecated and were
never in a stable release
- Make DscSrcPackage working
* apt/gtk/widgets.py:
- Fix the code and document the signals
* Introduce new documentation build with Sphinx
- Contains style Guide (Closes: #481562)
- debian/rules: Build the documentation here
- setup.py: Remove pydoc building and add new docs.
- debian/examples: Include examples from documentation
- debian/python-apt.docs:
+ Change html/ to build/doc/html.
+ Add build/doc/text for the text-only documentation
* setup.py:
- Only create build/data when building, not all the time
- Remove build/mo and build/data on clean -a
* debian/control:
- Remove the Conflicts on python2.3-apt, python2.4-apt, as
they are only needed for oldstable (sarge)
- Build-Depend on python-sphinx (>= 0.5)
* aptsources/distinfo.py:
- Allow @ in mirror urls (Closes: #478171) (LP: #223097)
* Merge Ben Finney's whitespace changes (Closes: #481563)
* Merge Ben Finney's do not use has_key() (Closes: #481878)
* Do not use deprecated form of raise statement (Closes: #494259)
* Add support for PkgRecords.SHA256Hash (Closes: #456113)
[ Michael Vogt ]
* apt/package.py:
- fix bug in candidateInstalledSize property
* aptsources/distinfo.py:
- fix too restrictive mirror url check
* aptsources/distro.py:
- only add nearest_server and server to the mirrors if
they are defined
-- Michael Vogt <mvo@debian.org> Fri, 16 Jan 2009 11:28:17 +0100
python-apt (0.7.9~exp1) experimental; urgency=low
* Merged python-apt consolidation branch by Sebastian
Heinlein (many thanks)
* apt/cache.py:
- new method "isVirtualPackage()"
- new method "getProvidingPackages()"
- new method "getRequiredDownload()"
- new method "additionalRequiredSpace()"
* apt/debfile.py:
- move a lot of the gdebi code into this file, this
provides interfaces for querrying and installing
.deb files and .dsc files
* apt/package.py:
- better description parsing
- new method "installedFiles()"
- new method "getChangelog()"
* apt/gtk/widgets.py:
- new gobject GOpProgress
- new gobject GFetchProgress
- new gobject GInstallProgress
- new gobject GDpkgInstallProgress
- new widget GtkAptProgress
* doc/examples/gui-inst.py:
- updated to use the new widgets
* debian/control:
- add suggests for python-gtk2 and python-vte
* setup.py:
- build html/ help of the apt and aptsources modules
into /usr/share/doc/python-apt/html
* apt/__init__.py:
- remove the future warning
-- Michael Vogt <mvo@debian.org> Mon, 15 Dec 2008 14:29:47 +0100
python-apt (0.7.8) unstable; urgency=low
[ Michael Vogt ]
* python/cache.cc:
- fix crash if Ver.PriorityType() returns NULL
- fix GetCandidateVer() reporting incorrect versions after
SetCandidateVer() was used. Thanks to Julian Andres Klode for
the test-case (LP: #237372)
* python/apt_instmodule.cc:
- do not change working dir in debExtractArchive() (LP: #184093)
* apt/cache.py:
- support "in" in apt.Cache() (LP: #251587)
* apt/package.py:
- do not return None in sourcePackageName (LP: #123062)
* python/progress.cc:
- when pulse() does not return a boolean assume "true"
(thanks to Martin Pitt for telling me about the problem)
* python/apt_pkgmodule.cc:
- add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants
* aptsources/__init__.py, aptsources/distinfo.py:
- run apt_pkg.init() when aptsources gets imported and not
the distinfo function
- fix detection of cdrom sources and add test for it
* python/metaindex.cc
- fix crash when incorrect attribute is given
* data/templates/Ubuntu.info.in:
- updated
* aptsources/distro.py:
- add parameter to get_distro() to make unit testing easier
* tests/test_aptsources_ports.py:
- add test for arch specific handling (when sub arch is on
a different mirror than "main" arches)
[ Julian Andres Klode ]
* python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename.
-- Michael Vogt <mvo@debian.org> Mon, 24 Nov 2008 10:24:30 +0200
python-apt (0.7.7.1+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* data/templates/Debian.info.in: Set the BaseURI to security.debian.org for
lenny/updates, etch/updates and sarge/updates. (Closes: #503237)
-- Jonny Lamb <jonny@debian.org> Fri, 24 Oct 2008 12:44:33 +0100
python-apt (0.7.7.1) unstable; urgency=low
* data/templates/Debian.info.in:
- add 'lenny' template info (closes: #476364)
* aptsources/distinfo.py:
- fix template matching for arch specific code (LP: #244093)
-- Michael Vogt <mvo@debian.org> Fri, 25 Jul 2008 18:13:53 +0200
python-apt (0.7.7) unstable; urgency=low
[ Emanuele Rocca ]
* data/templates/Debian.info.in:
- s/MatchUri/MatchURI/. Thanks, Gustavo Noronha Silva (closes: #487673)
* python/cache.cc:
- Throw an exception rather than segfaulting when GetCache() is called
before InitSystem() (closes: #369147)
* doc/examples/config.py:
- Fix config.py --help (closes: #257007)
[ Michael Vogt ]
* python/apt_pkgmodule.cc:
- fix bug in hashsum calculation when the original string
contains \0 charackters (thanks to Celso Providelo and
Ryan Hass for the test-case) LP: #243630
* tests/test_hashsums.py:
- add tests for the hashsum code
* apt/package.py:
- add "isAutoRemovable()" method
* python/pkgsrcrecords.cc:
- add "Record" attribute to the PkgSrcRecord to access the
full source record
* debian/rules:
- remove the arch-build target, we have bzr-builddeb now
-- Michael Vogt <mvo@debian.org> Tue, 22 Jul 2008 10:16:03 +0200
python-apt (0.7.6) unstable; urgency=low
* apt/cache.py:
- add "memonly" option to apt.Cache() to force python-apt to
not touch the pkgcache.bin file (this works around a possible
race condition in the pkgcache.bin handling)
* data/templates/Ubuntu.info.in:
- added ubuntu 'intrepid'
* debian/README.source:
- added (basic) documentation how to build python-apt
* aptsources/distinfo.py:
- support arch specific BaseURI, MatchURI and MirrosFile fields
in the distinfo template
* debian/control:
- move bzr branch to bzr.debian.org and update Vcs-Bzr
-- Michael Vogt <mvo@debian.org> Wed, 18 Jun 2008 14:46:43 +0200
python-apt (0.7.5) unstable; urgency=low
* use the new ListUpdate() code
* add example in doc/examples/update.py
* python/pkgrecords.cc:
- export the Homepage field
* python/tar.cc:
- fix .lzma extraction (thanks to bigjools)
* python/sourcelist.cc:
- support GetIndexes() GetAll argument to implement
something like --print-uris
* python/apt_pkgmodule.cc:
- add InstState{Ok,ReInstReq,Hold,HoldReInstReq} constants
* apt/cache.py:
- add reqReinstallPkgs property that lists all packages in
ReInstReq or HoldReInstReq
-- Michael Vogt <mvo@debian.org> Tue, 19 Feb 2008 21:06:36 +0100
python-apt (0.7.4) unstable; urgency=low
* apt/debfile.py:
- added wrapper around apt_inst.debExtract()
- support dictionary like access
* apt/package.py:
- fix apt.package.Dependency.relation initialization
* python/apt_instmodule.cc:
- added arCheckMember()
- fix typo
* aptsources/distro.py:
- throw NoDistroTemplateException if not distribution template
can be found
* python/string.cc:
- fix overflow in SizeToStr()
* python/metaindex.cc:
- added support for the metaIndex objects
* python/sourceslist.cc:
- support new "List" attribute that returns the list of
metaIndex source entries
* python/depcache.cc:
- be more threading friendly
* python/tag.cc
- support "None" as default in
ParseSection(control).get(field, default), LP: #44470
* python/progress.cc:
- fix refcount problem in OpProgress
- fix refcount problem in FetchProgress
- fix refcount problem in CdromProgress
* apt/README.apt:
- fix typo (thanks to Thomas Schoepf, closes: #387787)
* po/fr.po:
- merge update, thanks to Christian Perrier (closes: #435918)
* data/templates/:
- update templates
-- Michael Vogt <mvo@debian.org> Thu, 06 Dec 2007 15:35:46 +0100
python-apt (0.7.3.1) unstable; urgency=low
* NMU
* Fix version to not use CPU and OS since it's not available on APT
anymore (closes: #435653, #435674)
-- Otavio Salvador <otavio@debian.org> Thu, 02 Aug 2007 18:45:25 -0300
python-apt (0.7.3) unstable; urgency=low
* apt/package.py:
- added Record class that can be accessed like a dictionary
and return it in candidateRecord and installedRecord
(thanks to Alexander Sack for discussing this with me)
* doc/examples/records.py:
- added example how to use the new Records class
* apt/cache.py:
- throw FetchCancelleException, FetchFailedException,
LockFailedException exceptions when something goes wrong
* aptsources/distro.py:
- generalized some code, bringing it into the Distribution
class, and wrote some missing methods for the DebianDistribution
one (thanks to Gustavo Noronha Silva)
* debian/control:
- updated for python-distutils-extra (>= 1.9.0)
* debian/python-apt.install:
- fix i18n files
* python/indexfile.cc:
- increase str buffer in PackageIndexFileRepr
-- Michael Vogt <michael.vogt@ubuntu.com> Fri, 27 Jul 2007 16:57:28 +0200
python-apt (0.7.2) unstable; urgency=low
* build against the new apt
* support for new "aptsources" pythn module
(thanks to Sebastian Heinlein)
* merged support for translated package descriptions
* merged support for automatic removal of unused dependencies
-- Michael Vogt <mvo@debian.org> Sun, 10 Jun 2007 20:13:38 +0200
python-apt (0.7.1) experimental; urgency=low
* merged http://glatzor.de/bzr/python-apt/sebi:
- this means that the new aptsources modules is available
-- Michael Vogt <mvo@debian.org> Mon, 14 May 2007 13:33:42 +0200
python-apt (0.7.0) experimental; urgency=low
* support translated pacakge descriptions
* support automatic dependency information
-- Michael Vogt <mvo@debian.org> Wed, 2 May 2007 18:41:53 +0200
python-apt (0.6.22) unstable; urgency=low
* python/apt_pkgmodule.cc:
- added pkgCache::State::PkgCurrentState enums
* python/pkgrecords.cc:
- added SourceVer
-- Michael Vogt <mvo@debian.org> Wed, 23 May 2007 09:44:03 +0200
python-apt (0.6.21) unstable; urgency=low
* apt/cdrom.py:
- better cdrom handling support
* apt/package.py:
- added candidateDependencies, installedDependencies
- SizeToString supports PyLong too
- support pkg.architecture
- support candidateRecord, installedRecord
* apt/cache.py:
- fix rootdir
* apt/cdrom.py:
- fix bug in cdrom mountpoint handling
-- Michael Vogt <mvo@debian.org> Tue, 24 Apr 2007 21:24:28 +0200
python-apt (0.6.20) unstable; urgency=low
* python/generic.h:
- fix incorrect use of PyMem_DEL(), use pyObject_DEL()
instead. This fixes a nasty segfault with python2.5
(lp: 63226)
* python/pkgrecords.cc:
- export SHA1Hash() as well
* debian/rules: Remove dh_python call.
* apt/progress.cc:
- protect against not-parsable strings send from dpkg (lp: 68553)
* python/pkgmanager.cc:
- fix typo (closes: #382853)
* debian/control:
- tightend dependency (closes: #383478)
* apt/progress.py:
- use os._exit() in the child (lp: #53298)
- use select() when checking for statusfd (lp: #53282)
* acknoledge NMU (closes: #378048, #373512)
* python/apt_pkgmodule.cc:
- fix missing docstring (closes: #368907),
Thanks to Josh Triplett
* make it build against python2.5
* python/progress.cc:
- fix memleak (lp: #43096)
-- Michael Vogt <mvo@debian.org> Tue, 19 Dec 2006 13:32:11 +0100
python-apt (0.6.19) unstable; urgency=low
[ Michael Vogt ]
* doc/examples/print_uris.py:
- added a example to show how the indexfile.ArchiveURI() can be used
with binary packages
* python/apt_pkgmodule.cc:
- export sha256 generation
[ Otavio Salvador ]
* apt/cache.py:
- fix commit doc string to also cite the open related callbacks
- allow change of rootdir for APT database loading
- add dh_installexamples in package building Closes: #376014
* python/depcache.cc:
- "IsGarbage()" method added (to support auto-mark)
-- Michael Vogt <mvo@debian.org> Thu, 27 Jul 2006 00:42:20 +0200
python-apt (0.6.18-0.2) unstable; urgency=low
* Non-maintainer upload.
* Add ${shlibs:Depends} and ${misc:Depends} (Closes: #377615).
-- Christoph Berg <myon@debian.org> Tue, 18 Jul 2006 11:39:52 +0200
python-apt (0.6.18-0.1) unstable; urgency=high
* Non-maintainer upload.
* Call dh_pycentral and dh_python before dh_installdeb, to make sure
the dh_pycentral snippets are put into the maintainer scripts; patch from
Sam Morris. (Closes: #376416)
-- Steinar H. Gunderson <sesse@debian.org> Wed, 12 Jul 2006 23:26:50 +0200
python-apt (0.6.18) unstable; urgency=low
* Non-maintainer upload.
* Update for the new Python policy. Closes: #373512
-- Raphael Hertzog <hertzog@debian.org> Sat, 17 Jun 2006 15:09:28 +0200
python-apt (0.6.17) unstable; urgency=low
* apt/progress.py:
- initialize FetchProgress.eta with the correct type
- strip the staus str before passing it to InstallProgress.statusChanged()
- added InstallProgress.statusChange(pkg, percent, status)
- make DumbInstallProgress a new-style class
(thanks to kamion for the suggestions)
- fix various pychecker warnings
* apt/cache.py:
- return useful values on Cache.update()
- Release locks on failure (thanks to Colin Watson)
- fix various pychecker warnings
* apt/package.py:
- fix various pychecker warnings
- check if looupRecords succeeded
- fix bug in the return statement of _downloadable()
* python/srcrecords.cc:
- add "Restart" method
- don't run auto "Restart" before performing a Lookup
- fix the initalization (no need to pass a PkgCacheType to the records)
- added "Index" attribute
* python/indexfile.cc:
- added ArchiveURI() method
-- Michael Vogt <mvo@debian.org> Mon, 8 May 2006 22:34:58 +0200
python-apt (0.6.16.2) unstable; urgency=low
* Non-maintainer upload.
* debian/control:
+ Replaces: python-apt (<< 0.6.11), instead of Conflicts which is not
correct here. (closes: #308586).
-- Pierre Habouzit <madcoder@debian.org> Fri, 14 Apr 2006 19:30:51 +0200
python-apt (0.6.16.1) unstable; urgency=low
* memleak fixed when pkgCache objects are deallocated
* typos fixed (thanks to Gustavo Franco)
* pkgRecords.Record added to get raw record data
* python/cache.cc: "key" in pkgCache::VerIterator.DependsList[key] is
no longer locale specific but always english
-- Michael Vogt <mvo@debian.org> Wed, 22 Feb 2006 10:41:13 +0100
python-apt (0.6.16) unstable; urgency=low
* added GetPkgAcqFile to queue individual file downloads with the
system (dosn't make use of the improved pkgAcqFile yet)
* added SourceList.GetIndexes()
* rewrote apt.cache.update() to use the improved aquire interface
* apt/ API change: apt.Package.candidateOrigin returns a list of origins
now instead of a single one
* apt_pkg.Cdrom.Add() returns a boolean now, CdromProgress has totalSteps
* added support for pkgIndexFile and added SourcesList.FindIndex()
* added "trusted" to the Origin class
-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 5 Jan 2006 00:56:36 +0100
python-apt (0.6.15) unstable; urgency=low
* rewrote cache.Commit() and make it raise proper Exception if stuff
goes wrong
* fix a invalid return from cache.commit(), fail if a download failed
* apt.Package.candidateOrigin returns a class now
* added pkgAcquire, pkgPackageManager and a example (acquire.py)
* tightend build-dependencies for new apt and the c++ transition
-- Michael Vogt <mvo@debian.org> Mon, 28 Nov 2005 23:48:37 +0100
python-apt (0.6.14) unstable; urgency=low
* doc/examples/build-deps.py:
- fixed/improved (thanks to Martin Michlmayr, closes: #321507)
* apt_pkg.Cache.Update() does no longer reopen the cache
(this is the job of the caller now)
* python/srcrecords.cc:
- support for "srcrecords.Files" added
- always run "Restart" before performing a Lookup
* export locking via: GetLock(),PkgSystem{Lock,UnLock}
* apt/cache.py:
- added __iter__ to make "for pkg in apt.Cache:" stuff possible
-- Michael Vogt <mvo@debian.org> Wed, 9 Nov 2005 04:52:08 +0100
python-apt (0.6.13) unstable; urgency=low
* support for depcache added
* support for the PkgProblemResolver added
* support for PkgSrcRecord.BuildDepends added
* support for cdrom handling (add, ident) added
* support for progress reporting from operations added
(e.g. OpProgress, FetchProgress, InstallProgress, CdromProgress)
* added tests/ directory with various tests for the code
* native apt/ python directory added that contains
a more pythonic interface to apt_pkg
* made the apt/ python code PEP08 conform
* python exceptions return the apt error message now
(thanks to Chris Halls for the patch)
-- Michael Vogt <mvo@debian.org> Fri, 5 Aug 2005 10:30:31 +0200
python-apt (0.6.12.2) unstable; urgency=low
* rebuild against the latest apt (c++ transition)
-- Michael Vogt <mvo@debian.org> Mon, 1 Aug 2005 11:06:03 +0200
python-apt (0.6.12.1) unstable; urgency=low
* rebuild against the latest apt
-- Michael Vogt <mvo@debian.org> Tue, 28 Jun 2005 18:29:57 +0200
python-apt (0.6.12ubuntu1) breezy; urgency=low
* Greek0@gmx.net--2005-main/python-apt--debian--0.6:
- python2.{3,4}-apt conflicts with python-apt (<< 0.6.11)
(closes: #308586)
(closes ubuntu: #11380)
-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 12 May 2005 11:34:05 +0200
python-apt (0.6.12) breezy; urgency=low
* added a tests/ directory
* added tests/pkgsrcrecords.py that will check if the pkgsrcrecords
interface does not segfault
* new native python "apt" interface that hides the details of apt_pkg
-- Michael Vogt <michael.vogt@ubuntu.com> Fri, 6 May 2005 10:11:52 +0200
python-apt (0.6.11) experimental; urgency=low
* fixed some reference count problems in the depcache and
pkgsrcrecords code
* DepCache.Init() is never called implicit now
* merged with python-apt tree from Greek0@gmx.net--2005-main
-- Michael Vogt <mvo@debian.org> Fri, 6 May 2005 10:04:38 +0200
python-apt (0.5.36ubuntu2) hoary; urgency=low
* return "None" in GetCandidateVer() if no Candidate is found
-- Michael Vogt <michael.vogt@ubuntu.com> Tue, 15 Mar 2005 12:30:06 +0100
python-apt (0.5.36ubuntu1) hoary; urgency=low
* DepCache.ReadPinFile() added
* Fixed a bug in DepCache.Upgrade()
-- Michael Vogt <michael.vogt@ubuntu.com> Wed, 2 Mar 2005 11:32:15 +0100
python-apt (0.5.36) hoary; urgency=low
* Fix build-depends, somehow lost in merge
-- Matt Zimmerman <mdz@ubuntu.com> Sat, 26 Feb 2005 18:53:54 -0800
python-apt (0.5.35) hoary; urgency=low
* Target hoary this time
-- Matt Zimmerman <mdz@ubuntu.com> Sat, 26 Feb 2005 15:57:21 -0800
python-apt (0.5.34) unstable; urgency=low
* Restore Ubuntu changes
- Build python 2.4 as default, add python2.3-apt
- Typo fix (Ubuntu #4677)
-- Matt Zimmerman <mdz@ubuntu.com> Sat, 26 Feb 2005 15:53:30 -0800
python-apt (0.5.33) unstable; urgency=low
* Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0
- Basic depcache API (Ubuntu #6889)
-- Matt Zimmerman <mdz@ubuntu.com> Sat, 26 Feb 2005 15:37:48 -0800
python-apt (0.5.32) unstable; urgency=low
* Update to work with apt 0.5.32 (bzip2 deb support)
-- Matt Zimmerman <mdz@debian.org> Sun, 12 Dec 2004 09:44:45 -0800
python-apt (0.5.10) unstable; urgency=low
* Recompile with apt 0.5
-- Matt Zimmerman <mdz@debian.org> Fri, 26 Dec 2003 09:09:40 -0800
python-apt (0.5.9) unstable; urgency=low
* Fix broken object initialization in sourcelist.cc and srcrecords.cc
(Closes: #215792)
-- Matt Zimmerman <mdz@debian.org> Thu, 25 Dec 2003 12:12:04 -0800
python-apt (0.5.8) unstable; urgency=low
* Adjust build-depends to build with python2.3. No other changes.
* This seems to break the new source package support, probably because
the new source package support is buggy.
-- Matt Zimmerman <mdz@debian.org> Fri, 8 Aug 2003 09:01:12 -0400
python-apt (0.5.5.2) unstable; urgency=low
* Add myself to Uploaders so that bugs don't get tagged as NMU-fixed anymore
* Initial support for working with source packages (Closes: #199716)
-- Matt Zimmerman <mdz@debian.org> Tue, 22 Jul 2003 22:20:00 -0400
python-apt (0.5.5.1) unstable; urgency=low
* DepIterator::GlobOr increments the iterator; don't increment it again.
This caused every other dependency to be skipped (Closes: #195805)
* Avoid a null pointer dereference when calling keys() on an empty
configuration (Closes: #149380)
-- Matt Zimmerman <mdz@debian.org> Mon, 2 Jun 2003 23:18:53 -0400
python-apt (0.5.5) unstable; urgency=low
* Rebuild with apt 0.5.5
-- Matt Zimmerman <mdz@debian.org> Tue, 6 May 2003 10:01:22 -0400
python-apt (0.5.4.9) unstable; urgency=low
* Parse /var/lib/dpkg/status in examples/tagfile.py, so that it works
out of the box (Closes: #175340)
* Rebuild with apt 0.5.4.9 (libapt-pkg-libc6.3-5-3.3)
-- Matt Zimmerman <mdz@debian.org> Tue, 18 Feb 2003 16:42:24 -0500
python-apt (0.5.4.4) unstable; urgency=low
* Fix for memory leak with TmpGetCache.
Closes: #151489
* Include additional examples from Moshe Zadka <m@moshez.org>
Closes: #150091, #152048
* Rebuild for python2.2, which is now the default version
Closes: #158460
* No CVS directories in source tarball
Closes: #157773
-- Matt Zimmerman <mdz@debian.org> Tue, 27 Aug 2002 19:22:10 -0400
python-apt (0.5.4.3) unstable; urgency=low
* #include <new> in python/generic.h so that we can build on ia64, which
uses g++-2.96 (Closes: #137467)
-- Matt Zimmerman <mdz@debian.org> Sat, 9 Mar 2002 23:34:13 -0500
python-apt (0.5.4.2) unstable; urgency=high
* Fix g++-3.0 compilation issues (Closes: #134020)
-- Matt Zimmerman <mdz@debian.org> Sun, 24 Feb 2002 00:20:22 -0500
python-apt (0.5.4.1) unstable; urgency=low
* Add apt-utils to build-depends, since libapt-pkg-dev doesn't pull it
in. This should allow python-apt to be autobuilt more readily.
-- Matt Zimmerman <mdz@debian.org> Sat, 23 Feb 2002 19:01:15 -0500
python-apt (0.5.4) unstable; urgency=low
* Initial release.
* Initial packaging by Jason Gunthorpe, et al.
-- Matt Zimmerman <mdz@debian.org> Wed, 16 Jan 2002 01:37:56 -0500
|