'Synchronize report directory using the DataManager and Plugins online
We first make sure that all shared reports were added to the repo'

def syncReports(self):

    filenames = []
    for (root, dirs, files) in os.walk(self._report_path, False):
        if (root == self._report_path):
            for name in files:
                filenames.append(os.path.join(root, name))
    for filename in filenames:
        name = os.path.basename(filename)
        if (self.processor.processReport(filename) is False):
            os.rename(filename, os.path.join(self._report_upath, name))
        else:
            os.rename(filename, os.path.join(self._report_ppath, name))
    self.onlinePlugins()
