Ejemplo n.º 1
0
	def scan_cvs(self):
		tree = cvstree.getentries("./", recursive=1)
		self.changed = cvstree.findchanged(tree, recursive=1, basedir="./")
		self.new = cvstree.findnew(tree, recursive=1, basedir="./")
		if self.options.if_modified == "y":
			self.removed = cvstree.findremoved(tree, recursive=1, basedir="./")
		del tree
Ejemplo n.º 2
0
	def _scan(self):
		'''VCS type scan function, looks for all detectable changes'''
		self._tree = portage.cvstree.getentries("./", recursive=1)
		self.changed = cvstree.findchanged(self._tree, recursive=1, basedir="./")
		self.new = cvstree.findnew(self._tree, recursive=1, basedir="./")
		self.removed = cvstree.findremoved(self._tree, recursive=1, basedir="./")
		bin_blob_pattern = re.compile("^-kb$")
		self.no_expansion = set(portage.cvstree.findoption(
			self._tree, bin_blob_pattern, recursive=1, basedir="./"))
Ejemplo n.º 3
0
	def _get_changed_cvs_(self, mydeleted):
		mycvstree = cvstree.getentries("./", recursive=1)
		mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./")
		mynew = cvstree.findnew(mycvstree, recursive=1, basedir="./")
		myremoved = portage.cvstree.findremoved(mycvstree, recursive=1, basedir="./")
		bin_blob_pattern = re.compile("^-kb$")
		no_expansion = set(portage.cvstree.findoption(
			mycvstree, bin_blob_pattern, recursive=1, basedir="./"))
		expansion = {}
		return  (mynew, mychanged, myremoved, no_expansion, expansion)
Ejemplo n.º 4
0
 def _scan(self):
     """VCS type scan function, looks for all detectable changes"""
     self._tree = portage.cvstree.getentries("./", recursive=1)
     self.changed = cvstree.findchanged(self._tree, recursive=1, basedir="./")
     self.new = cvstree.findnew(self._tree, recursive=1, basedir="./")
     self.removed = cvstree.findremoved(self._tree, recursive=1, basedir="./")
     bin_blob_pattern = re.compile("^-kb$")
     self.no_expansion = set(
         portage.cvstree.findoption(
             self._tree, bin_blob_pattern, recursive=1, basedir="./"
         )
     )
Ejemplo n.º 5
0
 def _get_changed_cvs_(self, mydeleted):
     mycvstree = cvstree.getentries("./", recursive=1)
     mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./")
     mynew = cvstree.findnew(mycvstree, recursive=1, basedir="./")
     myremoved = portage.cvstree.findremoved(mycvstree,
                                             recursive=1,
                                             basedir="./")
     bin_blob_pattern = re.compile("^-kb$")
     no_expansion = set(
         portage.cvstree.findoption(mycvstree,
                                    bin_blob_pattern,
                                    recursive=1,
                                    basedir="./"))
     expansion = {}
     return (mynew, mychanged, myremoved, no_expansion, expansion)