Exemplo n.º 1
0
	def digest_check(self, xpkg, checkdir):
		'''Check the manifest entries, report any Q/A errors

		@param xpkg: the cat/pkg name to check
		@param checkdir: the directory path to check'''
		self.repoman_settings['O'] = checkdir
		self.repoman_settings['PORTAGE_QUIET'] = '1'
		if not portage.digestcheck([], self.repoman_settings, strict=1):
			self.qatracker.add_error("manifest.bad", os.path.join(xpkg, 'Manifest'))
		self.repoman_settings.pop('PORTAGE_QUIET', None)
Exemplo n.º 2
0
    def digest_check(self, xpkg, checkdir):
        '''Check the manifest entries, report any Q/A errors

		@param xpkg: the cat/pkg name to check
		@param checkdir: the directory path to check'''
        self.repoman_settings['O'] = checkdir
        self.repoman_settings['PORTAGE_QUIET'] = '1'
        if not portage.digestcheck([], self.repoman_settings, strict=1):
            self.qatracker.add_error("manifest.bad",
                                     os.path.join(xpkg, 'Manifest'))
        self.repoman_settings.pop('PORTAGE_QUIET', None)
Exemplo n.º 3
0
    def digest_check(self, xpkg, checkdir):
        """Check the manifest entries, report any Q/A errors

        @param xpkg: the cat/pkg name to check
        @param checkdir: the directory path to check"""
        self.repoman_settings["O"] = checkdir
        self.repoman_settings["PORTAGE_QUIET"] = "1"
        if not portage.digestcheck([], self.repoman_settings, strict=1):
            self.qatracker.add_error("manifest.bad",
                                     os.path.join(xpkg, "Manifest"))
        self.repoman_settings.pop("PORTAGE_QUIET", None)
Exemplo n.º 4
0
	def digest_check(self, xpkg, checkdir):
		self.repoman_settings['O'] = checkdir
		self.repoman_settings['PORTAGE_QUIET'] = '1'
		if not portage.digestcheck([], self.repoman_settings, strict=1):
			self.qatracker.add_error("manifest.bad", os.path.join(xpkg, 'Manifest'))
		self.repoman_settings.pop('PORTAGE_QUIET', None)