From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:repoman commit in: repoman/pym/repoman/modules/scan/
Date: Sat, 15 Jul 2017 02:29:30 +0000 (UTC) [thread overview]
Message-ID: <1500085544.ad4dedb929b147b19b55e0831d3ff52ce0d6f17d.dolsen@gentoo> (raw)
commit: ad4dedb929b147b19b55e0831d3ff52ce0d6f17d
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 00:11:13 2017 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 02:25:44 2017 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ad4dedb9
repoman: Update modules/scan/module.py for linechecks config addition
repoman/pym/repoman/modules/scan/module.py | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/repoman/pym/repoman/modules/scan/module.py b/repoman/pym/repoman/modules/scan/module.py
index 57ba274a1..ba720386c 100644
--- a/repoman/pym/repoman/modules/scan/module.py
+++ b/repoman/pym/repoman/modules/scan/module.py
@@ -25,7 +25,7 @@ class ModuleConfig(object):
@param configpaths: ordered list of filepaths to load
'''
- self.configpaths = [os.path.join(path, 'repository.yml') for path in configpaths]
+ self.configpaths = [os.path.join(path, 'repository.yaml') for path in configpaths]
logging.debug("ModuleConfig; configpaths: %s", self.configpaths)
self.controller = Modules(path=MODULES_PATH, namepath="repoman.modules.scan")
@@ -41,13 +41,17 @@ class ModuleConfig(object):
for loop in ['pkgs', 'ebuilds', 'final']:
logging.debug("ModuleConfig; Processing loop %s", loop)
setattr(self, '%s_loop' % loop, self._determine_list(loop))
+ self.linechecks = stack_lists(c['linechecks_modules'].split() for c in self._configs)
def load_configs(self, configpaths=None):
- '''load the config files in order'''
+ '''load the config files in order
+
+ @param configpaths: ordered list of filepaths to load
+ '''
if configpaths:
self.configpaths = configpaths
elif not self.configpaths:
- logging.error("ModuleConfig; Error: No repository.yml files defined")
+ logging.error("ModuleConfig; Error: No repository.yaml files defined")
configs = []
for path in self.configpaths:
logging.debug("ModuleConfig; Processing: %s", path)
next reply other threads:[~2017-07-15 2:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-15 2:29 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-03-30 0:48 [gentoo-commits] proj/portage:repoman commit in: repoman/pym/repoman/modules/scan/ Brian Dolbec
2018-03-29 21:35 Brian Dolbec
2017-12-06 0:16 Brian Dolbec
2017-08-17 1:59 Brian Dolbec
2017-07-15 2:08 Brian Dolbec
2017-07-10 23:01 Brian Dolbec
2017-07-10 22:31 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=1500085544.ad4dedb929b147b19b55e0831d3ff52ce0d6f17d.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