public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/status/, pym/repoman/
@ 2016-04-25 16:13 Brian Dolbec
  2016-04-29 17:24 ` [gentoo-commits] proj/portage:master commit in: pym/repoman/, pym/repoman/modules/scan/status/ Brian Dolbec
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Dolbec @ 2016-04-25 16:13 UTC (permalink / raw
  To: gentoo-commits

commit:     4a0072779d465cb7b0bd9e396e78772c8a45d051
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 25 16:11:42 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 16:11:42 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=4a007277

repoman: Clean up some no longer used eadded variables

 pym/repoman/modules/scan/status/__init__.py  | 1 -
 pym/repoman/modules/scan/status/vcsstatus.py | 5 +----
 pym/repoman/scanner.py                       | 2 --
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/pym/repoman/modules/scan/status/__init__.py b/pym/repoman/modules/scan/status/__init__.py
index 5f30639..1abf580 100644
--- a/pym/repoman/modules/scan/status/__init__.py
+++ b/pym/repoman/modules/scan/status/__init__.py
@@ -23,7 +23,6 @@ module_spec = {
 			'func_kwargs': {
 				'checkdir': (None, None),
 				'checkdir_relative': (None, None),
-				'eadded': ('Future', 'UNSET'),
 				'xpkg': (None, None),
 			},
 		},

diff --git a/pym/repoman/modules/scan/status/vcsstatus.py b/pym/repoman/modules/scan/status/vcsstatus.py
index fd56560..ab81a11 100644
--- a/pym/repoman/modules/scan/status/vcsstatus.py
+++ b/pym/repoman/modules/scan/status/vcsstatus.py
@@ -24,16 +24,13 @@ class VCSStatus(ScanBase):
 		@param checkdir: string, directory path
 		@param checkdir_relative: repolevel determined path
 		@param xpkg: the current package being checked
-		@returns: dictionary including {eadded}
+		@returns: boolean
 		'''
 		checkdir = kwargs.get('checkdir')
 		checkdir_relative = kwargs.get('checkdir_relative')
 		xpkg = kwargs.get('xpkg')
 		if self.check_not_added:
 			self.vcs_settings.status.check(checkdir, checkdir_relative, xpkg)
-		# update the dynamic data
-		dyn_eadded = kwargs.get('eadded')
-		dyn_eadded.set(self.vcs_settings.status.eadded)
 		return False
 
 	@property

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index 508fedb..73187e9 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -180,7 +180,6 @@ class Scanner(object):
 				self.repolevel, self.reposplit, self.categories))
 
 		self.pkgs = None
-		self.eadded = False
 
 		# Create our kwargs dict here to initialize the plugins with
 		self.kwargs = {
@@ -285,7 +284,6 @@ class Scanner(object):
 			logging.info("checking package %s", xpkg)
 			# save memory by discarding xmatch caches from previous package(s)
 			self.caches['arch_xmatch'].clear()
-			self.eadded = []
 			catdir, pkgdir = xpkg.split("/")
 			checkdir = self.repo_settings.repodir + "/" + xpkg
 			checkdir_relative = ""


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/portage:master commit in: pym/repoman/, pym/repoman/modules/scan/status/
  2016-04-25 16:13 [gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/status/, pym/repoman/ Brian Dolbec
@ 2016-04-29 17:24 ` Brian Dolbec
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2016-04-29 17:24 UTC (permalink / raw
  To: gentoo-commits

commit:     4a0072779d465cb7b0bd9e396e78772c8a45d051
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 25 16:11:42 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 16:11:42 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=4a007277

repoman: Clean up some no longer used eadded variables

 pym/repoman/modules/scan/status/__init__.py  | 1 -
 pym/repoman/modules/scan/status/vcsstatus.py | 5 +----
 pym/repoman/scanner.py                       | 2 --
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/pym/repoman/modules/scan/status/__init__.py b/pym/repoman/modules/scan/status/__init__.py
index 5f30639..1abf580 100644
--- a/pym/repoman/modules/scan/status/__init__.py
+++ b/pym/repoman/modules/scan/status/__init__.py
@@ -23,7 +23,6 @@ module_spec = {
 			'func_kwargs': {
 				'checkdir': (None, None),
 				'checkdir_relative': (None, None),
-				'eadded': ('Future', 'UNSET'),
 				'xpkg': (None, None),
 			},
 		},

diff --git a/pym/repoman/modules/scan/status/vcsstatus.py b/pym/repoman/modules/scan/status/vcsstatus.py
index fd56560..ab81a11 100644
--- a/pym/repoman/modules/scan/status/vcsstatus.py
+++ b/pym/repoman/modules/scan/status/vcsstatus.py
@@ -24,16 +24,13 @@ class VCSStatus(ScanBase):
 		@param checkdir: string, directory path
 		@param checkdir_relative: repolevel determined path
 		@param xpkg: the current package being checked
-		@returns: dictionary including {eadded}
+		@returns: boolean
 		'''
 		checkdir = kwargs.get('checkdir')
 		checkdir_relative = kwargs.get('checkdir_relative')
 		xpkg = kwargs.get('xpkg')
 		if self.check_not_added:
 			self.vcs_settings.status.check(checkdir, checkdir_relative, xpkg)
-		# update the dynamic data
-		dyn_eadded = kwargs.get('eadded')
-		dyn_eadded.set(self.vcs_settings.status.eadded)
 		return False
 
 	@property

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index 508fedb..73187e9 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -180,7 +180,6 @@ class Scanner(object):
 				self.repolevel, self.reposplit, self.categories))
 
 		self.pkgs = None
-		self.eadded = False
 
 		# Create our kwargs dict here to initialize the plugins with
 		self.kwargs = {
@@ -285,7 +284,6 @@ class Scanner(object):
 			logging.info("checking package %s", xpkg)
 			# save memory by discarding xmatch caches from previous package(s)
 			self.caches['arch_xmatch'].clear()
-			self.eadded = []
 			catdir, pkgdir = xpkg.split("/")
 			checkdir = self.repo_settings.repodir + "/" + xpkg
 			checkdir_relative = ""


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-29 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-25 16:13 [gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/status/, pym/repoman/ Brian Dolbec
2016-04-29 17:24 ` [gentoo-commits] proj/portage:master commit in: pym/repoman/, pym/repoman/modules/scan/status/ Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox