From 953c41e1c43e4815a8bb3638cdfdb2328c9108bb Mon Sep 17 00:00:00 2001 From: Arvid Norlander Date: Sun, 29 May 2022 16:01:55 +0200 Subject: [PATCH] Remove known issues from the source file. Add limitations to README. --- README.md | 7 +++++++ bin/chezmoi_ini_manager.py | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c9de38b..9bf6bea 100644 --- a/README.md +++ b/README.md @@ -114,3 +114,10 @@ Optional: * python-keyring is required for the `keyring` transform to pull passwords from kwallet/gnome-keyring/etc. + +## Limitations + +* When a key exists in the `.src.ini` file but not in the target state it will + be added to the end of the relevant section. This is not an issue as the + program will usually just resort the file next time it writes out its + settings. diff --git a/bin/chezmoi_ini_manager.py b/bin/chezmoi_ini_manager.py index a7ac05a..a6bd29f 100755 --- a/bin/chezmoi_ini_manager.py +++ b/bin/chezmoi_ini_manager.py @@ -3,13 +3,6 @@ Chezmoi modify_ script helper to handle ini files (mostly from KDE) Needs Python 3.10 or later. - -Known issues: -* Dolphin puts a key-value pair before the first section. This is only - semi-supported. It must exist in the target file already to work. -* Keys and sections that don't exist in the target state are tacked on to the - end and formatted funny. This will still work correctly. Next time KDE saves - the file and overwrites it, the formatting will end up fixed though. """ import enum