public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:repoman commit in: repoman/pym/repoman/
Date: Mon, 10 Jul 2017 22:31:12 +0000 (UTC)	[thread overview]
Message-ID: <1499725774.fd099557cf568806baf3f67d57292ef66bbc590d.dolsen@gentoo> (raw)

commit:     fd099557cf568806baf3f67d57292ef66bbc590d
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 10 21:43:39 2017 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Jul 10 22:29:34 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=fd099557

repoman: repos.py: Add masters_list

Use masters_list for loading QAData config.

Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>

 repoman/pym/repoman/repos.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/repoman/pym/repoman/repos.py b/repoman/pym/repoman/repos.py
index accbf1d9c..605c7cffe 100644
--- a/repoman/pym/repoman/repos.py
+++ b/repoman/pym/repoman/repos.py
@@ -41,10 +41,18 @@ class RepoSettings(object):
 		except KeyError:
 			self._add_repo(config_root, portdir_overlay)
 
+		# Determine the master config loading list
+		self.masters_list = []
+		# get out repo masters value
+		masters = self.repositories.get_repo_for_location(self.repodir).masters
+		for repo in masters:
+			self.masters_list.append(os.path.join(repo.location, 'metadata', 'repoman'))
+		self.masters_list.append(os.path.join(self.repodir, 'metadata', 'repoman'))
+
 		logging.debug("RepoSettings: init(); load qadata")
 		# load the repo specific configuration
 		self.qadata = qadata
-		if not self.qadata.load_repo_config(self.repodir, options):
+		if not self.qadata.load_repo_config(self.masters_list, options):
 			logging.error("Aborting...")
 			sys.exit(1)
 		logging.debug("RepoSettings: qadata loaded: %s", qadata.no_exec)


             reply	other threads:[~2017-07-10 22:31 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10 22:31 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-17  1:59 [gentoo-commits] proj/portage:repoman commit in: repoman/pym/repoman/ Brian Dolbec
2017-08-06  6:54 Michał Górny
2017-07-15  2:29 Brian Dolbec
2017-07-15  2:29 Brian Dolbec
2017-07-15  2:08 Brian Dolbec
2017-07-15  2:08 Brian Dolbec
2017-07-10 23:01 Brian Dolbec
2017-07-10 23:01 Brian Dolbec
2017-07-10 23:01 Brian Dolbec
2017-07-10 22:31 Brian Dolbec
2017-07-10 22:31 Brian Dolbec
2017-07-10 22:31 Brian Dolbec
2017-07-10 22:31 Brian Dolbec
2017-07-10 22:31 Brian Dolbec
2017-07-10 17:52 Brian Dolbec
2017-07-10 17:52 Brian Dolbec
2017-07-10 17:52 Brian Dolbec
2017-06-27 22:10 Brian Dolbec
2017-06-27 22:10 Brian Dolbec
2017-06-27 22:10 Brian Dolbec
2017-06-27 21:36 Brian Dolbec
2017-06-27 21:36 Brian Dolbec
2017-06-27 21:36 Brian Dolbec
2017-06-27 21:36 Brian Dolbec
2017-06-27 20:06 Brian Dolbec
2017-06-27 20:06 Brian Dolbec
2017-06-27 20:06 Brian Dolbec
2016-05-15 23:51 [gentoo-commits] proj/portage:master " Brian Dolbec
2016-05-15 18:34 ` [gentoo-commits] proj/portage:repoman " Brian Dolbec
2016-05-15  8:40 Brian Dolbec
2016-05-15  4:13 Brian Dolbec
2016-05-15  2:37 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499725774.fd099557cf568806baf3f67d57292ef66bbc590d.dolsen@gentoo \
    --to=dolsen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox