Add the long awaited 'maintainer notification' system. This system, running from the cron
cleanup scripts, will look for maintainers that have queued entries that the maintainer can process. If the queued entries aren't processed for X days an email is sent. In X*2 days another email is sent. After X*3 days the maintainer is stripped of their maintainership as they aren't really maintaining the application anyway. The hope is that this system lets maintainers know that they have pending queued entries to process to reduce the pressure on the appdb admins to handled hundreds of queued entries.
This commit is contained in:
@@ -28,7 +28,10 @@ reportErrorLogEntries();
|
||||
/* remove screenshots that are missing their screenshot and thumbnail files */
|
||||
removeScreenshotsWithMissingFiles();
|
||||
|
||||
|
||||
/* check and notify maintainers about data they have pending in their queues */
|
||||
/* if they don't process the data soon enough we'll strip them of their maintainer */
|
||||
/* status since they aren't really maintaining the application/version */
|
||||
maintainerCheck();
|
||||
|
||||
|
||||
/*
|
||||
@@ -333,4 +336,13 @@ function removeScreenshotsWithMissingFiles()
|
||||
// log out as user
|
||||
$oUser->logout();
|
||||
}
|
||||
|
||||
/* check and notify maintainers about data they have pending in their queues */
|
||||
/* if they don't process the data soon enough we'll strip them of their maintainer */
|
||||
/* status since they aren't really maintaining the application/version */
|
||||
function maintainerCheck()
|
||||
{
|
||||
maintainer::notifyMaintainersOfQueuedData();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user