Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | store source name and version in binary cache | David Kalnischkies | 2014-09-27 | 1 | -5/+1 |
| | | | | | | | Accessing the package records to acquire this information is pretty costly, so that information wasn't used so far in many places. The most noticeable user by far is EDSP at the moment, but there are ideas to change that which this commit tries to enable. | ||||
* | don't send pkg from an unknown architecture via EDSP | David Kalnischkies | 2014-06-18 | 1 | -0/+7 |
| | | | | | | | | APT's cache can include packages from architectures dpkg has no knowledge about and can therefore not be installed for e.g. to allow easy lookups. There is no point in telling external solvers about them though and some of them might even be really talkative about ignoring them if we do. | ||||
* | support parsing EDSP requests Architecture{,s} stanza | David Kalnischkies | 2014-05-30 | 1 | -0/+7 |
| | | | | | | Adds also a small testcase for EDSP Git-Dch: Ignore | ||||
* | check exit status of external solvers | David Kalnischkies | 2014-05-30 | 1 | -7/+22 |
| | | | | | | Solvers are supposed to exit successfully even if they haven't found a solution, but a solver which fails drastically (like e.g. segfaults) should be detected and dealt with accordingly instead of ignored. | ||||
* | EDSP: add APT-Release field to Package stanzas | Stefano Zacchiroli | 2014-05-04 | 1 | -2/+14 |
| | |||||
* | EDSP: add Source field to Package stanzas | Stefano Zacchiroli | 2014-05-04 | 1 | -0/+6 |
| | |||||
* | EDSP: add Architecture(s) multi-arch fields to the Request stanza | Stefano Zacchiroli | 2014-05-04 | 1 | -0/+9 |
| | |||||
* | EDSP: bump protocol version to 0.5 | Stefano Zacchiroli | 2014-05-04 | 1 | -1/+1 |
| | |||||
* | cleanup headers and especially #includes everywhere | David Kalnischkies | 2014-03-13 | 1 | -4/+13 |
| | | | | | | | | 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 Kalnischkies | 2014-03-13 | 1 | -6/+4 |
| | | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore | ||||
* | apt-pkg/edsp.cc: do not use stderr in WriteSolution at all | Michael Vogt | 2013-03-20 | 1 | -3/+0 |
| | |||||
* | apt-pkg/edsp.cc: do not spam stderr in WriteSolution | Michael Vogt | 2013-03-20 | 1 | -0/+2 |
| | |||||
* | * apt-pkg/edsp.cc: | David Kalnischkies | 2012-10-13 | 1 | -2/+4 |
| | | | | - include reinstall requests and already installed (= protected) packages in the install-request for external resolvers (Closes: #689331) | ||||
* | * apt-pkg/cacheiterators.h: | David Kalnischkies | 2012-06-11 | 1 | -8/+4 |
| | | | - add an IsMultiArchImplicit() method for Dep- and PrvIterator | ||||
* | merged lp:~donkult/apt/experimental | Michael Vogt | 2011-10-14 | 1 | -1/+8 |
|\ | |||||
| * | use forward declaration in headers if possible instead of includes | David Kalnischkies | 2011-09-19 | 1 | -0/+7 |
|/ | |||||
* | reorder includes: add <config.h> if needed and include it at first | David Kalnischkies | 2011-09-13 | 1 | -2/+4 |
| | |||||
* | * apt-pkg/pkgcache.h: | David Kalnischkies | 2011-05-17 | 1 | -3/+3 |
| | | | | - clean up mess with the "all" handling in MultiArch to fix LP: #733741 cleanly for everyone now | ||||
* | rename option APT::Solver::Name to simply APT::Solver | David Kalnischkies | 2011-05-17 | 1 | -1/+1 |
| | |||||
* | send the first line of the error message to the error list and fail a bit | David Kalnischkies | 2011-05-10 | 1 | -3/+11 |
| | | | | more nicely and in order | ||||
* | fix SubProgress to accept a Percent parameter to update the Current | David Kalnischkies | 2011-05-10 | 1 | -5/+3 |
| | | | | with the text as otherwise the update will be ignored | ||||
* | implement proper progress report with OpProgress | David Kalnischkies | 2011-05-09 | 1 | -19/+45 |
| | |||||
* | implement correct error reporting | David Kalnischkies | 2011-05-07 | 1 | -2/+12 |
| | |||||
* | undo the temporary progress reporting disabling which slipped into last commit | David Kalnischkies | 2011-05-06 | 1 | -4/+4 |
| | |||||
* | fix arguments for MarkInstall so packages are really marked as automatic | David Kalnischkies | 2011-05-03 | 1 | -5/+5 |
| | |||||
* | maybe Pre-Depends are checked if they write them as Pre-Depends and | David Kalnischkies | 2011-05-03 | 1 | -1/+1 |
| | | | | not as PreDepends (doh!) … | ||||
* | tell the resolver a package is set on hold if it was set by the user | David Kalnischkies | 2011-05-03 | 1 | -1/+2 |
| | | | | | to Keep which happens for example if a user decides to "remove" a not installed package to forbid that it's part of the solution | ||||
* | implement external solver calling for upgrade and dist-upgrade, too | David Kalnischkies | 2011-05-03 | 1 | -34/+54 |
| | |||||
* | doesn't execute autoremove marker setting if an external solver is called | David Kalnischkies | 2011-05-02 | 1 | -2/+18 |
| | | | | | | | and instead rely on the Autoremove tagging to show us what could be done. (apt-internal-solver doesn't support this currently as it doesn't load the auto-information into the cache) | ||||
* | refactor: move solver execution into his own EDSP method | David Kalnischkies | 2011-05-02 | 1 | -0/+42 |
| | |||||
* | reduce the buffer size so we get a sort of realtime progress report | David Kalnischkies | 2011-05-02 | 1 | -1/+2 |
| | | | | | and print the time of output at the front of the progress report so we can see the delay | ||||
* | move the mapping generation to the top as the response reading is | David Kalnischkies | 2011-05-02 | 1 | -5/+5 |
| | | | | | currently waiting for the solver to complete and not non-blocking so we can generate the map while waiting for the solver | ||||
* | implement optional Progress report in EDSP | David Kalnischkies | 2011-05-02 | 1 | -2/+19 |
| | |||||
* | reorganize WriteScenario to add a WriteLimitedScenario in which a scenario | David Kalnischkies | 2011-04-25 | 1 | -80/+175 |
| | | | | can be limited to a subset of packages with only relevant dependencies | ||||
* | use the version id instead of the mmap offset as APT-ID | David Kalnischkies | 2011-04-19 | 1 | -4/+18 |
| | | | | | | | This leads to a small performance decrease as we need to build this mapping now while interpreting the Response but a (buggy) solver can't point us to dangerous memory locations anymore this way and VersionCount remains useful for other mapping proposes | ||||
* | Interpret Remove and Install lines in Responses correctly | David Kalnischkies | 2011-04-19 | 1 | -5/+12 |
| | |||||
* | send the scenario through a pipe to the solver and get the solution back | David Kalnischkies | 2011-04-02 | 1 | -2/+26 |
| | | | | The solution is NOT interpreted so far. | ||||
* | parse also the action flags Upgrade, Dist-Upgrade and alike from the request | David Kalnischkies | 2011-04-01 | 1 | -7/+37 |
| | |||||
* | Read and apply install/remove requests correctly | David Kalnischkies | 2011-04-01 | 1 | -8/+93 |
| | |||||
* | WriteRequest according to current EDSP draft | David Kalnischkies | 2011-03-31 | 1 | -7/+17 |
| | |||||
* | rename edspwriter to straight edsp in toplevel as it does more than | David Kalnischkies | 2011-03-31 | 1 | -0/+160 |
just writing stuff… it also reads and can work for both: - APT talking to an external solver - an external solver (understanding EDSP) talking to APT |