跳转到主要内容

帮助您找出应该更改的文件。

项目描述

https://badge.fury.io/py/gitcoach.png https://travis-ci.org/tarmstrong/gitcoach.png?branch=master https://pypip.in/d/gitcoach/badge.png

Gitlearn和gitcoach是一对工具,旨在帮助我,以及可能的其他人,通过尝试识别代码依赖关系来更好地理解居住在Git中的大型项目。

安装

安装gitcoach最简单的方法是通过pip

$ pip install gitcoach

使用

要生成预测数据,请运行gitlearn。这可能需要很长时间

usage: gitlearn [-h]

Generate coaching data for gitcoach.

optional arguments:
  -h, --help  show this help message and exit

gitcoach实用程序

usage: gitcoach [-h] [--file FILE] [--commit COMMIT] [--threshold THRESHOLD]

Find co-dependent files based on git history. Two files are co-dependent if
they have been modified in the same commits often enough.

optional arguments:
-h, --help            show this help message and exit
--file FILE, -f FILE  Find suggestions for a specific file
--commit COMMIT, -c COMMIT
                        Find suggestions for files modified in a specific
                        commit.
--threshold THRESHOLD, -t THRESHOLD
                        Threshold for co-incidence ratio (default=0.8).

gitcoach的示例输出

Here are some files you might want to look at:

travis.yml  suggested by    README.rst (0.500000)
tox.ini     suggested by    README.rst (0.500000)
setup.py    suggested by    README.rst (0.500000)
requirements.txt    suggested by    README.rst (0.500000)

历史

0.1

  • 原始版本由mhoye创建

0.2.0 (2013-11-08)

  • 重写

  • 新依赖项:git2json

  • 首次在PyPI上发布

0.2.2 (2013-11-09)

  • Python 3兼容性

  • 包装修复

项目详情


下载文件

下载适合您平台文件的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

gitcoach-0.2.2.tar.gz (7.3 kB 查看哈希值)

上传于

支持