From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/sync/modules/websync/, pym/portage/sync/modules/git/, ...
Date: Mon, 16 Jun 2014 15:18:46 +0000 (UTC) [thread overview]
Message-ID: <1399954661.8df80e04f931f71168dabe51e0df1e3061858fab.dol-sen@gentoo> (raw)
commit: 8df80e04f931f71168dabe51e0df1e3061858fab
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 20 14:22:37 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Tue May 13 04:17:41 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8df80e04
modules/*/__init__.py: rename module1 keys
Add aditional info to the func_parameters dictionary.
---
pym/portage/sync/modules/cvs/__init__.py | 4 +++-
pym/portage/sync/modules/git/__init__.py | 4 +++-
pym/portage/sync/modules/rsync/__init__.py | 4 +++-
pym/portage/sync/modules/websync/__init__.py | 8 +++++---
4 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/pym/portage/sync/modules/cvs/__init__.py b/pym/portage/sync/modules/cvs/__init__.py
index 93e0e26..e1e0920 100644
--- a/pym/portage/sync/modules/cvs/__init__.py
+++ b/pym/portage/sync/modules/cvs/__init__.py
@@ -29,7 +29,7 @@ module_spec = {
'name': 'cvs',
'description': __doc__,
'provides':{
- 'module1': {
+ 'cvs-module': {
'name': "cvs",
'class': "CVSSync",
'description': __doc__,
@@ -46,6 +46,8 @@ module_spec = {
'description': 'Standard python **kwargs parameter format' +
'Please refer to the sync modules specs at ' +
'"https://wiki.gentoo.org:Project:Portage" for details',
+ 'required-keys': ['options', 'settings', 'logger', 'repo',
+ 'xterm_titles', 'spawn_kwargs'],
},
},
'validate_config': CheckCVSConfig,
diff --git a/pym/portage/sync/modules/git/__init__.py b/pym/portage/sync/modules/git/__init__.py
index eca44e2..593e95d 100644
--- a/pym/portage/sync/modules/git/__init__.py
+++ b/pym/portage/sync/modules/git/__init__.py
@@ -13,7 +13,7 @@ module_spec = {
'name': 'git',
'description': __doc__,
'provides':{
- 'module1': {
+ 'git-module': {
'name': "git",
'class': "GitSync",
'description': __doc__,
@@ -30,6 +30,8 @@ module_spec = {
'description': 'Standard python **kwargs parameter format' +
'Please refer to the sync modules specs at ' +
'"https://wiki.gentoo.org:Project:Portage" for details',
+ 'required-keys': ['options', 'settings', 'logger', 'repo',
+ 'xterm_titles', 'spawn_kwargs'],
},
},
'validate_config': CheckSyncConfig,
diff --git a/pym/portage/sync/modules/rsync/__init__.py b/pym/portage/sync/modules/rsync/__init__.py
index e3729ac..ce1daa1 100644
--- a/pym/portage/sync/modules/rsync/__init__.py
+++ b/pym/portage/sync/modules/rsync/__init__.py
@@ -13,7 +13,7 @@ module_spec = {
'name': 'rsync',
'description': __doc__,
'provides':{
- 'module1': {
+ 'rsync-module': {
'name': "rsync",
'class': "RsyncSync",
'description': __doc__,
@@ -29,6 +29,8 @@ module_spec = {
'description': 'Standard python **kwargs parameter format' +
'Please refer to the sync modules specs at ' +
'"https://wiki.gentoo.org:Project:Portage" for details',
+ 'required-keys': ['options', 'settings', 'logger', 'repo',
+ 'xterm_titles', 'spawn_kwargs'],
},
},
'validate_config': CheckSyncConfig,
diff --git a/pym/portage/sync/modules/websync/__init__.py b/pym/portage/sync/modules/websync/__init__.py
index 52356b7..c5dc170 100644
--- a/pym/portage/sync/modules/websync/__init__.py
+++ b/pym/portage/sync/modules/websync/__init__.py
@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
"""WebRSync plug-in module for portage.
-Performs a http download of a portage snapshot and verifies and
- unpacks it to the repo location.
+Performs a http download of a portage snapshot, verifies and
+unpacks it to the repo location.
"""
import os
@@ -29,7 +29,7 @@ module_spec = {
'name': 'webrsync',
'description': __doc__,
'provides':{
- 'module1': {
+ 'websync-module': {
'name': "websync",
'class': config_class,
'description': __doc__,
@@ -46,6 +46,8 @@ module_spec = {
'description': 'Standard python **kwargs parameter format' +
'Please refer to the sync modules specs at ' +
'"https://wiki.gentoo.org:Project:Portage" for details',
+ 'required-keys': ['options', 'settings', 'logger', 'repo',
+ 'xterm_titles', 'spawn_kwargs'],
},
},
'validate_config': CheckSyncConfig,
next reply other threads:[~2014-06-16 15:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-16 15:18 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-09-29 18:29 [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/sync/modules/websync/, pym/portage/sync/modules/git/, Brian Dolbec
2014-09-27 2:20 Brian Dolbec
2014-09-05 21:15 Brian Dolbec
2014-09-05 21:15 Brian Dolbec
2014-09-03 23:36 Brian Dolbec
2014-09-03 23:36 Brian Dolbec
2014-06-16 22:45 Brian Dolbec
2014-06-16 22:45 Brian Dolbec
2014-06-16 15:46 Brian Dolbec
2014-06-16 15:46 Brian Dolbec
2014-06-16 15:18 Brian Dolbec
2014-05-02 23:13 Brian Dolbec
2014-05-02 23:13 Brian Dolbec
2014-04-22 2:36 Brian Dolbec
2014-04-22 2:36 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=1399954661.8df80e04f931f71168dabe51e0df1e3061858fab.dol-sen@gentoo \
--to=brian.dolbec@gmail.com \
--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