summaryrefslogtreecommitdiff
path: root/cmdline
Commit message (Collapse)AuthorAgeFilesLines
* warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies2014-03-139-18/+18
| | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore
* warning: no previous declaration for foobar() [-Wmissing-declarations]David Kalnischkies2014-03-1311-66/+66
| | | | | Git-Dch: Ignore Reported-By: gcc -Wmissing-declarations
* warning: extra ‘;’ [-Wpedantic]David Kalnischkies2014-03-131-13/+13
| | | | | Git-Dch: Ignore Reported-By: gcc -Wpedantic
* fix -Wmissing-field-initializers warningsDavid Kalnischkies2014-03-131-1/+1
| | | | | Reported-By: gcc Git-Dch: Ignore
* support DEB_BUILD_PROFILES and -P for build profilesDavid Kalnischkies2014-03-132-0/+11
| | | | | | | | | | Inspired by the rest of the patch in 661537, but abstract the parsing of various ways of setting the build profiles more so it can potentially be reused and all apt parts have the same behaviour. Especially config options, cmdline options and environment will not be combined as proposed as this isn't APTs usual behaviour and dpkg doesn't do it either, so one overrides the other as it normally does.
* initial version of apt-helperMichael Vogt2014-02-272-0/+134
|
* Add support for data.tar, control.tar and control.tar.xzGuillem Jover2014-02-221-14/+4
| | | | | | | | Sync the deb(5) format support with latest dpkg, by allowing uncompressed tar members and xz compressed control.tar. This also refactors the control.tar member extraction by using ExtractTarMember(), which also means future changes only need to be implemented in a single place.
* Fix typos in documentation (codespell)Michael Vogt2014-02-224-8/+8
|
* remove auto-generated apt-key and sources.list on clean (closes: 739749)Michael Vogt2014-02-221-14/+19
|
* trivial indent fixMichael Vogt2014-02-131-1/+1
|
* Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt2014-02-122-6/+0
|\ | | | | | | | | Conflicts: test/integration/test-apt-get-download
| * Use a APT::VersionSet instead of a VersionListMichael Vogt2014-02-121-3/+3
| | | | | | | | | | | | | | Use a APT::VersionSet instead of a APT::VersionList in DoDownload() to ensure that there is only one version in the set even if the user passes multiple identical name/versions on the commandline (Bug#738103)
| * move isatty() check into InitOutput()Michael Vogt2014-02-052-6/+0
| |
* | apt-cdrom should succeed if any drive succeedsJohn Ogness2014-02-121-17/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there are multiple CD-ROM drives, `apt-cdrom add` will abort with an error if any of the drives do not contain a Debian CD which is against the documentation we have saying "a CD-ROM" and also scripts do not expect it this way. This patch modifies apt-cdrom to return success if any of the drives succeeded. If failures occur, apt-cdrom will still continue trying all the drives and report the last failure (if none of them succeeded). The 'ident' command was also changed to match the new 'add' behavior. Closes: 728153
* | use VersionSet in download to handle repeatsDavid Kalnischkies2014-02-101-3/+3
|/ | | | Closes: 738103
* fix apt-get download truncation (closes: #736962)Michael Vogt2014-01-291-3/+6
|
* Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2014-01-261-13/+14
|\ | | | | | | | | | | | | Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework
| * use gpg --homedir instead of explicit file placementDavid Kalnischkies2014-01-161-13/+14
| | | | | | | | | | | | Avoids that gpg gets the idea it could use files from the user which weren't overridden specifically like secret keyring and trustdb as before.
* | apt-mark help shows all commands nowMichael Vogt2014-01-241-0/+5
| |
* | add "apt full-upgrade" and tweak "apt upgrade"Michael Vogt2014-01-242-23/+17
| | | | | | | | | | | | | | | | There is a new "apt full-upgrade" that performs a apt-get dist-upgrade. "apt dist-upgrade" is still supported as a alias. The "apt upgrade" code is changed so that it mirrors the behavior of "apt-get upgrade --with-new-pkgs" and also honors "apt uprade --no-new-pkgs".
* | add test for apt showMichael Vogt2014-01-221-1/+2
| |
* | add purge to the apt cmdlineMichael Vogt2014-01-171-1/+5
| |
* | add missing integration test for "apt list"Michael Vogt2014-01-171-10/+13
| |
* | reword !isatty() warningMichael Vogt2014-01-171-4/+3
| |
* | add apt upgrade --distMichael Vogt2014-01-171-1/+10
|/
* Merge branch 'feature/test-apt-key-net-update' into debian/sidMichael Vogt2013-12-271-6/+13
|\
| * fix apt-key net-update test to use the buildin webserverMichael Vogt2013-12-191-1/+1
| |
| * make apt-key net-update actually testableMichael Vogt2013-12-131-6/+13
| |
* | factor GetTempDir outMichael Vogt2013-12-222-14/+7
| |
* | Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sidMichael Vogt2013-12-121-1/+1
|\|
| * clarify error message when apt-get source=ver fails, print a real error ↵Michael Vogt2013-12-121-1/+1
| | | | | | | | message instead of "ignoring"
* | improve error messageMichael Vogt2013-12-111-3/+6
|/
* improve error message for apt-get source pkg:arch{=ver,/release}Michael Vogt2013-12-111-4/+14
|
* add support for "apt-get source pkg:arch"Michael Vogt2013-12-111-10/+50
|
* user-requested version tag gets precedence in apt-get source -t dist ↵Michael Vogt2013-12-101-4/+4
| | | | pkg=version requests
* fix typoMichael Vogt2013-12-101-1/+1
|
* if there is only deb-src pick higest version in deb-src release matchingMichael Vogt2013-12-101-3/+5
|
* * enable release based selection for deb-src (closes: 731102)Michael Vogt2013-12-051-25/+97
|
* generate apt-key script with vendor info about keysDavid Kalnischkies2013-12-012-5/+13
| | | | | | | The apt-key script uses quiet a few keyring files for operation which are specific to the distribution it is build on and is hence one of the most patched parts – even if it is not that often used anymore now that a fragment directory for trusted.gpg exists.
* cherry-pick ubuntus (disabled) net-update fixesDavid Kalnischkies2013-12-011-13/+31
| | | | | | | With the net-update command a special keyring can be downloaded and imported into apt, which must be signed by a master key. Its is currently disabled because of security problems with it – and the only known user before that was Ubuntu.
* move EditSources into its own fileMichael Vogt2013-11-281-37/+1
|
* add check when sources.list changedMichael Vogt2013-11-261-6/+14
|
* add syntax check for sources.listMichael Vogt2013-11-261-3/+16
|
* add basic "edit-sources" commandMichael Vogt2013-11-252-18/+25
|
* Merge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sidMichael Vogt2013-10-222-26/+2
|\
| * rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGESMichael Vogt2013-10-051-66/+41
| |\
| * | * move upgrade releated code into upgrade.{cc,h}Michael Vogt2013-10-052-1/+2
| | | | | | | | | | | | | | | | | | The upgrade releated code is moved into upgrade.{cc,h} and all pkg*Upgrade* prototypes are included in algorihms.h to avoid breaking API (unless build with APT_9_CLEANER_HEADERS).
| * | cleanup upgrade API some more (thanks for the feedback from David)Michael Vogt2013-10-051-26/+0
| | |
* | | Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sidMichael Vogt2013-10-081-1/+1
|\ \ \ | |_|/ |/| |
| * | Merge remote-tracking branch 'upstream/debian/sid' into feature/upgrade-with-newMichael Vogt2013-08-281-3/+4
| |\ \