]> git.saurik.com Git - apt.git/commit - apt-pkg/sourcelist.cc
support lang= and target= sources.list options
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 21 Jun 2015 14:47:53 +0000 (16:47 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 10 Aug 2015 15:25:26 +0000 (17:25 +0200)
commit463c8d801595ce5ac94d7c032264820be7434232
tree79963d92b9766709b07d0c5cbc42638896d3450e
parent3d8232bf97ce11818fb07813a71136484ea1a44a
support lang= and target= sources.list options

We support arch= for a while, now we finally add lang= as well and as a
first simple way of controlling which targets to acquire also target=.

This asked for a redesign of the internal API of parsing and storing
information about 'deb' and 'deb-src' lines. As this API isn't visible
to the outside no damage done through.

Beside being a nice cleanup (= it actually does more in less lines) it
also provides us with a predictable order of architectures as provides
in the configuration rather than based on string sorting-order, so that
now the native architecture is parsed/displayed first. Observeable e.g.
in apt-get output.
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/debmetaindex.cc
apt-pkg/deb/debmetaindex.h
apt-pkg/sourcelist.cc
apt-pkg/sourcelist.h
cmdline/apt-get.cc
doc/sources.list.5.xml
test/integration/test-bug-632221-cross-dependency-satisfaction
test/integration/test-ignore-provides-if-versioned-breaks
test/integration/test-ignore-provides-if-versioned-conflicts
test/integration/test-sourceslist-lang-plusminus-options [new file with mode: 0755]