#owner #commit #git #features #git-repository

app fowner

跟踪git仓库中的特性和文件所有权

2个版本

0.1.2 2022年7月3日
0.1.1 2022年7月3日

#694HTTP服务器

MIT 许可证

71KB
2K SLoC

Version Twitter: krakaw_1

名为F-Owner的动态系统恰如其分地追踪谁拥有某个特性以及该特性集中的任何文件何时被更改。它是通过从git仓库中提取作者信息并允许通过提交消息设置特性来实现的。

🏠 主页

安装

cargo build --release

cargo install fowner

用法

cargo run -- --help
fowner 0.1.1
Krakaw <41575888+Krakaw@users.noreply.github.com>

USAGE:
    fowner [OPTIONS] <SUBCOMMAND>

OPTIONS:
    -d, --database-path <DATABASE_PATH>    Database path [default: ./.data.sqlite3]
    -h, --help                             Print help information
    -V, --version                          Print version information

SUBCOMMANDS:
    dotfile    Generate a dotfile in the target repo containing all files and their features
    help       Print this message or the help of the given subcommand(s)
    history    Process the git history for a repository
    serve      Serve the HTTP REST API [default: 0.0.0.0:8080]

运行测试

cargo test

作者

👤 Krakaw

示例

添加特性

特性可以通过在pull request标题中添加 [Feature 1,Feature 2] 来添加。

或者,可以通过生成一个点文件并将特性作为逗号分隔的列表手动添加到文件中来添加特性。

添加所有者

Owners 通过导入过程提取并自动与文件关联。

每个 Owner 都可以有一个 primary_owner_id,这解决了GitHub处理时的混淆问题,以便在结果中展示单个所有者。

展示您的支持

如果这个项目帮助了您,请给它一个⭐️!


这个README是用❤️由readme-md-generator生成的

依赖项

~53MB
~1M SLoC