[Asterisk-code-review] Change in repotools[master]: digium_git: Add a new module to manage Git

Matt Jordan (Code Review) asteriskteam at digium.com
Wed Apr 15 21:29:11 CDT 2015


Matt Jordan has uploaded a new patch set (#3).

Change subject: digium_git: Add a new module to manage Git
......................................................................

digium_git: Add a new module to manage Git

This patch adds a new module, diguim_git, that wraps up Git commands in
Python for other script usage. It provides two classes:
 * GitProgressBar - this displays a pretty progress bar while the Git
                    wrapper class manipulates repositories
 * DigiumGitRepo  - a wrapper around a repo, this provides some handy
                    accessors for creating/updating an existing repo
		    and pulling commit history. Commit history obtained
		    is generally turned into DigiumCommitMessageParser
		    objects, so that the release summary scripts and
		    other Asterisk project change logs can obtain
		    testers, reporters, JIRA issues, license numbers,
		    etc.

In addition, the patch updates the following modules:
 * digium_commits - the DigiumCommitMessageParser class has been updated
                    to use the digium_jira_user module. All name mapping
		    information has been moved there.
 * digium_jira_user - added equality/not-equality operator callbacks.
                      This allows for DigiumCommitMessageParser objects
		      to determine their own equality when used as
		      members of a collection.

Change-Id: I81f66a33f8f2ff7a7d9d0cbb82428e71370536b2
---
M digium_commits.py
A digium_git.py
M digium_jira_user.py
3 files changed, 288 insertions(+), 57 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/32/132/3
-- 
To view, visit https://gerrit.asterisk.org/132
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I81f66a33f8f2ff7a7d9d0cbb82428e71370536b2
Gerrit-PatchSet: 3
Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>



More information about the asterisk-code-review mailing list