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

Last commit made on 2020-04-13
Get this branch:
git clone -b package-f 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-f
Repository:
lp:~ddstreet/ubuntu/+source/python-apt

Recent commits

e457ff2... by Dan Streetman

update changelog

bd381dc... by Dan Streetman

fix pycodestyle complaints

1c094b5... by Dan Streetman

tests: update test_aptsources

4c2f960... by Dan Streetman

sourceslist: remove SourcesList.__find()

This function is no longer needed.

18f765e... 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.

8ffe342... by Dan Streetman

sourceslist: change SourcesList.add() to use CollapsedSourcesList

1769c8c... by Dan Streetman

sourceslist: add MergedSourceEntry class

81d78fc... by Dan Streetman

sourceslist: add CollapsedSourcesList class

7055c78... by Dan Streetman

sourceslist: add __eq__ and __len__ functions to SourcesList

634cbdf... by Dan Streetman

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