summaryrefslogtreecommitdiff
path: root/cmdline
Commit message (Collapse)AuthorAgeFilesLines
* enable DPkg::Progress-Fancy by defaultMichael Vogt2014-04-011-1/+1
|
* Use mkstemp() in apt-extracttemplaes (closes: #741627)Michael Vogt2014-03-271-6/+9
| | | | | Use mkstemp() in apt-extractemplates and add a integrationtest for apt-extracttemplates too. Thanks to Steve Kemp for the report.
* fix test/integration/test-apt-helperMichael Vogt2014-03-1413-365/+315
|\
| * cmdline parsing: apt-config is not apt-cdromDavid Kalnischkies2014-03-131-1/+1
| |
| * improve debug output in case downloadfile failsDavid Kalnischkies2014-03-131-8/+7
| | | | | | | | Git-Dch: Ignore
| * remove code duplication for Add & Ident in apt-cdromDavid Kalnischkies2014-03-131-121/+81
| | | | | | | | | | | | | | | | | | The preparation code to deal with auto-detection and co is the same for both methods, so not sharing them would be bad. Deals also with the prevention of side effects triggered by the auto-detection like disabling mounting for the fallback. Git-Dch: Ignore
| * use SPtrArray handling instead of explicit delete[]David Kalnischkies2014-03-131-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | The warning message from gcc doesn't make that much sense in my reading as there is no loop which could overflow here, but it is better to use our SPtrArray wrapping anyway which fixes the warning as well. warning: cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizations] delete[] Dsc; Git-Dch: Ignore Reported-By: gcc -Wunsafe-loop-optimizations
| * follow method attribute suggestions by gccDavid Kalnischkies2014-03-132-2/+2
| | | | | | | | | | Git-Dch: Ignore Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn}
| * cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-1313-132/+130
| | | | | | | | | | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
| * 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.
* | Merge remote-tracking branch 'upstream/debian/sid' into ↵Michael Vogt2014-03-121-1/+2
|\| | | | | | | | | | | | | | | | | feature/apt-download-file Conflicts: cmdline/apt-helper.cc test/integration/framework test/integration/test-apt-https-no-redirect
| * initial version of apt-helperMichael Vogt2014-02-272-0/+134
| |
* | add hashsum support in apt-file download and add more testsMichael Vogt2014-03-121-0/+11
| |
* | 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
|