about summary refs log tree commit diff
path: root/doc/manual/nix-collect-garbage.xml
AgeCommit message (Collapse)AuthorFilesLines
2014-04-15 nix-env: Minor change to '--delete-generations Nd' semanticsRicardo M. Correia1-2/+3
The option '--delete-generations Nd' deletes all generations older than N days. However, most likely the user does not want to delete the generation that was active N days ago. For example, say that you have these 3 generations: 1: <30 days ago> 2: <15 days ago> 3: <1 hour ago> If you do --delete-generations 7d (say, as part of a cron job), most likely you still want to keep generation 2, i.e. the generation that was active 7 days ago (and for most of the past 7 days, in fact). This patch fixes this issue. Note that this also affects 'nix-collect-garbage --delete-older-than Nd'. Thanks to @roconnor for noticing the issue!
2014-03-30 nix-collect-garbage: Add --delete-older-than optionRicardo M. Correia1-6/+12
2012-09-13 nix-collect-garbage: Support --dry-runEelco Dolstra1-0/+1
2009-07-14 * Remove the redundant <sections> around refentries.Eelco Dolstra1-1/+2
2007-09-19 * Manpage for nix-copy-closure.Eelco Dolstra1-1/+9
2006-09-29 * Manual.Eelco Dolstra1-4/+24
2006-08-21 * Convert to DocBook 5.Eelco Dolstra1-1/+2
* Use Jing for RelaxNG validation, xmllint seems buggy.
2005-04-07 * GC docs.Eelco Dolstra1-74/+26
2005-04-05 * Some GC documentation.Eelco Dolstra1-10/+0
2004-08-25 * `--min-age' flag in nix-store and nix-collect-garbage to only deleteEelco Dolstra1-0/+11
unreachable paths that haven't been used for N hours. For instance, `nix-collect-garbage --min-age 168' only deletes paths that haven't been accessed in the last week. This is useful for instance in the build farm where many derivations can be shared between consecutive builds, and we wouldn't want a garbage collect to throw them all away. We could of course register them as roots, but then we'd to unregister them at some point, which would be a pain to manage. The `--min-age' flag gives us a sort of MRU caching scheme. BUG: this really shouldn't be in gc.cc since that violates mechanism/policy separation.
2004-08-25 * `nix-collect-garbage' now actually performs a garbage collection, itEelco Dolstra1-28/+29
doesn't just print the set of paths that should be deleted. So there is no more need to pipe the result into `nix-store --delete' (which doesn't even exist anymore).
2004-02-10 * Lots of manual stuff. Reference pages for most Nix commands.Eelco Dolstra1-0/+75
* nix-pull now requires the full url to the manifest, i.e., `/MANIFEST/' is no longer automatically appended. * nix-prefetch-url works again.