From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AC71C1381FA for ; Fri, 2 May 2014 23:13:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF34FE0942; Fri, 2 May 2014 23:13:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44B69E0942 for ; Fri, 2 May 2014 23:13:36 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7107B34037E for ; Fri, 2 May 2014 23:13:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id CCAA418744 for ; Fri, 2 May 2014 23:13:32 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1398843526.7955f98073945624f0aba2f2f8dbbd1c0ce4e80e.dol-sen@gentoo> Subject: [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/sync/modules/git/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/sync/modules/git/__init__.py X-VCS-Directories: pym/portage/sync/modules/git/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 7955f98073945624f0aba2f2f8dbbd1c0ce4e80e X-VCS-Branch: plugin-sync Date: Fri, 2 May 2014 23:13:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7f599276-715c-41bc-9eee-12fd57ea819e X-Archives-Hash: e9e85b5f78e8898c93e922d366feb1e4 commit: 7955f98073945624f0aba2f2f8dbbd1c0ce4e80e Author: Chris Reffett <2011creffett tjhsst edu> AuthorDate: Mon Feb 10 04:06:46 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Wed Apr 30 07:38:46 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7955f980 Update module spec for git --- pym/portage/sync/modules/git/__init__.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pym/portage/sync/modules/git/__init__.py b/pym/portage/sync/modules/git/__init__.py index 09de13d..4ceaa84 100644 --- a/pym/portage/sync/modules/git/__init__.py +++ b/pym/portage/sync/modules/git/__init__.py @@ -14,10 +14,21 @@ module_spec = { 'name': "git", 'class': "GitSync", 'description': __doc__, - 'functions': ['sync',], + 'functions': ['sync', 'new', 'exists'], 'func_desc': { - 'sync', 'Performs a git pull on the repository', - } - } + 'sync': 'Performs a git pull on the repository', + 'new': 'Creates the new repository at the specified location', + 'exists': 'Returns a boolean of whether the specified dir ' + + 'exists and is a valid Git repository', + }, + 'func_parameters': { + 'kwargs': { + 'type': dict, + 'description': 'Standard python **kwargs parameter format' + + 'Please refer to the sync modules specs at ' + + '"https://wiki.gentoo.org:Project:Portage" for details', + }, + }, } } +}