/m", file_get_contents("http://check.mageia.org/cauldron/dependencies.rss"), $matches);
$unmaintained_file = $g_webapp_dir . '/data/unmaintained.txt';
$unmaintained_count = file_exists($unmaintained_file) ? count(file($unmaintained_file)) : 0;
if ($missing_deps_count > 0) {
$figures_list[] = sprintf('%d broken deps.',
$missing_deps_count,
'http://check.mageia.org/cauldron/dependencies.html'
);
}
if ($unmaintained_count > 0) {
$figures_list[] = sprintf('%d unmaintained',
$unmaintained_count,
'data/unmaintained.txt'
);
}
if (count($figures_list) > 0)
$figures_list[count($figures_list)-1] .= sprintf(' %s',
'https://wiki.mageia.org/en/Importing_packages',
'YES you can help!', 'pick one');
$figures_list[] = sprintf('Some updates to validate
%s',
'http://madb.mageia.org/tools/updates',
'https://wiki.mageia.org/en/QA_process_for_validating_updates',
'YES you can help!', 'see how'
);
$html_figures = null;
if (count($figures_list) > 0) {
$html_figures = 'Packages: ' . implode(', ', $figures_list) . '.';
}
?>