question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Feature: Import/Integrate Taskwarrior tasks

See original GitHub issue

Taskwarrior is a task management tool mostly accessed from a terminal.

It’d be great if tasks could be integrated/imported from a Taskwarrior pending.data file. The import should not be a one off, one way import, but rather new tasks in Wekan should be synced back to the pending.data file and new files added to Taskwarrior from elsewhere should automatically appear in Wekan.

As a quick overview, it is possible to have a Taskserver which holds a master list of all tasks. Multiple remote machines can be used to view, add, edit tasks, and then synced back to the main server. As long as Taskwarrior was installed on the same server as Wekan, and syncing to a master server, there would be a Taskwarrior pending.data (pending tasks) file present.

There are very few viable UI tools for Taskwarrior. The only really useful one is inthe.am. While this is an open source tool, there are no installation instructions and the hosted version requires one to login with a Google account.

Perhaps this would form part of the long discussed Plugin system.

If this Feature was deemed viable, I’d be happy to work on requirements for mapping fields from a pending.data file to Wekan boards.

As an example of the format:

[description:"Important Birthday" due:"1480723100" entry:"1473174653" mask:"--" modified:"1484739219" priority:"H" project:"Personal.Family" recur:"yearly" status:"recurring" uuid:"2a3e26da-7964-44b5-b563-54c3d419654t"]

Also worth mentioning is Taskwarrior’s JSON support, which might be an easier way forward.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:5
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
xet7commented, Mar 6, 2021

Usually inside container Wekan code itself is read-only, it’s not possible to install plugins in-the-fly. Well, in theory, Wekan could write new Javascript code to writeable database directory and then eval it, but that could be dangerous.

1reaction
xet7commented, Mar 6, 2021

@ahillio

I would prefer Wekan itself would not execute shell commands, that sounds kind of dangerous. Also if Wekan is inside some container like Snap/Docker/SandstormGrain, then it can not access anything outside that sandbox, it can only write to directory where are database files, and it’s subdirectories. I would recommend that webhook receiver code does some validation about what commands to execute.

It would be better that some webhook receiver is at localhost port.

You can use anything to receive webhook I think?

See right menu Webhooks at https://github.com/wekan/wekan/wiki . There is also Global Webhooks at Admin Panel, limiting webhook data, etc.

Wekan does send most board actions to webhooks. There are still some open issues that not everything is sent yet to webhook, like changes to card description, but anyone could add those missing webhooks, I did add some tips those webhook issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Commands - Taskwarrior
Here are the commands alphabetically. Version-specific features are labelled with the version in which they were first available. add - Add a new...
Read more >
Usage Examples - Taskwarrior
Usage Examples. Here are some Taskwarrior command line examples that cover a variety of topics. While this is not a reference for the...
Read more >
Add Command - Taskwarrior
add. The add command is the primary means of creating tasks. The simplest task requires only a description: $ task add Fix the...
Read more >
How to Request a Feature - Taskwarrior
Ideally a task could depend on multiple other tasks. I would need to both add and remove a dependency. Dependencies are a commonly...
Read more >
Terminology - Taskwarrior
An annotation is a note added to an existing task, and is in the form of a text ... and allows access to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found