task: use bugwarrior to extract links from issue descriptions and insert as task annotations
Using bugwarrior's pre_import
hook, it might be possible to regex the contents of gitlab issue descriptions before syncing them to taskwarriors DB. This would allow the hook script to extract links and refs within the description and insert them into the task as annotations. This would allow taskopen to interpret them and open them using the EDITOR
or xdg-open
commands accordingly. Depending on the sophistication of the link parsing, the EDITOR
command could even be used to open at specific line number positions in the code-base.