summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.h
Commit message (Collapse)AuthorAgeFilesLines
* * remove the MarkKeep calls if Is{Delete,Install}Ok false, becauseDavid Kalnischkies2009-07-071-0/+16
| | | | | | they have no effect anyway (thanks Daniel Burrows for noticing) * improve documentation of the Is{Delete,Install}Ok methods a bit * add the FromUser boolean to the debug output of the markers
* * add hook for MarkInstall and MarkDelete (closes: #470035)David Kalnischkies2009-06-301-16/+24
| | | | | | | | * honor the dpkg hold state in new Marker hooks (closes: #64141) Combine the proposed AutoInstOk and IsAutoInstallOk to more general hooks for MarkInstall (and another one for MarkDelete) with the same parameters as the call these hooks should check.
* merge the AutoInstOk patch from debian-experimentalMichael Vogt2009-06-301-12/+14
|
* add hook for auto-install (closes: #470035)Michael Vogt2009-06-291-0/+13
|
* * add depth information to the debug output and show what dependsMichael Vogt2009-06-291-3/+7
| | | | | type triggers a autoinst (closes: #458389) * add debug::pkgDepCache::Marker with more detailed debug output (closes: #87520)
* typo fixesMichael Vogt2008-03-111-2/+2
|
* * fixed compile errors with g++ 7.3 (thanks to Michael Vogt2007-06-191-0/+1
| | | | | Daniel Burrows, closes: #429378) * fix FTFBFS by changing build-depends to libcurl4-gnutls-dev (closes: #428363)
* * merged another missing bit from the ubuntu branchMichael Vogt2007-06-091-1/+1
|
* * merged the no-pragma branchMichael Vogt2006-12-141-3/+0
|\
| * * removed the pragma messMichael Vogt2006-10-021-3/+0
| |
* | * merged the install-recommends branchMichael Vogt2006-08-151-1/+6
|\ \
| * | * cmdline/apt-get.cc:Michael Vogt2006-08-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added "--fix-policy" option to make it easy to fix any not-install recommends * apt-pkg/depcache.{cc,h} - MarkInstall() has a new "ForceImportantDeps" option (defaults to false) to fice the install of recommends even for already installed pkgs - a new PolicyBroken() function to see how much of the recommends are broken
| * | * depcache.cc:Michael Vogt2006-05-021-0/+1
| |/ | | | | | | | | | | | | | | - added APT::Install-{Recommends,Suggests} global option * depcache.h: - added DepCache::State::InstPolicyBroken() to check if the current install state violates the policy (compated with InstBroken() that only checks for the minimal requirements)
* | * merged daniel burrows fixes for the auto-mark codeMichael Vogt2005-11-091-5/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * dburrows@debian.org--2005/apt--auto-mark--0--base-0 tag of michael.vogt@ubuntu.com--2005/apt--auto-mark--0--patch-22 * dburrows@debian.org--2005/apt--auto-mark--0--patch-1 doxygenize the new automark stuff * dburrows@debian.org--2005/apt--auto-mark--0--patch-2 Automatically update package markings after every state-changing public operation, and allow users of the dep-cache to group actions into a single action. * dburrows@debian.org--2005/apt--auto-mark--0--patch-3 Automatically update package markings after every state-changing public operation, and allow users of the dep-cache to group actions into a single action. * dburrows@debian.org--2005/apt--auto-mark--0--patch-4 Make action groups noncopyable * dburrows@debian.org--2005/apt--auto-mark--0--patch-5 Typo fix * dburrows@debian.org--2005/apt--auto-mark--0--patch-6 Add a FromUser flag to MarkKeep. * dburrows@debian.org--2005/apt--auto-mark--0--patch-7 Somehow the ActionGroup definition got duplicated; kill the duplicate. * dburrows@debian.org--2005/apt--auto-mark--0--patch-8 Cancel the automatic flag on packages that are being kept only if they are garbage. * dburrows@debian.org--2005/apt--auto-mark--0--patch-9 Don't clear the 'automatically installed' flag in MarkDelete. * dburrows@debian.org--2005/apt--auto-mark--0--patch-10 Add a FromUser flag to MarkInstall, and fix its handling of the Auto flag. * dburrows@debian.org--2005/apt--auto-mark--0--patch-11 Only clear the Auto flag on manual changes in MarkKeep. * dburrows@debian.org--2005/apt--auto-mark--0--patch-12 Make changes from the internal algorithms automatic. * dburrows@debian.org--2005/apt--auto-mark--0--patch-13 Use ActionGroups in algorithms that make lots of changes, and fix a compile error. * dburrows@debian.org--2005/apt--auto-mark--0--patch-14 Split the sweep code into a separate routine from pkgMarkUsed * dburrows@debian.org--2005/apt--auto-mark--0--patch-15 Update another call of MarkKeep to indicate that it's automatic. * dburrows@debian.org--2005/apt--auto-mark--0--patch-16 Move the mark-and-sweep code into pkgDepCache; call Sweep and document what it and Garbage are for; add a hook that can be used to generate a custom root-set function; move the big blob of regexp stuff into the custom root-set; fix the memory leak in the regexp stuff. * dburrows@debian.org--2005/apt--auto-mark--0--patch-17 Make ActionGroup take a reference instead of a pointer to the cache. * dburrows@debian.org--2005/apt--auto-mark--0--patch-18 Don't mark already-to-be-deleted packages as garbage, to imitate aptitude's behavior. * dburrows@debian.org--2005/apt--auto-mark--0--patch-19 Update apt-get for the new auto-mark protocol. * dburrows@debian.org--2005/apt--auto-mark--0--patch-20 Add a setter method for the Auto flag. * dburrows@debian.org--2005/apt--auto-mark--0--patch-21 Fix the test in apt-get about what to delete. * dburrows@debian.org--2005/apt--auto-mark--0--patch-22 Add a zero-argument mark-and-sweep routine and use it to do a mark-and-sweep on startup (so the garbage flags are initialized properly). * dburrows@debian.org--2005/apt--auto-mark--0--patch-23 Right, Status is 2 for new installs, not 0. * dburrows@debian.org--2005/apt--auto-mark--0--patch-24 POT updates. * dburrows@debian.org--2005/apt--auto-mark--0--patch-25 Actually initialize group_level to 0. * dburrows@debian.org--2005/apt--auto-mark--0--patch-26 Don't make an ActionGroup in Sweep, since there's no point and it also is an infinite loop. * dburrows@debian.org--2005/apt--auto-mark--0--patch-27 Add virtual hooks to control whether the garbage collector considers recommends and/or suggests to be strong links. * dburrows@debian.org--2005/apt--auto-mark--0--patch-28 Call the progress methods in the right order so we don't generate nonsensical progress notifications. * dburrows@debian.org--2005/apt--auto-mark--0--patch-29 Typo fix. * dburrows@debian.org--2005/apt--auto-mark--0--patch-30 Make RecommendsImportant default to true in apt, too. * dburrows@debian.org--2005/apt--auto-mark--0--patch-31 Add a release() method to action groups. * dburrows@debian.org--2005/apt--auto-mark--0--patch-32 Add an 'autoremove' command that is synonymous to '--auto-remove remove'.
* | * merged with ubuntu, only use the pkgCache::Flag::Auto flag for ↵Michael Vogt2005-06-291-7/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automatically installed packages Patches applied: * apt@packages.debian.org/apt--main--0--patch-98 Install only one keyring on each branch (Closes: #316119) * apt@packages.debian.org/apt--main--0--patch-99 Finalize 0.6.39 * apt@packages.debian.org/apt--ubuntu--0--patch-7 Merge with mainline * apt@packages.debian.org/apt--ubuntu--0--patch-8 install only the ubuntu keyring * apt@packages.debian.org/apt--ubuntu--0--patch-9 Finalize 0.6.39 * apt@packages.debian.org/apt--ubuntu--0--patch-10 Merge with mainline * apt@packages.debian.org/apt--ubuntu--0--patch-11 Update configure.in
* | * use mark-and-sweep from aptitude now as GC algorithmMichael Vogt2005-06-291-5/+11
| |
* | * cleanups Michael Vogt2005-06-231-0/+4
| |
* | * ported/cleaned up the "Automatic dependency handling" patch from Michael ↵Michael Vogt2005-05-101-0/+6
|/ | | | Hofmann
* Join with aliencodeArch Librarian2004-09-201-24/+48
| | | | | | Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
* El Te Dee PatchArch Librarian2004-09-201-2/+3
| | | | | | Author: jgg Date: 2000-05-31 02:49:37 GMT El Te Dee Patch
* Reinstall commandArch Librarian2004-09-201-2/+3
| | | | | | Author: jgg Date: 1999-10-22 05:58:54 GMT Reinstall command
* Purge supportArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1999-07-10 04:58:42 GMT Purge support
* g++- worksArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1999-07-09 04:11:33 GMT g++- works
* Fixed espy's bug with experimentalArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1999-04-12 04:21:20 GMT Fixed espy's bug with experimental
* Simulator fixArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1998-12-08 01:34:05 GMT Simulator fix
* Local file fixesArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1998-11-14 01:39:41 GMT Local file fixes
* WowArch Librarian2004-09-201-15/+15
| | | | | | Author: jgg Date: 1998-11-13 07:08:48 GMT Wow
* SyncArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1998-10-02 04:39:42 GMT Sync
* SyncArch Librarian2004-09-201-7/+5
| | | | | | Author: jgg Date: 1998-09-07 05:28:32 GMT Sync
* First draft of make system and name change to apt-pkgArch Librarian2004-09-201-3/+3
| | | | | | Author: jgg Date: 1998-07-12 23:58:20 GMT First draft of make system and name change to apt-pkg
* SyncArch Librarian2004-09-201-4/+1
| | | | | | Author: jgg Date: 1998-07-12 01:25:59 GMT Sync
* SyncArch Librarian2004-09-201-0/+189
Author: jgg Date: 1998-07-07 04:17:00 GMT Sync