[FEAT] Read tag-wahoo.xml and tags-to-keep.json from user directory first (from python module as fallback) #170
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR…
tag-wahoo.xml
(or with another name, see argument-tag
) andtags-to-keep.json
from user directory if they exist, if not read from python modulewahooMapsCreatorData/_config
thereforepython -m wahoomc.init
for initialization of the user directory. Files from python module are copied to user directory and you are asked for overwriting if they aready existConsiderations and implementations
Lately a lot of people played around with tags-to-keep and tag-wahoo .xml files.
To do that one had to 1. clone/download the repo or 2. make changes in the python module installation controlled by PyPI.
The advice is now more than ever to install via PyPI and put user specific files in the unser directory of wahooMapsCreator!
How to test
Pull Request Checklist