churchtools/changelogger
最新稳定版本:v0.8.0
Composer 安装命令:
composer require churchtools/changelogger
包简介
CLI Tool for creating consistent and committable changelog entries.
README 文档
README
Changeloggger is a CLI tool to help you create better changelogs
At ChurchTools we develop a SaaS. To keep our users informed, we write changelogs for every version. We used to add our changelogs to the issue, but many times we forgot to add the changelog—and manual copy 'n' paste is tedious work! This tool helps us to write and create consistent changelogs that are committable so the reviewer can check it before merging.
What does it do?
Changelogger saves each log entry as a YAML file in changelogs/unreleased. During the development process many files from different features, bug fixes, and so on find their way into this folder.
We create for each change a different file to easily track them. Adding them to a single file, like Changelog.md directly could lead to nasty merge conflicts. One file per change avoids that.
In the end, if a new version is built, Changelogger takes all unreleased changes, sorts them and adds a new release to CHANGELOG.md. After that all files in changelogs/unreleased are deleted and your project is ready for the next version.
Changelogger is not taking your git-logs. There exists many tools that take your git-log and converts commit messages to changelog entries. IMHO, this leads in many cases to bad changelogs. Commit messages are not changelogs. They are pieces of information for developers and not the users. Our changelogs are handcrafted because non-developers, AKA our users, should be able to understand the changes.
Installation
This package requires PHP 8.1 You can require the package as a dev-dependency
composer require --dev churchtools/changelogger
or install it globally.
composer global require churchtools/changelogger
Usage
# To add a new changelog use `new`. changelogger new # When a new version is released run `release` to generate the changelog. # The <tag> is the version number or build number of the release. changelogger release <tag> # Need to start over? Run `clean` to remove all unreleased logs. changelogger clean
License
churchtools/changelogger is licensed under the Apache License 2.0
统计信息
- 总下载量: 15.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 34
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-08-01

