Gentoo Archives: gentoo-commits

From: Chris Reffett <creffett@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/sync/modules/git/
Date: Mon, 10 Feb 2014 04:08:00
Message-Id: 1392005206.a628872018e48c1e1e0fffb4eca6af5a239e0586.creffett@gentoo
1 commit: a628872018e48c1e1e0fffb4eca6af5a239e0586
2 Author: Chris Reffett <2011creffett <AT> tjhsst <DOT> edu>
3 AuthorDate: Mon Feb 10 04:06:46 2014 +0000
4 Commit: Chris Reffett <creffett <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 10 04:06:46 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a6288720
7
8 Update module spec for git
9
10 ---
11 pym/portage/sync/modules/git/__init__.py | 21 +++++++++++++++++----
12 1 file changed, 17 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 39d7296..4ceaa84 100644
16 --- a/pym/portage/sync/modules/git/__init__.py
17 +++ b/pym/portage/sync/modules/git/__init__.py
18 @@ -2,7 +2,7 @@
19 # Distributed under the terms of the GNU General Public License v2
20
21 """Git plug-in module for portage.
22 - Performs a git pull on repositories
23 +Performs a git pull on repositories
24 """
25
26
27 @@ -14,8 +14,21 @@ module_spec = {
28 'name': "git",
29 'class': "GitSync",
30 'description': __doc__,
31 - 'functions': ['sync',],
32 - 'func_desc': {'sync': 'Performs a git pull on the repository'}
33 - }
34 + 'functions': ['sync', 'new', 'exists'],
35 + 'func_desc': {
36 + 'sync': 'Performs a git pull on the repository',
37 + 'new': 'Creates the new repository at the specified location',
38 + 'exists': 'Returns a boolean of whether the specified dir ' +
39 + 'exists and is a valid Git repository',
40 + },
41 + 'func_parameters': {
42 + 'kwargs': {
43 + 'type': dict,
44 + 'description': 'Standard python **kwargs parameter format' +
45 + 'Please refer to the sync modules specs at ' +
46 + '"https://wiki.gentoo.org:Project:Portage" for details',
47 + },
48 + },
49 }
50 }
51 +}