承接 smeghead/phel-saraudon 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

smeghead/phel-saraudon

最新稳定版本:v0.0.4

Composer 安装命令:

composer create-project smeghead/phel-saraudon

包简介

A command to Visualize result of `git log --stat`.

README 文档

README

A command to Visualize result of git log --stat

Description

It takes as input the commit history of the git repository (git log --stat) and outputs HTML content to visualize the information. D3(https://d3js.org/) is used to display the graphs.

The tool uses phel-lang. There are no restrictions on target repositories.

This tool is experimental. So, what can be gained from what is visualized by this tool is a subject for future work.

Install (composer)

$ composer require --dev smeghead/phel-saraudon

https://packagist.org/packages/smeghead/phel-saraudon

Execute

Output analysis results for the last 20 commits.

$ git log --stat -n 20 | vendor/bin/saraudon -- src > output.html

Run the git log command which outputs the last 50 commit logs against the git repository in another directory, parse the results and save the html content in output.html.

$ $(vendor/bin/saraudon-git-log /usr/target-project) -n 50 | vendor/bin/saraudon -- src > output.html

$(vendor/bin/saraudon-git-log /usr/target-project): saraudon-git-log generates a git command by specifying the target git directory. This can be followed by additional options for git log.

Run the git log command to output the commit log for tags v0.14.0 through v0.15.0 for the git repository in another directory, parse the results and save the html content in output.html.

$ $(vendor/bin/saraudon-git-log /usr/target-project) v0.14.0..v0.15.0 | vendor/bin/saraudon -- src > output.html

Example

Visualization of the history of the last 50 commits of php-class-diagram.

example-output-page

example

Development

docker

$ docker compose build 
$ docker compose run --rm php_cli bash
# composer install

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-21