]> git.saurik.com Git - apt.git/commit
add --with-source option and Packages/Sources support
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 16 Aug 2016 18:08:29 +0000 (20:08 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 17 Aug 2016 12:12:25 +0000 (14:12 +0200)
commit8bd823d0a1f7e08ad94a7110bb118f73348133a1
tree29d2b2920123653c02bded8a6f8faf66dd69e8e8
parente289907f5e7241034cb0d37055dc2cba4e3a19af
add --with-source option and Packages/Sources support

We support "./foobar.deb" as a way to install a deb file directly.
Recently .changes files were added. This highlights a problem as you
can't add the changes file without also trying to install all of them.
Now, it could also be handy to add entire Packages/Sources files to
perhaps get a bunch of packages in without installing them all
implicitly.

This commit introduces --with-source which allows to add *.deb, *.changes,
*.dsc, source-dirs, Packages & Sources files (the later can also be
compressed) without also installing them.
apt-pkg/deb/debindexfile.cc
apt-pkg/indexfile.cc
apt-pkg/sourcelist.cc
apt-private/private-cmndline.cc
doc/apt-cache.8.xml
doc/apt-get.8.xml
test/integration/test-apt-get-install-deb
test/integration/test-apt-key-used-in-maintainerscript