V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
humbleman
V2EX  ›  程序员

请教有没有通过 Git 提交记录生成周报的工具呀

  •  
  •   humbleman · 13 天前 · 2439 次点击

    每周要提交工作内容的周报,麻烦又容易忘。请教大家平时有没有用过通过 Git 提交记录生成周报的工具,试用了几个命令行的工具,基本都不维护了。

    最好是可以配置多个 Git 仓库,然后把不同仓库的工作分组后整理成 Markdown 格式。


    参考

    19 条回复    2024-09-13 13:44:11 +08:00
    sackcentury
        1
    sackcentury  
       13 天前
    自己写一个 shell 脚本不就行了
    puzzle9
        2
    puzzle9  
       13 天前
    插楼问一下
    https://github.com/v2fly/v2ray-core/releases
    类似于这种发布日志 他是怎么实现的
    future0906
        3
    future0906  
       13 天前
    @puzzle9
    semantic release
    rekulas
        4
    rekulas  
       13 天前
    我之前也有这想法,可以考虑直接 api 读取 commit 然后给 ai 整理成周报,应该 1 小时就搞定了
    Wxh16144
        5
    Wxh16144  
       13 天前
    这种太偏向于个人了,很多人都会选择自己写一个
    GoNewEra
        6
    GoNewEra  
       13 天前
    @puzzle9 chayan!
    birdhk
        7
    birdhk  
       12 天前
    @puzzle9 可以通过 github app 来做,比如 Release Drafter ,我们的 github 开源仓库就这个,提了 pr 合并之后会自动添加到 release 草稿
    bojackhorseman
        8
    bojackhorseman  
       12 天前
    @puzzle9 每个 commit 后面跟的 issue 链接是怎么做到的
    guanzhangzhang
        9
    guanzhangzhang  
       12 天前
    还是基于 api ,做个 cli 工具,指定仓库,指定提交者和时间 start end 来导出
    AkinoKaedeChan
        10
    AkinoKaedeChan  
       12 天前 via Android
    @bojackhorseman 要自动化的话可以每次都用 squash and merge 。至于 v2fly/v2ray-core ,这是大概率手写的……
    NX2023
        11
    NX2023  
       12 天前
    @puzzle9 goreleaser
    zcf0508
        12
    zcf0508  
       12 天前   ❤️ 1
    shuhao
        13
    shuhao  
       12 天前 via iPhone
    写个 shell 脚本,git 读取 commit 记录再去重之类的。我就是这么干的
    luoshuimumu
        14
    luoshuimumu  
       12 天前
    你的管理者应该是不希望在周报里看到这么细的流水账内容的吧?
    LitterGopher
        15
    LitterGopher  
       11 天前
    你可以说说你的需求,我免费帮写。
    charlesss
        16
    charlesss  
       11 天前
    自己写一个获取 git commit ,之后用 ai 进行总结。
    kilvn
        17
    kilvn  
       11 天前
    git log --oneline --decorate

    这个命令就可以直接取到啊,还要什么脚本。。。。
    Takamine
        18
    Takamine  
       11 天前
    @puzzle9
    在 Github 发布 release 支持一键 Generate release notes 就是这样的格式,额外自己按照类型再稍微做一下调整就好了。
    humbleman
        19
    humbleman  
    OP
       11 天前
    感谢大家,不一一回复了
    这周末准备借助 AI ,学学 IDEA 插件写法。把配置仓库、复选中提交记录,最后导出一段 Markdown 文本。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5669 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 06:28 · PVG 14:28 · LAX 23:28 · JFK 02:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.