HiveMinds / HiveMinds/tw-install
Periodically execute calendar sync
- Dominant language
- Shell
- Stars
- 20
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Write a cronjob that executes the following commands for tasks with projects:
- Browse to the folder with calendar synchronization files.
cd ~/maintenance/gCal/
1.a Loop through all tasks
1.b Identify/list all projects, (e.g. uni.int.as and uni.int.ex as different projects).
1.c Loop through list with all projects
1.d Assign the project (name) as tag to all tasks in that project.
task status:pending proj:uni.int modify +uni.int
task status:pending proj:uni.rep modify +uni.rep
- Then sync all tasks with (google) calendar using the tags to calendars.
2.a Note, distinguish calendars up to 2 dots in the project name. E.g. both tasksuni.int.asanduni.int.exgo into a (new) calendar named:TW uni.int.
./tw_gcal_sync -c "TW intern" -t "uni.int"
./tw_gcal_sync -c "TW represInterac" -t "uni.rep"
3. If you want you can expand this method by asking the user whether they want custom calendar names e.g. TW intern in stead of `TW uni.int`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the calendar synchronization directory ~/maintenance/gCal/ and read the existing ./tw_gcal_sync command and its -c and -t options. Trace how Taskwarrior project tags map to calendars, then define the cron entry around the listed task commands; done means pending tasks are grouped by project and synced to calendars with the specified two-dot naming rule.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100