Use gitignore so common end user modifications don't prevent git pull
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- git, python
调研方向
首先检查仓库的 .gitignore,并定位主题和 config.yaml 的加载或生成位置。在进行任何更改之前,先与 maintainer 确定范围:完成的标准应是让用户主题和设置在 git pull 后仍能保留,同时保留清晰的默认配置路径。
由索引模型根据 Issue 内容生成。
描述
Describe the feature / solution to your problem you'd like
Please have a folder for themes that are included by default, and another folder for themes that we might create ourselves or get from other sources. Please add this folder to the gitignore file so that we can pull down newer versions of the repository without needing to copy our themes out of the folder and add them back in after pulling down changes.
A related challenge would be to, upon first run, generate a config.yaml copy (userconfig.yaml?) that is actually used for storing settings, and having that config file be in the gitignore. That way, the user might run the script for the first time and have a config file generated for them, but since that would be in the gitignore, they would still be able to get changes. The config.yaml right now might be renamed to config.yaml.template to show that it is used for the generation of a config file.
Ideally, files that are commonly modified by end users would be in the gitignore, but there should be an option for an initial config to be generated in the absence of a user config.
Describe alternatives you've considered / and or tested
Currently, I use a PowerShell script to move my theme and config out of the directory, and move them back into the repo after pulling down the changes.
Screenshots / photos & mockups of the Turing screen
Here is an example of files I need to move out before I can pull the latest code down:
Environment:
- Revision of this project [main branch]
- OS with version [Windows 11]
- Python version [python 3.11]
- Hardware [AMD Ryzen 7950x3D, GeForce RTX 4090, 128GB RAM]
Additional context
These changes should encourage tinkering, and encourage updates to the latest version.
Those that have issues after downloading the latest updates should consider clearing their personal settings file in case the format changes and they need to pull the latest version.
- 主要语言
- Rich Text Format
- 星标
- 2.3k
- 派生
- 412
- 平均合并
- 21 小时 10 分钟
- 30 天内合并 PR
- 7
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mathoudebine/turing-smart-screen-python 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
mathoudebine/turing-smart-screen-python#896 · 1 条评论 ·
-
enhancement
难度 1/5 1-3 小时 新手友好度 72/100
mathoudebine/turing-smart-screen-python#557 · 2 条评论 · 3 个 reaction ·
-
enhancement
难度 5/5 一周以上 新手友好度 42/100
查看 mathoudebine/turing-smart-screen-python 的全部 Issue
相似的 Issue
-
comp/cron P2 sweeper:risk-automation type/bug
难度 2/5 1-3 小时 新手友好度 78/100
NousResearch/hermes-agent#117792 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
bancolombia/sentinel#20 ·
-
optimization optimization:agents-md-curator
难度 2/5 1-3 小时 新手友好度 86/100
githubnext/gh-aw-cao#13143 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
-
chore
难度 2/5 1-3 小时 新手友好度 85/100
alunduil/woodland-generators#669 ·