Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-30 | apt/package.py: Add rawtype property to Dependency class | Michael Schaller | 1 | -4/+18 | |
2015-06-28 | BaseDependency.__repr__: Replace pre_depend with rawtype | Michael Schaller | 1 | -2/+2 | |
pre_depend only states if the relation is PreDepends, rawtype gives the relation type itself. | |||||
2015-06-10 | Improved docstring of the Version.get_dependencies method. | Michael Schaller | 1 | -1/+8 | |
2015-06-10 | Fixed docstring of BaseDependency.version property. | Michael Schaller | 1 | -2/+4 | |
2015-06-10 | apt.package: Only reference Launchpad for missing changelogs on Ubuntu | Julian Andres Klode | 1 | -5/+9 | |
The new message is not really helpful, but hey, who cares. Closes: #781270 | |||||
2015-06-10 | Fix indentation and docstring problems | von | 1 | -0/+1 | |
Closes: #784910 | |||||
2015-05-22 | Fix apt.Package.installed_files for multi-arch packages | Michael Vogt | 1 | -1/+1 | |
Thanks to Michael Schaller LP: #1313699 | |||||
2014-04-02 | apt/package.py: Do not shadow _ | Julian Andres Klode | 1 | -3/+3 | |
This can lead to bugs later on and makes pyflakes 0.8 cry. | |||||
2014-01-25 | apt/package.py: Pass an apt_pkg.Dependency to BaseDependency | Julian Andres Klode | 1 | -19/+41 | |
Instead of passing the properties to __init__(), let's just pass the apt_pkg.Dependency. Store that in a _dep attribute, and provide properties to provide the API. The other classes do it this way as well. Reported-by: Michael Schaller <michael@5challer.de> | |||||
2014-01-25 | apt/package.py: Improved readability and documentation of ↵ | Michael Schaller | 1 | -3/+18 | |
BaseDependency.__dstr(). | |||||
2014-01-06 | apt/package.py: Fix BaseDependency.__dstr.__ne__() | Julian Andres Klode | 1 | -1/+1 | |
It turns out I missed this. Just simplify it to return not self.__eq__(other). Also add a test case for it. Reported-by: Michael Schaller <michael@5challer.de> | |||||
2014-01-06 | Unify list of comparison type values everywhere | Julian Andres Klode | 1 | -1/+1 | |
They are now ordered and include the != and < operators in all cases. | |||||
2014-01-06 | apt, doc: Fix the list of comp_type values | Julian Andres Klode | 1 | -1/+1 | |
Reported-by: Michael Schaller <michael@5challer.de> | |||||
2014-01-06 | Use a single code base for Python 2 and 3 | Julian Andres Klode | 1 | -8/+18 | |
This is much better than running 2to3 during the build, as it gives us more control over the Python 3 code. | |||||
2014-01-06 | Use print_function everywhere | Julian Andres Klode | 1 | -34/+36 | |
This brings the code closer to Python 3. Automatically converted using 2to3 -f print. | |||||
2014-01-05 | make test_pep8.py pass | Michael Vogt | 1 | -10/+2 | |
2014-01-05 | apt/cache.py, apt/package.py: Fixed PEP8 and pyflakes issues | Michael Schaller | 1 | -21/+19 | |
This commit removed the unused local variable 'transient' in 'apt/cache.py' and the unused import 'warnings' in 'apt/package.py'. | |||||
2013-10-10 | apt/package.py: mark_upgrade misuses FromUser to set auto-installed | Daniel Hartwig | 1 | -2/+3 | |
Package.mark_upgrade uses FromUser for it's side effect of setting a package as auto-installed (or not). However, FromUser is also influential in pkgDepCache::IsModeChangeOk to determine whether an action should override a dpkg hold, etc.. Closes: #686726 | |||||
2013-10-08 | apt/package.py: Add a Package.has_config_files property (Closes: #712749) | Julian Andres Klode | 1 | -0/+5 | |
The name might be a bit misleading, but I cannot find a short name that completely describes this check. | |||||
2013-09-11 | Completely remove deprecated stuff | Julian Andres Klode | 1 | -234/+0 | |
2013-05-08 | merged from experimental and uploaded to sid | Michael Vogt | 1 | -0/+2 | |
2013-03-19 | * apt/package.py: | Michael Vogt | 1 | -0/+2 | |
- export codename in apt.package.Origin as well (closes: #703401) | |||||
2013-03-13 | Fix the last commit | Julian Andres Klode | 1 | -4/+2 | |
2013-03-13 | apt/package.py: Try both filenames for package file lists | Julian Andres Klode | 1 | -6/+11 | |
(Closes: #700715) | |||||
2012-03-27 | * apt/package.py: | Michael Vogt | 1 | -1/+4 | |
- if there is no Version.uri return None | |||||
2012-01-30 | GREEN: apt.Version has a "policy_priority" property | Michael Vogt | 1 | -0/+11 | |
2011-12-01 | merged from lp:~mvo/apt/mvo | Michael Vogt | 1 | -5/+11 | |
2011-11-22 | apt/package.py: use lt() instead of cmp() | Michael Vogt | 1 | -2/+2 | |
2011-11-17 | make Dependency a list (it should probably also renamed to DependencyOrGroup ↵ | Michael Vogt | 1 | -8/+6 | |
or something), thanks to Christop Groth | |||||
2011-11-17 | allow Dependency object to be iteratable, this allows to write | Michael Vogt | 1 | -0/+3 | |
code like: for or_dep_group in pkg.candidate.dependencies: for dep in or_dep_group: do_something() | |||||
2011-11-17 | * apt/package.py: | Michael Vogt | 1 | -0/+5 | |
- add new "suggests" property, thanks to Christop Groth | |||||
2011-10-05 | * tests/test_apt_cache.py: | Michael Vogt | 1 | -0/+3 | |
- add __cmp__ to apt.Package so that sort() sorts by name on list of package objects | |||||
2011-09-28 | * apt/package.py: | Michael Vogt | 1 | -2/+2 | |
- packages in marked_install state can also be auto-removable | |||||
2011-08-09 | apt/package.py: make print statements py3 compatbile | Michael Vogt | 1 | -4/+4 | |
2011-05-27 | apt/package.py: fix a few typos [formated->formatted] (Closes: #597054) | Julian Andres Klode | 1 | -4/+4 | |
2011-05-27 | Fix get_changelog in Python 3 (Closes: #626532) | Julian Andres Klode | 1 | -1/+1 | |
2011-04-12 | apt.package: Add 'tasks' to Version, improve doc (Closes: #619574) | Julian Andres Klode | 1 | -4/+34 | |
2011-04-06 | all: Fix all instances of ResourceWarning about unclosed files | Julian Andres Klode | 1 | -7/+5 | |
2011-04-04 | * apt/cache.py, apt/package.py: | Julian Andres Klode | 1 | -8/+34 | |
- Add architecture property to apt.Package (LP: #703472) - Change apt.Package.name to use get_fullname(pretty=True) (LP: #740072) | |||||
2011-01-10 | merged lp:~geser/ubuntu/natty/python-apt/build-with-py3.2 (manually as bzr ↵ | Michael Vogt | 1 | -1/+1 | |
thinks the branches have nothing in common) | |||||
2010-11-17 | * apt/package.py: | Julian Andres Klode | 1 | -1/+1 | |
- Fix docstring of Package.mark_delete() (Closes: #599042) | |||||
2010-08-27 | add "provides" property to the apt.Version objects | Michael Vogt | 1 | -0/+5 | |
2010-05-19 | Add Version.source_version and enhance Sebastian's patch to make use | Julian Andres Klode | 1 | -8/+22 | |
of it, in order to find the best changelog for the package. | |||||
2010-05-19 | Merge a patch from Sebastian Heinlein to make get_changelog() only | Julian Andres Klode | 1 | -17/+8 | |
check sources where source version >= binary version (Closes: #581831). | |||||
2010-03-31 | apt/package.py: Fix fetch_source() to work when source name = binary name ↵ | Julian Andres Klode | 1 | -5/+5 | |
(LP: #552400). | |||||
2010-03-30 | apt/package.py: Decode using utf-8 in installed_files (LP: #407953). | Julian Andres Klode | 1 | -2/+2 | |
2010-03-08 | apt/package.py: Always return unicode strings in Package.get_changelog ↵ | Julian Andres Klode | 1 | -7/+13 | |
(Closes: #572998). | |||||
2010-03-03 | Use the binary package version in Version.fetch_source() if the | Julian Andres Klode | 1 | -1/+2 | |
source version is not specified (i.e. in the normal case). | |||||
2010-03-01 | Style fixes. | Julian Andres Klode | 1 | -1/+0 | |
2010-03-01 | * apt/package.py: | Julian Andres Klode | 1 | -1/+11 | |
- Create a string class BaseDependency.__dstr which makes '>' equal to '>>' and '<' equal to '<<' (compatibility). |