diff options
Diffstat (limited to 'repoman/lib/repoman/modules/vcs/git/__init__.py')
-rw-r--r-- | repoman/lib/repoman/modules/vcs/git/__init__.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/repoman/lib/repoman/modules/vcs/git/__init__.py b/repoman/lib/repoman/modules/vcs/git/__init__.py new file mode 100644 index 000000000..eecd4a1d0 --- /dev/null +++ b/repoman/lib/repoman/modules/vcs/git/__init__.py @@ -0,0 +1,34 @@ +# Copyright 2014-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +doc = """Git (git) plug-in module for portage. +Performs variaous git actions and checks on repositories.""" +__doc__ = doc[:] + + +module_spec = { + 'name': 'git', + 'description': doc, + 'provides':{ + 'git-module': { + 'name': "git_status", + 'sourcefile': "status", + 'class': "Status", + 'description': doc, + 'functions': ['check', 'supports_gpg_sign', 'detect_conflicts'], + 'func_desc': { + }, + 'vcs_preserves_mtime': False, + 'needs_keyword_expansion': False, + }, + 'git-changes': { + 'name': "git_changes", + 'sourcefile': "changes", + 'class': "Changes", + 'description': doc, + 'functions': ['scan'], + 'func_desc': { + }, + }, + } +} |