GothenburgBitFactory / GothenburgBitFactory/timewarrior

Support quoting (sections of) left hand side in config file definitions

Open
#536 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
1.7k
Forks
117
Avg merge
1d 7h
Merged PRs (30d)
5

Description

Currently, setting tag descriptions is done by adding an entry such as `tags.acme.description = Work done for ACME Inc.` to the `timewarrior.cfg` file (either directly or through `timew config`).

This works great for all tags with simple names, but not for tags such as `name-with-dashes` or `"name with spaces"`.

I propose allowing constructs such as:
```
tags."a non-obvious name, possibly with periods.in.the.middle".description = The description
```

At the moment, both the above and the simpler form `tags.with-dash.description = Something` fail silently (no error is reported, but timewarrior does not process any further config lines).

NOTE: My use case is with tag descriptions, but I believe this problem can be generalized for all config file definitions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.