Exemplo 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
Exemplo n.º 2
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)
Exemplo 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)