diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-03-20 09:27:08 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-03-20 09:27:08 +0000 |
| commit | 7ef14b64596bd0ca78feaea5fda22b8d524de286 (patch) | |
| tree | 930952bbc30c82538982dd0343d26573195ba87f /apt-pkg/edsp.h | |
| parent | d4d1366ef45d4002e1fd05ef8bdcb0c5039b8370 (diff) | |
| parent | 8ed6bea2083e055b50dfbd8bebf1355cce502f3f (diff) | |
Merge branch 'smaller-dumps' into 'main'
Write minimized EDSP dumps in crash report, Dir::log::solver
See merge request apt-team/apt!465
Diffstat (limited to 'apt-pkg/edsp.h')
| -rw-r--r-- | apt-pkg/edsp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apt-pkg/edsp.h b/apt-pkg/edsp.h index 0c37e231d..22767bd7b 100644 --- a/apt-pkg/edsp.h +++ b/apt-pkg/edsp.h @@ -91,6 +91,22 @@ namespace EDSP /*{{{*/ std::vector<bool> const &pkgset, OpProgress *Progress = NULL); + /** \brief creates a limited scenario representing the package universe + * + * This method works similar to #WriteScenario as it works in the same + * way but doesn't send the complete universe to the solver but only + * packages reachable from installed packages or packages marked for + * install. + * + * \param Cache is the known package universe + * \param output is written to this "file" + * \param Progress is an instance to report progress to + * + * \return true if universe was composed successfully, otherwise false + */ + APT_PUBLIC bool WriteLimitedScenario(pkgDepCache &Cache, FileFd &output, + OpProgress *Progress = NULL); + /** \brief waits and acts on the information returned from the solver * * This method takes care of interpreting whatever the solver sends |
