Skip to content

[Perf] 优化 configs 读取, 方便更新对比 #24

Description

@Nanaloveyuki

现状

目前是把 configs 文件夹作为配置文件示例存储位置, 不更新还好, 一更新就会遇到 modified file need commit or stash 诸如此类的问题. 让我不得不用 git update-index --no-skip-worktree configs/repos.yaml configs/server.yaml configs/feishu-bots.yaml 让status忽略modified, 再用cp大法手动备份配置, 升级后还得再cp回来

设想

example configconfigs/ 分开, 在首次启动时自动 cp example configsconfigs/, configs/ 默认 gitignore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions