【问题标题】:File Specific Report generator文件特定报告生成器
【发布时间】:2016-03-24 18:13:52
【问题描述】:

谁能指出我正确的方向,我正在寻找一种工具,它可以提供报告,其中包含添加到项目中的新行或修改的代码行。我们正在与 SVN、ant、maven、gradel、jenkins、声纳、鱼眼、坩埚合作。我的老板希望我们每周生成一份报告,显示项目中添加了多少新的或修改的代码行。请帮助我使用任何工具或脚本。

【问题讨论】:

    标签: git svn jenkins gitlab


    【解决方案1】:

    git diff --numstat 可以轻松地为两个日期之间的所有回购做到这一点。
    另见“git diff --stat explanation

    git diff --numstat "@{7 day ago}"
    

    您需要parse its output to get the total,如“Git: Getting total numbers of uncomitted lines in a repo”。
    更多complete tools are listed here.

    对于 SVN,请参阅“How many lines of code modified during a time period?”或“What svn command would list all the files modified on a branch?”。

    【讨论】:

    • 嘿@VonC,目前我们也在使用svn。 SVN有什么流程吗?
    猜你喜欢
    • 1970-01-01
    • 2011-01-28
    • 2020-07-13
    • 2021-09-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-09-07
    相关资源
    最近更新 更多