ktamas77 / team-gource
为整个组织提供Gource可视化
1.0.0
2016-05-24 20:34 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-09-12 02:05:27 UTC
README
为整个组织提供Gource可视化
Gource是一个非常棒的工具,用于可视化个人仓库的历史。该工具可以帮助您通过将多个仓库合并成一个单一的历史记录,来可视化整个组织的活动。您可以在配置文件中配置应包含哪些仓库,哪些用户应包含在内,以及哪些用户(如机器人)应排除在外。此实用程序将创建给定仓库和用户的综合历史记录;然后,可以使用Gource生成团队综合历史的动画。
先决条件
brew install gource ffmpeg
如何安装
composer require ktamas77/team-gource
配置示例
您需要将提供的tg.conf.example
文件重命名为tg.conf
,然后编辑该文件。
teams: - name: main team # verbose name of the team collection: frontend-repos # id of the collection of the repos to scan members: # list of the members who are part of your team - only these users will be part of the animation - name: Tamas # name of the user as it will be see in the rendered animation aliases: [ktamas77, Tamas Kalman, ktamas77@gmail.com] # aliases of the user (it will be combined into one) - name: John # another user aliases: [john123, John Doe, john@mail.com] # user aliases excluded: [automated-script, garbage-collector] # excluded these users; put here the bots, if you have any - name: team2 # example of another team (you can define as many teams as needed) collection: backend-repos members: - name: Smith aliases: [smith123, Smith, smith@mail.com] collections: # collection of repositories; each connection can be added to a team above - name: frontend-repos # id of the collection, this is what we assign for the teams above organization: betacorp # name of the organization in github where the repos are belong to repos: # list of the repositories - name: frontend-website # repository name - name: logger # repository name - name: monitoring # repository name - name: backend-repos # another collection of repos organization: unicorp # another organization repos: # list of repositories - name: logservice # repository name - name: userservice # repository name - name: microservice # repository name
如何运行
编辑完配置文件后,只需简单地运行php tg.php
。然后,使用生成的文件运行Gource。
接下来
- 优化/精简插件式数据处理
- 集成数据可视化配置+ Gource渲染