summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add a testcase to check for forbidden https→http downgradesDavid Kalnischkies2014-02-143-3/+14
| | | | Git-Dch: Ignore
* honor option to disable pulses for the testcasesDavid Kalnischkies2014-02-143-4/+8
| | | | Git-Dch: Ignore
* simplify code some more to make reddit happyDavid Kalnischkies2014-02-141-38/+29
| | | | | | | | | | | | | Commit 6008b79adf1d7ea5607fab87a355d664c8725026 should have been guarded by "Git-Dch: Ignore", but it wasn't and I only noticed it with the Close message via deity thinking "hehe, I wonder if someone is gonna notice". Looks like someone did: hats off to reddit user itisOmegakai! Good to know that what I do isn't only monitored by goverments. :) As there is another instance of basically the same code we just factor out the code a bit and reuse, so its even cleaner and not only simpler. Reported-By: scan-build
* disable https->http redirects in libcurlMichael Vogt2014-02-144-2/+29
| | | | This change prevents changing the protocol from https to http.
* test/integration/test-bug-723705-tagfile-truncates-fields: fix autopkgtest ↵Michael Vogt2014-02-141-1/+1
| | | | failure
* do not compress .xhtml files and remove junk filesDavid Kalnischkies2014-02-141-1/+2
| | | | | | | | | dh_compress compresses .xhtml files by default, which breaks our doxygen documentation. doxygen has also a bunch of temporary files it creates which stay in the build directory and so we remove them before installing them as documentation. Closes: 738933
* enforce 'house-style' on changelog testcaseDavid Kalnischkies2014-02-141-5/+5
| | | | Git-Dch: Ignore
* allow http protocol to switch to httpsDavid Kalnischkies2014-02-144-7/+68
| | | | | | | | | switch protocols at random is a bad idea if e.g. http can switch to file, so we limit the possibilities to http to http and http to https. As very few people (less than 1% according to popcon) have https installed this likely changes nothing in terms of failure. The commit is adding a friendly hint which package needs to be installed though.
* report https download start only if we really get itDavid Kalnischkies2014-02-143-17/+39
| | | | | | Reporting it via progress means that e.g. a redirect will trigger it, too, so you get a Get & Hit while http only reports a Hit as it should be.
* do not recommend dselect in apt-get manpageDavid Kalnischkies2014-02-141-7/+4
| | | | | | | | | The current description says: "Many users find dselect intimidating and new users may prefer to use apt-based user interfaces." It doesn't feel right to refer users to it then. Closes: 617625
* trivial indent fixMichael Vogt2014-02-131-1/+1
|
* use "Restrictions: allow-stderr and avoid apt-stderr.log in ↵Michael Vogt2014-02-132-5/+3
| | | | debian/tests/run-tests
* releasing package apt version 0.9.15.2Michael Vogt2014-02-1355-4949/+4862
|
* remove duplicated apt-get download apt apt testMichael Vogt2014-02-131-4/+0
|
* l10n: vi.po (621t): Update and reviewTrần Ngọc Quân2014-02-131-468/+476
| | | | Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
* Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt2014-02-125-10/+10
|\ | | | | | | | | Conflicts: test/integration/test-apt-get-download
| * Use a APT::VersionSet instead of a VersionListMichael Vogt2014-02-122-3/+8
| | | | | | | | | | | | | | 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-054-10/+5
| |
* | remove duplication in pkgCdrom::Add and ::IdentDavid Kalnischkies2014-02-123-90/+46
| | | | | | | | Git-Dch: Ignore
* | apt-cdrom should succeed if any drive succeedsJohn Ogness2014-02-122-19/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 utimes instead of utimensat/futimensDavid Kalnischkies2014-02-119-58/+53
| | | | | | | | | | | | | | | | | | | | | | cppcheck complains about the obsolete utime as it was removed in POSIX1.2008 and recommends usage of utimensat/futimens instead as those are in POSIX and so commit 9ce3cfc9 switched to them. It is just that they aren't as portable as the standard suggests: At least our kFreeBSD and Hurd ports stumble over it at runtime. So to make both, the ports and cppcheck happy, we use utimes instead. Closes: 738567
* | use VersionSet in download to handle repeatsDavid Kalnischkies2014-02-102-7/+12
| | | | | | | | Closes: 738103
* | always cleanup patchfiles at the end of rred callDavid Kalnischkies2014-02-102-7/+30
| | | | | | | | | | | | | | | | | | With APT::Get::List-Cleanup disabled the ed-style patch files are lingering in the lists/ directory otherwise. That was kinda okay in the old none-client-merge as the filename was always the same so it was constantly overridden, but now with different names for client-merge quiet a few could pill up on the system and are used by the next call as it picks them up based on the filename.
* | do not use an empty APT_CONFIG environment variableDavid Kalnischkies2014-02-101-1/+1
| |
* | disable doxygen undocumented method warningDavid Kalnischkies2014-02-101-1/+1
| | | | | | | | | | | | | | | | Very few methods we have are documented, so this is A LOT of noise hidden the "interesting" warnings about methods which are documented, but incorrectly and such stuff. Git-Dch: Ignore
* | bump Standards-Version to 3.9.5 (no changes needed)David Kalnischkies2014-02-101-1/+1
| |
* | update libapt-pkg.symbols fileDavid Kalnischkies2014-02-101-2/+18
| |
* | simplify code to make compilers happyDavid Kalnischkies2014-02-101-3/+9
| | | | | | | | | | | | | | | | Does the same as before, but is a bit simpler on the logic for humans as well as compilers. scan-build complained about it at least with: "Result of operation is garbage or undefined" Reported-By: scan-build
* | fix remaining testcase-bugs from my armel boxDavid Kalnischkies2014-02-103-51/+70
| | | | | | | | Git-Dch: Ignore
* | releasing package apt version 0.9.15.1Michael Vogt2014-02-0655-7906/+8372
| |
* | multicompress with externals sets wrong file modesColin Watson2014-02-062-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy from the bug description: After we upgraded the Ubuntu master archive from lucid to precise, we noticed that Translation-en.bz2 was being written with mode 0600 rather than 0644, which broke our mirroring. This is no longer reproducible as such in unstable because apt now links against libbz2, but it's still reproducible with xz; it happens because multicompress fchmods one end of the compression pipe in this case rather than the target file. [Original testcase slightly modified to comply with house-style] Closes: 737130
* | Merge remote-tracking branch 'mvo/bugfix/multiarch-upgrade' into debian/sidMichael Vogt2014-02-064-34/+67
|\ \
| * | Fix multiarch package upgrade issueMichael Vogt2014-02-042-0/+34
| |/ | | | | | | | | | | When checking for negative dependencies in MarkInstall() ensure that only dependencies that are relevant (i.e. getting installed) are checked.
| * show "status" in apt list lastMichael Vogt2014-01-312-34/+33
| |
* | discard impossible candidates in MarkInstallDavid Kalnischkies2014-02-062-2/+93
| | | | | | | | | | | | | | | | | | If a (Pre-)Depends can't be satisfied there is no point in keeping the candidate as is as it is impossible to find a solution for it, so we can just as well reset the candidate to the currently installed version. We avoid trying to install this impossible candidate later on this way. Closes: #735967
* | Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2014-01-317-51/+65
|\ \ | |/ |/|
| * fix various style/performance warnings in rredDavid Kalnischkies2014-01-303-45/+24
| | | | | | | | | | Reported-By: cppcheck Git-Dch: Ignore
| * restart debSrcRecordParsers only if neededDavid Kalnischkies2014-01-302-5/+6
| | | | | | | | | | | | | | | | | | | | The offset variable in DebSrcRecordParser was not initialized which we now do and based on it do not trigger a restart if the parser was not used yet avoiding a needless rescan of the section. Detected while working on the previous commit e62aa1dd. Both commits act as a "fix" for the bug shown in the testcase of the commit – this one here would only hide it through.
| * pkgTagFile: if we have seen the end, do not try to see moreDavid Kalnischkies2014-01-302-1/+35
| | | | | | | | | | | | | | | | | | | | Asking for more via Step() will notice that we are done with the file already and will result in a fail, which means we can't find the last sections anymore (which is especially painful if we haven't moved at all as in the testcase we haven't even looked at one of the sources leading to a strange behaviour) Reported-By: Niall Walsh <niallwalsh@users.berlios.de>
* | do not crash if VF.File()/VF.File().Archive() is NULLMichael Vogt2014-01-301-2/+4
| |
* | fix apt-get download truncation (closes: #736962)Michael Vogt2014-01-292-3/+13
| |
* | add test for Suite with pathMichael Vogt2014-01-281-0/+11
|/
* enable deb822 sources for associated testcaseDavid Kalnischkies2014-01-261-2/+4
| | | | Git-Dch: Ignore
* fixup merge issues introduced in 796673cDavid Kalnischkies2014-01-261-2/+2
| | | | | | | Issues in doc/po/de.po (fixed by Chris already) and test/integration/framework Git-Dch: Ignore
* Trivian unfuzzies of the German po4a translationChris Leick2014-01-261-78/+49
|
* Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2014-01-2637-373/+454
|\ | | | | | | | | | | | | Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework
| * use svg in doxygen and ensure dot is around for itDavid Kalnischkies2014-01-252-5/+5
| |
| * update german manpage translationChris Leick2014-01-241-69/+64
| |
| * get color/msglevel handling for tests in lineDavid Kalnischkies2014-01-172-24/+41
| | | | | | | | | | | | | | | | | | Without a PTY attached do not use color, but use the same MSGLEVEL with or without a PTY. The level is better adjust via flags – especially as it is likely that without a PTY you want fullblown logs instead of the reduced display you get with -q otherwise. Git-Dch: Ignore
| * ensure the right permissions as dpkg-deb ensistsDavid Kalnischkies2014-01-171-0/+2
| | | | | | | | | | | | | | | | | | otherwise you get with pickier umasks errors like: dpkg-deb: error: control directory has bad permissions 700 (must be >=0755 and <=0775) so we just force a 755 for the control directory and dpkg is happy. Git-Dch: Ignore