Differences between revisions 1 and 2
Revision 1 as of 2007-06-23 18:45:30
Size: 1031
Editor: ?MarcinOwsiany
Comment: a page for gathering ideas/guidelines about the cruft package
Revision 2 as of 2007-06-23 18:47:56
Size: 1042
Editor: ?MarcinOwsiany
Comment: change header level
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Cruft =
=
= Introduction ==

Introduction

Cruft is a tool to look over your system for anything that shouldn't be there, but is; or for anything that should be there, but isn't. It is available as package cruft in the debian archive.

There is a [http://cruft.alioth.debian.org project page for cruft on alioth].

This page is meant as a place to assemble ideas and guidelines about cruft usage from perspective of a Debian package maintainer or a system administrator, before properly integrating them as package documentation.

Guidelines on creating filters and explain scripts

  • try to be as specific as possible, keeping a balance with complexity. For example if the package only creates files /foo/bar /foo/bar.0 /foo/bar.1 /foo/bar.2.gz and so on, then specify two patterns: /foo/bar and /foo/bar.*, not /foo**
  • before adding a file to the filter, make sure that the package actually still uses it. Some packages delete some files in a postrm script which are pure leftovers from earlier versions.
  • ...


CategoryTeams