NAME
MDV::Distribconf::Checks - A Subclass to MDV::Distribconf::Build to check distribution tree
METHODS
- $distrib->check_config
- $distrib->check_media_coherency($fhout)
-
Performs basic checks on the distribution and prints to $fhout (STDERR by default) warnings and errors found. Returns the number of errors reported.
- $distrib->check_index_sync($media)
-
Check the synchronisation between rpms contained by media $media and its hdlist:
- all rpms should be in the hdlist - the hdlist should not contains rpms that does not exists
Return 1 if no problem were found
- $distrib->check_media_md5($media)
-
Check md5sum for hdlist and synthesis for the media $media are the same than value contains in the existing MD5SUM file.
The function return an error also if the value is missing
Return 1 if no error were found.
- $distrib->checkdistrib($fhout)
-
Performs all light checks on the distribution and prints to $fhout (STDERR by default) warnings and errors found. Returns the number of errors reported.
- $distrib->check($fhout)
AUTHOR
Olivier Thauvin <nanardon@mandriva.org>