summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | rename pkgSourceList::Add() to pkgSourceList::AddMetaIndex()Michael Vogt2014-05-072-2/+2
| | | | | | | | |
| * | | | | | | | Merge branch 'feature/abspath' into feature/apt-install-debMichael Vogt2014-04-281-0/+4
| |\ \ \ \ \ \ \ \
| | * | | | | | | | fix testsMichael Vogt2014-04-281-0/+4
| | | | | | | | | |
| * | | | | | | | | use flAbsPath()Michael Vogt2014-04-281-2/+1
| | | | | | | | | |
| * | | | | | | | | Merge branch 'feature/abspath' into feature/apt-install-debMichael Vogt2014-04-283-1/+27
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: test/libapt/fileutl_test.cc
| | * | | | | | | | add flAbsPath() as a wrapper to realpath()Michael Vogt2014-04-283-0/+27
| | | |/ / / / / / | | |/| | | | | |
| * | | | | | | | use new Popen()Michael Vogt2014-04-281-10/+13
| | | | | | | | |
| * | | | | | | | Merge branch 'feature/popen' into feature/apt-install-debMichael Vogt2014-04-283-0/+115
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Implement Popen() execv helper to avoid popen()Michael Vogt2014-04-283-0/+115
| | |/ / / / / / /
| * | | | | | | | avoid deb specific code in private-installMichael Vogt2014-04-282-7/+34
| | | | | | | | |
| * | | | | | | | WIP local deb installMichael Vogt2014-04-2812-11/+266
| |/ / / / / / /
| * | | | | | | Merge remote-tracking branch 'upstream/debian/sid' into debian/sidMichael Vogt2014-04-22110-3866/+4020
| |\ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | apt-private/acqprogress.cc: reset color in apt updateMichael Vogt2014-04-161-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-05-07378-81636/+86546
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: apt-pkg/cachefilter.h apt-pkg/contrib/fileutl.cc apt-pkg/contrib/netrc.h apt-pkg/deb/debsrcrecords.cc apt-pkg/init.h apt-pkg/pkgcache.cc debian/apt.install.in debian/changelog
| * | | | | | prepare release 1.0.3Michael Vogt2014-05-0555-57567/+57564
| | | | | | |
| * | | | | | Revert "add bash completion for the "apt" command"Michael Vogt2014-05-053-98/+0
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 697c9314c8ba24f3e393b5de11a3fad7adae4bfc. Conflicts: debian/rules
| * | | | | Only do openpty() if both stdin/stdout are terminalsMichael Vogt2014-04-302-6/+7
| | |_|/ / | |/| | | | | | | | | | | | | Closes: 746434
| * | | | Fix missing ScreenWidth check in apt.ccMichael Vogt2014-04-285-19/+38
| | | | |
| * | | | debian/apt-doc.docs: remove README.MultiArchMichael Vogt2014-04-281-1/+0
| | | | |
| * | | | l10n: vi.po: Update one new stringTrần Ngọc Quân2014-04-281-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
| * | | | allow vendors to install configuration filesDavid Kalnischkies2014-04-263-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Vendors like ubuntu need to change some options, so giving them a way to do this less painfully avoids reducing differences.
| * | | | fix FileFd::Size bitswap on big-endian architecturesAdam Conrad2014-04-261-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gzip only gives us 32bit of size, storing it in a 64bit container and doing a 32bit flip on it has therefore unintended results. So we just go with a exact size container and let the flipping be handled by eglibc provided le32toh removing our #ifdef machinery. Closes: 745866
| * | | | enforce LFS for partial files in https range requestsDavid Kalnischkies2014-04-261-5/+5
| | | | |
| * | | | remove unused duplicated acqprogress.{cc,h} filesDavid Kalnischkies2014-04-262-345/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those files are in apt-private and used from there. Git-Dch: Ignore
| * | | | build http request in a stringstreamDavid Kalnischkies2014-04-261-57/+31
| | | | | | | | | | | | | | | | | | | | | | | | | beside reducing code a bit, it avoids oddball problems while building the string and doesn't trigger static analyse warnings.
| * | | | remove outdated README.MultiArchDavid Kalnischkies2014-04-261-63/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Debian wheezy shipped MultiArch to the masses and the predictions remained true in sofar as little changes in apt itself and many other frontends were needed compared to the fallout if done differently. The info included is this file is therefore no longer current and adds no useful information anymore, so we can drop it for good.
| * | | | add a README for vendor informationDavid Kalnischkies2014-04-261-0/+60
| | | | |
| * | | | add vendor information for BlankOnMahyuddin Ramli2014-04-262-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified by commiter to not publicily export the codename (as the manpages do not use it that way) and removing the included additional derives logic as it was not working (the link always exists at that point) and isn't needed as we do the special casing for debian mainly because it would shallow all distributions otherwise. (similar, but not that strong for ubuntu) Closes: 743595
| * | | | handle pkgnames shorter than modifiersDavid Kalnischkies2014-04-262-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bugreport highlights the problem with an empty package name. We fix this by 'ignoring' these so that it behaves just like "apt-get install". The deeper problem is that modifier strings can be longer than a package name in which case the comparison doesn't make sense, so don't compare then. Was not noticed so far as all modifiers are of length 1, so the only package name shorter than this is in fact the empty package name. Closes: 744940
| * | | | properly undo CD-ROM mount in all error casesJohn Ogness2014-04-262-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In bug #740673 various issues in the CD-ROM handling code were identified, while most the issues ended up being fixed in another way, the unmounting of the CD-ROM in error cases was not tackled so far. (The patch was modified by the commiter to apply)
| * | | | provide support for debian/apt.conf.$(lsb_release -i -s) vendor specific ↵Michael Vogt2014-04-253-0/+16
| | | | | | | | | | | | | | | | | | | | config files
| * | | | add bash completion for the "apt" commandMichael Vogt2014-04-253-0/+98
| | | | |
| * | | | reduce delta from ubuntuMichael Vogt2014-04-255-4/+7
| | | | |
| * | | | prepare release 1.0.2Michael Vogt2014-04-2555-37855/+38242
| | |/ / | |/| |
| * | | Consistently use Dpkg::Progress* in documentationJames McCoy2014-04-221-1/+1
| | | | | | | | | | | | | | | | Closes: 745452
| * | | Updated Thai program translation (closes: #745120)Theppitak Karoonboonyanan2014-04-221-953/+990
| | | |
| * | | Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2014-04-2239-2077/+1998
| |\ \ \
| | * | | support dist-upgrade options in full-upgradeDavid Kalnischkies2014-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dist-upgrade is supposed to be an alias for full-upgrade in apt, but dist-upgrade was the only command recognized of the two in the option and flags recognition code.
| | * | | extract travis installs from build-depends automaticallyDavid Kalnischkies2014-04-162-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I forgot to add libgtest-dev to the list of packages to install on travis, so this slightly hacky oneliner might prevent us from having the same problem again if we happen to change dependencies again. Git-Dch: Ignore
| | * | | use Google C++ Testing Framework for libapt testsDavid Kalnischkies2014-04-1629-2086/+1918
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My commit 45df0ad2 from 26. Nov 2009 had a little remark: "The commit also includes a very very simple testapp." This was never intended to be permanent, but as usually… The commit adds the needed make magic to compile gtest statically as it is required and links it against a small runner. All previous testcase binaries are reimplemented in gtest and combined in this runner. While most code is a 1:1 translation some had to be rewritten like compareversion_test.cc, but the coverage remains the same.
| | * | | clear HitEof flag in FileFd::SeekDavid Kalnischkies2014-04-164-25/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fseek and co do this to their eof-flags and it is more logic this way as we will usually seek away from the end (e.g. to re-read the file). The commit also improves the testcase further and adds a test for the binary compressor codepath (as gz, bzip2 and xz are handled by libraries) via the use of 'rev' as a 'compressor'.
| | * | | force fancy progressbar redraw on window size changeDavid Kalnischkies2014-04-142-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We always reacted on the size change, but the bar is only redraw if the precentage changes, which can take quiet a while in big upgrades, so with a bit of refactoring we can now call for a redraw immediate to fix this. This refactor also helps in avoiding obscure pitfalls clangs static analyser was complaining about (namely failure of ioctl resulting in garbage values in the struct).
| | * | | compile with absolute paths to allow lcov useDavid Kalnischkies2014-04-134-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instructing gcc (or clang) to prepare for capturing coverage data is easy: Just build with: CXXFLAGS=--coverage The hard part is that our buildsystem uses relative paths and so confuses the hell out of lcov as it assumes this way that all our *.cc files are in the same directory… by changing to absolute paths in the compile rules we solve this problem. Still not perfect as it refers to build/include files for most headers and our forking/threading code isn't properly captured, but good enough to see red reports for now: CXXFLAGS=--coverage make make test ./test/integration/run-tests -q lcov --no-external --directory . --capture --output-file apt.info genhtml --output-directory ./coverage/ apt.info Git-Dch: Ignore
| * | | | Fix option name DPkg::Progress-Fancy in apt.8 manpage (LP: #1310506)Michael Vogt2014-04-221-1/+1
| | | | |
| * | | | apt-private/acqprogress.cc: fix output when ctrl-c is hit during apt update ↵Michael Vogt2014-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | (LP: #1310548, closes: #744297)
| * | | | l10n: vi.po (624t): Update translationTrần Ngọc Quân2014-04-111-12/+12
| |/ / / | | | | | | | | | | | | Signed-off-by: Michael Vogt <mvo@debian.org>
| * | | Merge remote-tracking branch 'mvo/feature/helpful-apt-list' into debian/sidMichael Vogt2014-04-112-1/+27
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: test/integration/test-apt-cli-list
| | * | | Notice the user about "apt list -a" when only a single hit if foundMichael Vogt2014-04-092-1/+26
| | |/ / | | | | | | | | | | | | | | | | | | | | If the user is using "apt list pattern" and there is only a single hit, notice about "--all-versions" as this is what the user may be interessted in
| * | | Merge remote-tracking branch 'mvo/bugfix/apt-list-rc-pkgs' into debian/sidMichael Vogt2014-04-113-1/+16
| |\ \ \
| | * | | fix apt list output for pkgs in dpkg ^rc stateMichael Vogt2014-04-083-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Packages in the "deinstall ok config-file" have no candidate or instaleld version. So they must be special cased in the apt list generation.