~ddstreet/ubuntu/+source/python-apt:package-e

Last commit made on 2020-03-04
Get this branch:
git clone -b package-e https://git.launchpad.net/~ddstreet/ubuntu/+source/python-apt
Only Dan Streetman can upload to this branch. If you are Dan Streetman please log in for upload directions.

Branch merges

Branch information

Name:
package-e
Repository:
lp:~ddstreet/ubuntu/+source/python-apt

Recent commits

9f0dd5a... by Dan Streetman

update changelog

613e89e... by Dan Streetman

fix pycodestyle complaints

70e7b6d... by Dan Streetman

tests: update test_aptsources

33a9ee7... by Dan Streetman

sourceslist: remove SourcesList.__find()

This function is no longer needed.

3f4d710... by Dan Streetman

sourceslist: add remove param to SourcesList.save()

Any files in the list that have all their entries removed from the list
will be completely ignored during save(), instead of overwriting and/or
removing the file.

The current SoftwareProperties code works around this problem by
adding an empty (invalid) SourceEntry whenever it detects that it
is removing the final SourceEntry for a file.

This does not change the default behavior, so the new action of removing
files will only happen for callers that set remove=True.

9f0acea... by Dan Streetman

sourceslist: change SourcesList.add() to use CollapsedSourcesList

bcb99bf... by Dan Streetman

sourceslist: add MergedSourceEntry class

3491d5c... by Dan Streetman

sourceslist: add CollapsedSourcesList class

2c8e524... by Dan Streetman

sourceslist: add __eq__ and __len__ functions to SourcesList

334534b... by Dan Streetman

sourceslist: implement copy(SourceEntry) and SourceEntry._replace()