summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add Range and If-Range support in the webserverDavid Kalnischkies2013-09-301-1/+63
| | | | Git-Dch: Ignore
* access _config via GET requests in the webserverDavid Kalnischkies2013-09-301-3/+71
| | | | Git-Dch: Ignore
* APT has no bugsDavid Kalnischkies2013-09-301-9/+0
| | | | | | | | Okay, maybe it does have a "few", but the DDTP issues mentioned in this file are long since gone, so lets just drop the file and look at the PTS instead: http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=apt Git-Dch: Ignore
* test: apt-get source with more than one argumentDavid Kalnischkies2013-09-261-0/+6
| | | | | Closes: 722549 Git-Dch: Ignore
* print-uris prints regardless of quiet-level againDavid Kalnischkies2013-09-262-1/+25
| | | | | | | | | | While the InstallPackages code was moved from apt-get into the private library the output was moved from (std::)cout to c1out which isn't shown in quiet level 2 (and above), so we flip back to std::cout to ensure that it is always printed as you are not going to use --print-uris if you don't want to see the uris… Closes: 722207
* compression-neutral message for missing data.tar memberDavid Kalnischkies2013-09-261-2/+1
| | | | | | | It even reuses the message used for the other check-for members, so one less message to translate (good, as not that many people will ever see it). Closes: 722710
* pkg from only trusted sources keeps being trustedDavid Kalnischkies2013-09-263-8/+76
| | | | | | | | | | | | | | | | | --allow-unauthenticated switches the download to a pre-0.6 system in which a package can come from any source, rather than that trusted packages can only come from trusted sources. To allow this the flag used to set all packages as untrusted, which is a bit much, so we check now if the package can be acquired via an untrusted source and only if this is the case set it as untrusted. As APT nowadays supports setting sources as trusted via a flag in the sources.list this mode shouldn't be used that much anymore though. [Note that this is not the patch from the BTS] Closes: 617690
* don't strip :any from dependencies in single-archDavid Kalnischkies2013-09-262-4/+56
| | | | | | | | | | | The parser goes a bit to far by stripping :any from dependencies in a single architecture environment. the flag "Multi-Arch: allowed" doesn't care any architecture restrictions in that case (as in single arch everything is native), but it still limits the possible versions statisfying the dependency so stripping :any over-simplifies in upgrade situations from "Multi-Arch: none" to "Multi-Arch: allowed". Closes: 723586
* Fix typo in apt-private/private-show.cc. Thanks to Benjamin Keresa. Closes: ↵Christian PERRIER2013-09-232-1/+8
| | | | #724073
* releasing package apt version 0.9.11.4Michael Vogt2013-09-201-0/+12
|
* do not trust FileFd::Eof() in pkgTagFile::Fill()David Kalnischkies2013-09-204-1/+263
| | | | | | | | | | | | | | | | | | | | The Eof check was added (by me of course) in 0aae6d14390193e25ab6d0fd49295bd7b131954f as part of a fix up ~a month ago (at DebConf). The idea was not that bad, but doesn't make that much sense either as this bit is set by the FileFd based on Actual as well, so this is basically doing the same check again – with the difference that the HitEof bit can still linger from a previous Read we did at the end of the file, but have seek'd away from it now. Combined with the length of entries, entry order and other not that easily controllable conditions you can be 'lucky' enough to hit this problem in a way which even visible (truncating of other fields might not be visible easily, like 'Tags' and others). Closes: 723705 Thanks: Cyril Brulebois
* add a testcase for 100 char long path truncate bug #689582David Kalnischkies2013-09-121-0/+35
| | | | Git-Dch: Ignore
* don't truncate 100 char long paths in tar extractionOskari Saarenmaa2013-09-121-13/+11
| | | | | | | | | | | | When a data.tar.{gz,xz} contains a path name that is exactly 100 characters long, it will get truncated to 99 chars upon extraction in ExtractTar::Go(). Using all of the 100 available characters for the filename seems to be new behaviour in gnu tar. Closes: #689582 Thanks: Mika Eloranta for the testcase!
* Fix regression of "apt-cache unmet -i", thanks to Daniel Schepler (closes: ↵Michael Vogt2013-09-102-1/+7
| | | | #722324)
* prepare uploadMichael Vogt2013-09-101-0/+15
|
* use FileFd in HashSum test to unbreak non-linux portsDavid Kalnischkies2013-09-031-16/+16
| | | | | | | | | | | | The testcode happily mixes FILE* operations and direct access to fds which is even a bit suprising that it works on linux and worked so long for non-linux ports, so we switch to usage of FileFd instead which provides us with simple fd-only operations. Its overkill for this test as its a bare file and we ask for the descriptor all the time, but it shouldn't hurt to implicitly test it a bit this way. Closes: 721723 Thanks: Aaron M. Ucko
* fix vim-style foldmarkerDavid Kalnischkies2013-09-037-50/+39
| | | | Git-Dch: Ignore
* Remove invalid "-f" option for apt-get checkMichael Vogt2013-09-011-1/+1
| | | | Thanks to Philipp Weis (closes: #721477)
* Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sidMichael Vogt2013-09-013-2/+19
|\
| * fix typo (mkostemp->mkstemp)Michael Vogt2013-08-311-1/+1
| |
| * Merge remote-tracking branch 'mvo/feature/install-progress' into debian/sidMichael Vogt2013-08-282-1/+18
| |\
| | * Add DPkgPM::Progress for terminal install progressMichael Vogt2013-07-112-1/+18
| | |
* | | prepare upload of 0.9.12Michael Vogt2013-08-311-2/+9
|/ /
* | Merge remote-tracking branch 'mvo/feature/upgrade-with-cmdline' into debian/sidMichael Vogt2013-08-284-40/+55
|\ \
| * | allow pkg manipulation in the upgrade/dist-upgrade commandline, e.g. apt-get ↵Michael Vogt2013-08-274-32/+54
| | | | | | | | | | | | dist-upgrade 2vcard- 4g8+
| * | use SPtr<pkgProblemResolver> to simply codeMichael Vogt2013-08-271-8/+1
| | |
* | | Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2013-08-286-31/+64
|\ \ \
| * | | configurable compression for testcasesDavid Kalnischkies2013-08-285-24/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compressing files in 4 different styles eats test-time for no practical gain if we don't test them explicitly, so default to just building 'gz' compressed files as it is the simplest compression algorithm supported Git-Dch: Ignore
| * | | old-style dpkg foreign architecture adding for testsDavid Kalnischkies2013-08-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like the travis service runs on Ubuntu in a version which has dpkg with an earlier interface implementation, so lets try if we can't make the framework work with this dpkg version as well. Git-Dch: Ignore
| * | | use mkstemp instead of mkostemp in FileFd::Open()David Kalnischkies2013-08-271-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FileFd currently supports no fileflags which would make sense to provide via mkostemp, so we can just use mkstemp here which is a standard function compared to glib extension mkostemp. O_CREAT (Create) and O_TRUNC (Empty) are implied by O_EXCL, which is the mode mkstemp uses by default. The file description is opened ReadWrite, but that used to be the default for FileFd in the old times and not a problem as the difference is needed by FileFd to decide in which way the compressor pipeline needs to be created (if any). Git-Dch: Ignore
| * | | replace usage of potential dangerous mktemp with mkstempAngel Guzman Maeso2013-08-271-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid the warning "the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'". It is not strictly necessary to change the usage from a security point of view here, but mktemp is also removed from the standard since POSIX.1-2008. The mkostemp call returns a file descriptor the logic for TemporaryFileName has been changed accordingly to get the same results. The file permissions are corrected by using fchmod() as the default for FileFd is 666 while mkstemp creates files with 600 by default.
* | | | Complete Italian translationChristian PERRIER2013-08-281-153/+5
| | | |
* | | | Update Italian translation. Closes: #721030Christian PERRIER2013-08-272-16/+30
|/ / /
* | | update changelogMichael Vogt2013-08-261-1/+3
| | |
* | | apt-private/private-cmndline.cc: fix typo: s/deselect-upgrade/dselect-upgrade/Michael Vogt2013-08-261-1/+1
| | |
* | | dselect/install: add new DSELECT_UPGRADE_OPTS="-f"Michael Vogt2013-08-261-3/+4
| | |
* | | dselect/install:Michael Vogt2013-08-262-2/+6
| | | | | | | | | | | | | | | * dselect/install: - remove "-f" option for apt-get dselect-upgrade (closes: #720532)
* | | Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sidMichael Vogt2013-08-262-48/+57
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: debian/changelog
| * | | Changelog entry for Vietnamese translationChristian PERRIER2013-08-251-0/+7
| | | |
| * | | Update Vietnamese translation to 0.9.11Tran Ngoc Quan2013-08-251-48/+50
| | | | | | | | | | | | | | | | Signed-off-by: Tran Ngoc Quan <vnwildman@gmail.com>
* | | | update changelog for updateMichael Vogt2013-08-241-0/+23
|/ / /
* | | Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt2013-08-242-2/+2
|\| |
| * | dselect/update: remove "-f" option as its not being used in the context of ↵Michael Vogt2013-08-231-1/+1
| | | | | | | | | | | | apt-get update
| * | ftparchive/override.cc: fix "skip empty lines" code, the pointer needs to ↵Michael Vogt2013-08-231-1/+1
| | | | | | | | | | | | get de-referenced first
* | | Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sidMichael Vogt2013-08-2210-7/+49
|\| |
| * | do chdir("/") after chroot()Michael Vogt2013-08-223-4/+4
| | |
| * | Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2013-08-221-2/+3
| |\ \
| | * | fix compiler warning about sign-compareAngel Guzman Maeso2013-08-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix avoids the warning "comparison between signed and unsigned integer expressions [-Wsign-compare]". The index for the loop needs to be unsigned for compare with globbuf.gl_pathc structure member.
| | * | add versions to manpages-it Replaces+BreaksDavid Kalnischkies2013-08-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the meantime the package was updated to remove the old APT manpages from this package, so we can now add a Breaks and version it, too. The intial Replaces was added in: b57220d815aedbc023847d0885e08c6ed50e629a
| | * | add a breaks libapt-inst for FileFd changes in 0.9.9David Kalnischkies2013-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial upgrades… The fix for 704608 assumes that bf35c19b817cc1474b3deabce0b0953c248bad42 was applied to libapt-inst which isn't the case for partial upgrades of course, so break it to ensure that it is the case. Closes: 720449