For user documentation see rebuild-all -h.


Modules interface

Modules are executables in modules_path (/etc/rebuild-all/modules/").

Synopsis:
module action outputfile errorfile [options]

Possible actions are find_broken_packages find_all_packages find_possibly_broken_packages list_actions

find_broken_packages:            Finds all packages that are broken.
find_possibly_broken_packages:   Finds all packages that may be broken, but can't be verified.
find_all_packages:               Finds all packages concerning this module.
list_actions:                    Lists supported actions.

All functional module output is written to outputfile, which can be assumed to exist.
All non recoverable errors are written to errorfile.

All options may be ignored. Possible options are:
      -v Verbose (more than one may be given to increase verbosity)
	  -d Debug


Package manager interface

Package manager modules are sourceable bash files in action_path ("/etc/rebuild-all/actions/") that contain functions.

Possible functions are rebuild and pretend_rebuild.

rebuild:             Rebuild packages.
pretend_rebuild:     Pretend to rebuild these packages and display the results.

Options for these functions are packages to be rebuilt in syntax.
         category/package
		 =category/package-<pms4-compatible version>
		 category/package:slot

