Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/sync/modules/git/
Date: Fri, 02 May 2014 23:13:37
Message-Id: 1398843526.7955f98073945624f0aba2f2f8dbbd1c0ce4e80e.dol-sen@gentoo
1 commit: 7955f98073945624f0aba2f2f8dbbd1c0ce4e80e
2 Author: Chris Reffett <2011creffett <AT> tjhsst <DOT> edu>
3 AuthorDate: Mon Feb 10 04:06:46 2014 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Wed Apr 30 07:38:46 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7955f980
7
8 Update module spec for git
9
10 ---
11 pym/portage/sync/modules/git/__init__.py | 19 +++++++++++++++----
12 1 file changed, 15 insertions(+), 4 deletions(-)
13
14 diff --git a/pym/portage/sync/modules/git/__init__.py b/pym/portage/sync/modules/git/__init__.py
15 index 09de13d..4ceaa84 100644
16 --- a/pym/portage/sync/modules/git/__init__.py
17 +++ b/pym/portage/sync/modules/git/__init__.py
18 @@ -14,10 +14,21 @@ module_spec = {
19 'name': "git",
20 'class': "GitSync",
21 'description': __doc__,
22 - 'functions': ['sync',],
23 + 'functions': ['sync', 'new', 'exists'],
24 'func_desc': {
25 - 'sync', 'Performs a git pull on the repository',
26 - }
27 - }
28 + 'sync': 'Performs a git pull on the repository',
29 + 'new': 'Creates the new repository at the specified location',
30 + 'exists': 'Returns a boolean of whether the specified dir ' +
31 + 'exists and is a valid Git repository',
32 + },
33 + 'func_parameters': {
34 + 'kwargs': {
35 + 'type': dict,
36 + 'description': 'Standard python **kwargs parameter format' +
37 + 'Please refer to the sync modules specs at ' +
38 + '"https://wiki.gentoo.org:Project:Portage" for details',
39 + },
40 + },
41 }
42 }
43 +}