ActivityWatch / ActivityWatch/aw-core

Restructure config files

Đang mở
#33 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
65
Fork
72
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
5

Mô tả

I think that a default config section title of `$appname` (as in the `{afk, window, spotify}` watchers currently) is a bad idea.

- [ ] Change to a proper default section.

We should also handle testing settings using configparsers override functionality (override some defaults when run in testing mode), not as it's own defaults.

- [ ] Testing modes should be an override of the default, not a different default.

I also want to add comments to the config files to make them easier to edit.

- [ ] [Add comments to the config files](https://stackoverflow.com/questions/6620637/writing-comments-to-files-with-configparser), making them friendlier to edit.

It would be nice to have some kind of argparse + configparser settings union to simplify overriding parameters using the commandline.

- [ ] (extra) Nice way to use argparse output as overrides.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.