def copy_postupgrade_files(self):
     """
     Function copies postupgrade scripts and creates hash postupgrade file.
     """
     # Copy postupgrade.d special files
     PostupgradeHelper.special_postupgrade_scripts(self.conf.assessment_results_dir)
     PostupgradeHelper.hash_postupgrade_file(self.conf.verbose, self.get_postupgrade_dir())
Ejemplo n.º 2
0
 def copy_postupgrade_files(self):
     """
     Function copies postupgrade scripts and creates hash postupgrade file.
     """
     # Copy postupgrade.d special files
     PostupgradeHelper.special_postupgrade_scripts(self.conf.assessment_results_dir)
     PostupgradeHelper.hash_postupgrade_file(self.conf.verbose, self.get_postupgrade_dir())
    def finalize_xml_files(self):
        """
        Function copies postupgrade scripts and creates hash postupgrade file.
        It finds solution files and update XML file.
        """
        # Copy postupgrade.d special files
        PostupgradeHelper.special_postupgrade_scripts(self.conf.assessment_results_dir)
        PostupgradeHelper.hash_postupgrade_file(self.conf.verbose, self.get_postupgrade_dir())

        solution_files = self.report_parser.get_solution_files()
        for report in self._get_reports():
            self.xml_mgr.find_solution_files(report.split('.')[0], solution_files)
Ejemplo n.º 4
0
    def finalize_xml_files(self):
        """
        Function copies postupgrade scripts and creates hash postupgrade file.
        It finds solution files and update XML file.
        """
        # Copy postupgrade.d special files
        PostupgradeHelper.special_postupgrade_scripts(
            self.conf.assessment_results_dir)
        PostupgradeHelper.hash_postupgrade_file(self.conf.verbose,
                                                self.get_postupgrade_dir())

        solution_files = self.report_parser.get_solution_files()
        for report in self._get_reports():
            self.xml_mgr.find_solution_files(
                report.split('.')[0], solution_files)