# Copyright 2005-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""The emaint program provides an interface to system health
- checks and maintenance.
+"""System health checks and maintenance utilities.
"""
from __future__ import print_function
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""The emaint program provides checks and maintenance
-on a gentoo system.
+"""System health checks and maintenance utilities.
"""
-
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""The emaint program plug-in module provides an automatic method
-of adding/removing modules to perform checks and maintenance
-on a gentoo system.
+"""Plug-in modules for system health checks and maintenance.
"""
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""The emaint program module provides checks and maintenancefor:
- Scanning, checking and fixing problems in the world file.
+"""Scan and generate metadata indexes for binary packages.
"""
module_spec = {
'name': 'binhost',
- 'description': "Provides functions to scan, check and " + \
- "Generate a metadata index for binary packages",
+ 'description': __doc__,
'provides':{
'module1': {
'name': "binhost",
'class': "BinhostHandler",
- 'description': "Generate a metadata index for binary packages",
+ 'description': __doc__,
'functions': ['check', 'fix'],
'func_desc': {}
}
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""This emaint module provides checks and maintenance for:
-Cleaning the emerge config tracker list
+"""Check and clean the config tracker list for uninstalled packages.
"""
module_spec = {
'name': 'config',
- 'description': "Provides functions to scan, check for and fix no " +\
- "longer installed config files in emerge's tracker file",
+ 'description': __doc__,
'provides':{
'module1': {
'name': "cleanconfmem",
'class': "CleanConfig",
- 'description': "Discard no longer installed config tracker entries",
+ 'description': __doc__,
'functions': ['check', 'fix'],
'func_desc': {}
}
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""This emaint module provides checks and maintenance for:
-Cleaning the PORT_LOGDIR logs
+"""Check and clean old logs in the PORT_LOGDIR.
"""
module_spec = {
'name': 'logs',
- 'description': "Provides functions to scan, check and clean old logs " +\
- "in the PORT_LOGDIR",
+ 'description': __doc__,
'provides':{
'module1': {
'name': "logs",
'class': "CleanLogs",
- 'description': "Clean out old logs from the PORT_LOGDIR",
+ 'description': __doc__,
'functions': ['check','clean'],
'func_desc': {
'clean': {
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""This emaint module provides checks and maintenance for:
- 1) "Performing package move updates for installed packages",
- 2)"Perform package move updates for binary packages"
+"""Perform package move updates for installed and binary packages.
"""
module_spec = {
'name': 'move',
- 'description': "Provides functions to check for and move packages " +\
- "either installed or binary packages stored on this system",
+ 'description': __doc__,
'provides':{
'module1': {
'name': "moveinst",
'class': "MoveInstalled",
- 'description': "Perform package move updates for installed packages",
+ 'description': __doc__,
'options': ['check', 'fix'],
'functions': ['check', 'fix'],
'func_desc': {
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""This emaint module provides checks and maintenance for:
-Cleaning the "emerge --resume" lists
+"""Check and fix problems in the resume and/or resume_backup files.
"""
module_spec = {
'name': 'resume',
- 'description': "Provides functions to scan, check and fix problems " +\
- "in the resume and/or resume_backup files",
+ 'description': __doc__,
'provides':{
'module1': {
'name': "cleanresume",
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-"""This emaint module provides checks and maintenance for:
-Fixing problems with the "world" file.
+"""Check and fix problems in the world file.
"""
module_spec = {
'name': 'world',
- 'description': "Provides functions to scan, " +
- "check and fix problems in the world file",
+ 'description': __doc__,
'provides':{
'module1':{
'name': "world",
'class': "WorldHandler",
- 'description': "Fix problems in the world file",
+ 'description': __doc__,
'functions': ['check', 'fix'],
'func_desc': {}
}