Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Lists #500

Open
DhruvaSambrani opened this issue Sep 26, 2022 · 3 comments
Open

Multiple Lists #500

DhruvaSambrani opened this issue Sep 26, 2022 · 3 comments
Labels
contributions welcome Further design discussions and PRs are welcome. documentation

Comments

@DhruvaSambrani
Copy link

I understand that this should ideally work, but I have multiple webdav accounts synced by vdirsyncer to local as the following-

~/.calenders
    - CAL1
        - UUID
            - ev1.ics
            - ev2.ics
    - CAL2
        - UUID
            - ev1.ics
            - ev2.ics
    - CAL3
        - UUID
            - ev1.ics
            - ev2.ics

in ~/.config/todoman/config.py

path = "~/.calendars/*"

does not recognize any todos at all.

Todos show up only when I set path = "~/.calendars/CAL1/*" or similar. But then I cannot see todos from other calendars, as expected.

Suggested fix

I would suggest to allow path to be a list of locations. This may need other changes elsewhere.

@WhyNotHugo
Copy link
Member

WhyNotHugo commented Sep 26, 2022 via email

@DhruvaSambrani
Copy link
Author

It does, thanks.

I feel this should either be documented, or, even better, ~/.calendars/* should also match.

@WhyNotHugo
Copy link
Member

It's a glob pattern. Things like * and ? work as usual.

Granted, more examples could be documented (and, ideally, we should take a colon-separated list of globs/paths too).

@WhyNotHugo WhyNotHugo added contributions welcome Further design discussions and PRs are welcome. and removed enhancement labels Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome Further design discussions and PRs are welcome. documentation
Projects
None yet
Development

No branches or pull requests

2 participants