Chris Leyon writes:
> I saw some code which extracted Bugzilla data into a TaskJuggler
> project. It's written in Python, and while it does not produce
> Planner-readable data, it might be a place to start. I don't know how
> well it works. Look at http://www.taskjuggler.org/contrib.php
>
> > Currently I just add a link in a task or note to the bug
> > (ie,[[http://bugzilla][Error]]), and that is one solution. It just
> > seemed that there could be a way to automate that.
>
> I use the following functions to reference Bugzilla. I bind
> `insert-bugzilla-url' to a key, then it is very easy to include a link
> to a Bugzilla entry directly in a task description.
>
> (defun bugzilla-bug-to-url (bugnum)
> "Convert a Bugzilla bug number into a URL (string)."
> (let ((url-base "https://bugzilla.example.com"))
> (concat url-base "/show_bug.cgi?id=" (number-to-string bugnum))))
>
> (defun insert-bugzilla-url (bugnum)
> "Insert a Bugzilla URL in Emacs-Wiki format"
> (interactive "*nBug number: ")
> (insert-string (concat "{{[[" (bugzilla-bug-to-url bugnum) "]"
> "[Bugzilla #" (number-to-string bugnum) "]]}}")))
>
Thanks for those that will definitely save some keystrokes. I will
look at the taskjuggler code.
--
enjoy every sandwich
-- W. Zevon
_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss