summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* prepare 1.0.8Michael Vogt2014-09-0948-51371/+54855
|
* debian/gbp.conf: use export-dirMichael Vogt2014-09-091-0/+2
|
* don't call pager in non-terminals for changelogDavid Kalnischkies2014-09-093-22/+45
| | | | | | | | | | | | | | | Most pagers are nice and default to running non-interactively if they aren't connected to a terminal and we relied on that. On ci.debian.net the configured pager is printing a header out of nowhere though, so if we are printing to a non-terminal we call "cat" instead. In the rework we also "remove" the dependency on sensible-utils in sofar as we call some alternatives if calling the utils fail. This seems to be the last problem preventing a "PASS" status on ci.debian.net, so we close the associated bugreport. Closes: 755040
* rework PTY magic to fix stair-stepping on kfreebsdDavid Kalnischkies2014-09-082-53/+107
| | | | | | | | | | | | A pty slave we have got from openpty can only be used for one dpkg child, if we give it to a second child on kfreebsd setting TIOCSCTTY fails causing the output to be stair-stepped from now on. By switching the code to creating a master and opening a new slave in the child for each child we can fix this glitch, so that at least the master remains stable. Closes: 759684
* fix progress report for upgrade and reinstallDavid Kalnischkies2014-09-082-38/+57
| | | | | | | | | | | APT treats upgrades like installs and dpkg is very similar in this, but prints still a slightly different processing message indicating that it is really an upgrade which we hadn't parsed so far, but this wasn't really visible as we quickly moved on to a 'known' state. More problematic was the reinstall case as apt hadn't recognized this for the package name detection, so that reinstalls had no progress since we introduced MultiArch.
* fix and non-silent fail dpkg-overwrite error testDavid Kalnischkies2014-09-071-1/+6
| | | | | | | | Commit cbcdd3ee9d86379d1b3a44e41ae8b17dc23111d0 removes the space at the end of the debfile name dpkg send to us and we previously had included in the pmerror message we printed on the statusfd. Git-Dch: Ignore
* strip everything spacey in APT::String::StripDavid Kalnischkies2014-09-072-6/+33
| | | | Git-Dch: Ignore
* detect terminal output with 'test -t' in testsDavid Kalnischkies2014-09-072-2/+2
| | | | | | | | Instead of trying to inspect /proc and the fds inside we use "test -t 1" instead as this is available and working on kfreebsd as well – not that something breaks if we wouldn't, but we like color. Git-Dch: Ignore
* do use an 'unknown' arch-specification in testDavid Kalnischkies2014-09-071-4/+4
| | | | | | | | Using 'kfreebsd' here makes the test fail on a kfreebsd system (obviously), so we just use something totally madeup in the hope that this is less like to conflict in the future. Git-Dch: Ignore
* make GetLocalitySortedVersionSet more genericDavid Kalnischkies2014-09-075-57/+64
| | | | | | | | | No reason in and of by itself at the moment, but prepares for the goal of having 'apt search' and 'apt-cache search' using the same code now that they at least support the same stuff. The 'apt' code is just a multitude slower at the moment… Git-Dch: Ignore
* implement --full in apt searchDavid Kalnischkies2014-09-075-40/+73
|
* use a format string in ListSingleVersionDavid Kalnischkies2014-09-071-72/+75
| | | | | | | | The method already deals with a format string, but had an else path doing a hardcoded format as well. This is changed now to use the same code for both - the format in the second case is still fixed though. Git-Dch: Ignore
* skip version if we already have this package as search-resultDavid Kalnischkies2014-09-071-5/+11
| | | | Git-Dch: Ignore
* support regular expressions in 'apt search'David Kalnischkies2014-09-074-20/+64
| | | | | apt-cache search supported this since ever and in the code for apt was a fixme indicating this should be added here as well, so here we go.
* Improve Debug::Acquire::http debug outputMichael Vogt2014-09-052-4/+5
| | | | | Prefix all answers with the URL that the answer is for. This helps when debugging and pipeline is enabled.
* Ensure we have a Policy in CacheFile.BuildDepCache()Michael Vogt2014-09-053-8/+5
| | | | | | This partly reverts d059cc2 and fixes bug #753297 in a more general way by ensuring that CacheFile.BuildDepCache() builds a pkgPolicy if there isn't one already.
* Fix incorrect upgradable listing in "apt list" (thanks to Michael Musenbrock)Michael Vogt2014-09-053-2/+42
| | | | | | | | | | The "apt list" command was using only the pkgDepCache but not the pkgPolicy to figure out if a package is upgradable. This lead to incorrect display of upgradable package when the user used the policy to pin-down packages. Thanks to Michael Musenbrock for the initial patch. Closes: #753297
* test/integration/test-ubuntu-bug-346386-apt-get-update-paywall: use ↵Michael Vogt2014-09-031-7/+5
| | | | downloadfile()
* Run autopkgtest tests with "env -i" to avoid pollution from the host envMichael Vogt2014-09-031-1/+3
| | | | Closes: #759655
* Make Packages & Sources generation optional, during Generate callDimitri John Ledkov2014-09-031-33/+66
| | | | | | | | refactor a bit, extract code out of Generate() into DoGenerate{PackagesAndSources,Contents}, add new APT::FTPArchive::ContentsOnly option to allow skipping the generation of Package/Source files (if they are generated e.g. by some db outside of apt-ftparchives control)
* Use heap to allocate PatternMatch to avoid potential stack overflowMichael Vogt2014-09-021-2/+3
| | | | | | | | | | | When apt-cache search with many args (> 130) is given the allocation of PatternMatch on the stack may fail resulting in a segmentation fault. By using the heap the max size is much bigger and we also get a bad_alloc expection instead of a segfault (which we can catch *if* this ever becomes a pratical problem). No test for the crash as its not reproducable with the MALLOC_ settings in framework. Closes: 759612
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2014-09-021-6/+7
| | | | | | | - update string matching for dpkg I/O errors. (LP: #1363257) - properly parse the dpkg status line so that package name is properly set and an apport report is created. Thanks to Anders Kaseorg for the patch. (LP: #1353171)
* Add testcase for apt list --all-versionsMichael Vogt2014-09-021-1/+3
| | | | Dch-Ignore: true
* Avoid yielding blank lines with APT::Cmd::use-format=trueAndreas Oberritter2014-09-023-3/+7
|
* Make Proxy-Auto-Detect check for each hostMichael Vogt2014-09-027-85/+178
| | | | | | | | | When doing Acquire::http{,s}::Proxy-Auto-Detect, run the auto-detect command for each host instead of only once. This should make using "proxy" from libproxy-tools feasible which can then be used for PAC style or other proxy configurations. Closes: #759264
* initialize iPolicyBrokenCount in DepCache::UpdateWarren He2014-08-291-1/+2
| | | | | | | | All other counters are correctly initialized here, expect this one. The practical effect is low as in apt we usually just do "!= 0" checks, but only correct counters are good counters. Closes: 758397
* Portuguese manpages translation updateAmérico Monteiro2014-08-291-431/+3
| | | | Closes: 759608
* The following command otherwise yields many blank lines:Andreas Oberritter2014-08-281-2/+1
| | | | | | | | apt list -o APT::Cmd::use-format=true -o APT::Cmd::format=\${Package} And even worse when adding "-o APT::Cmd::All-Versions=true". Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* German program translation updateHolger Wansing2014-08-281-536/+578
| | | | Closes: 758837
* releasing 1.0.7Michael Vogt2014-08-2854-74637/+74474
|
* prepare 1.0.7Michael Vogt2014-08-271-0/+33
|
* support versioned provides as implemented by dpkgDavid Kalnischkies2014-08-262-2/+139
| | | | | | | | | | | | | | | | | APT supported versioned provides for a long while in an attempt to get it working with rpm. While this support is old, we can be relatively sure that it works as versioned provides are used internally to make Multi-Arch:foreign work. Previous versions of apt will print a warning indicating that the versioned provides is ignored, so that something which "Provides: foo (= 2)" doesn't provide anything. Note that dpkg does allow only a equals-relation in the provides line as anything else is deemed too complex. apt doesn't support anything else either and such a support would require potentially big changes. Closes: 758153
* add dpkg::source-options for dpkg-source invocationDavid Kalnischkies2014-08-261-16/+17
| | | | | | | | | | | dpkg-source can be told to enforce signature checks with --require-valid-signature, but while this isn't feasible as default for Debian itself at the moment, a local admin should be able to use it. This commit also fixes the size limit on the construction of the command being called for dpkg-source and dpkg-buildpackage. Closes: 757534
* Czech program translation updateMiroslav Kure2014-08-261-121/+147
| | | | Closes: 758208
* Turkish program translation updateMert Dirik2014-08-261-70/+111
| | | | Closes: 756710
* rewrite and extend new README fileDavid Kalnischkies2014-08-261-31/+175
| | | | | | | Reuse description from the package descriptions and add various subsection describing useful debug options and general information. Git-Dch: Ignore
* remove obsolete documentation bitsDavid Kalnischkies2014-08-262-248/+0
| | | | Git-Dch: Ignore
* ensure that all docs use all entities filesDavid Kalnischkies2014-08-2623-133/+75
| | | | | | | | | Not all are needed for all files at the moment, but the new docbook building hadn't available some of the entities it used as the files weren't correctly copied around in all cases and having the same across the bord makes working with all of them a little easier. Git-Dch: Ignore
* parse debian/tests/control for test dependenciesDavid Kalnischkies2014-08-262-1/+1
| | | | | | | | Our integration tests need some additional dependencies to run and function correctly, but while multiple places run them, there is no need to also specify the these dependencies in multiple places. Git-Dch: Ignore
* Fix debListParser to accept "no" as a value for the Multi-Arch fieldJulian Andres Klode2014-08-241-1/+1
| | | | | | Seems this was missed somehow. Closes: #759099
* doc/po/pt.po: updated, thanks to Américo MonteirMichael Vogt2014-07-291-206/+371
| | | | Closes: #756200
* doc/apt.8.xml: fix typo, thanks to Jakub WilkMichael Vogt2014-07-291-2/+2
| | | | Closes: #756056
* Fix SmartConfigure to ignore ordering of packages that are already validMichael Vogt2014-07-294-1/+2446
| | | | | | | | | | With the change of SmartConfigure() in git commit 42d51f the ordering code was trying to re-order dependencies, even when at this point in time this was not needed. Now it will first check all targets of the given dependency and only if there is not a good one try to reorder and unpack/configure as needed. Closes: LP: #1347721
* l10n: vi.po (636t): Update one new stringTrần Ngọc Quân2014-07-241-4/+4
| | | | Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
* apt-pkg/acquire-item.cc: make pkgAcqDiffIndex more uniformMichael Vogt2014-07-171-2/+2
|
* Use @builddeps@ in the debian/tests/control fileMichael Vogt2014-07-171-1/+1
|
* Update Japanese documentation translationvictory2014-07-161-370/+502
| | | | Closes: #754817
* StringToBool: only act if the entire string is consumed by strtol()Michael Vogt2014-07-162-3/+35
| | | | | | | | | StringToBool uses strtol() internally to check if the argument is a number. This function stops when it does not find any more numbers. So a string like "0ad" (which is a valid packagename) is interpreted as a "0". The code now checks that the entire string is consumed not just a part of it. Thanks to Johannes Schauer for raising this issue.
* Merge remote-tracking branch 'mvo/feature/README' into debian/sidMichael Vogt2014-07-101-0/+37
|\
| * add REAMDE.mdMichael Vogt2014-07-101-0/+37
| |