emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Concept talk] Org-connector
@ 2021-08-10 20:57 Sébastien Gendre
  2021-08-10 21:49 ` Tim Cross
  0 siblings, 1 reply; 3+ messages in thread
From: Sébastien Gendre @ 2021-08-10 20:57 UTC (permalink / raw)
  To: emacs-orgmode

Hello everyone,

I wanted to talk about a concept for Org-mode. For now it's just a
concept, but maybe it already exist a package that do it.

The concept is called org-connector: It's a package that let you connect
an Org-mode file with an external tickets or tasks manager and let you
manage your tasks or tickets from Org-mode.

For example, if your company use Owncloud Deck to manage tasks of the IT
team:
1. Create an Org-mode file
2. At the top of the file, add `#+CONNECTOR: owncloud_deck` and
   `#+CONNECT_TO: https://ourcload.com/url/to/one/deck`
3. Run the interactive command `oc-sync`

Then, for every task on the specified Owncloud Deck, you have now an Org
entry on your file. You can edit them and run the interactive commands
`oc-sync`, `oc-push` or `oc-pull` to sync, send or receive tasks. If a
conflict is detected between a local task and a task on the external
task manager, org-connector ask you if you want to fix it with SMERGE or
EDIFF.

org-connector package provide all `oc-*` functions, a few back-ends and
everything needed to declare a new back-ends. Other back-ends can be
provided by other packages.


What do you thing ? Something like that already exist ?
What kind of feature do you think is needed ?
How do you think this package must be developed ? What best practice do
you suggest ? Any advice or idea ?

Best regards

-------
Gendre Sébastien

GPG ID: B586 F7C7 7239 E29E


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Concept talk] Org-connector
  2021-08-10 20:57 [Concept talk] Org-connector Sébastien Gendre
@ 2021-08-10 21:49 ` Tim Cross
  2021-08-10 23:21   ` Tom Gillespie
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Cross @ 2021-08-10 21:49 UTC (permalink / raw)
  To: emacs-orgmode


Sébastien Gendre <seb@k-7.ch> writes:

> Hello everyone,
>
> I wanted to talk about a concept for Org-mode. For now it's just a
> concept, but maybe it already exist a package that do it.
>
> The concept is called org-connector: It's a package that let you connect
> an Org-mode file with an external tickets or tasks manager and let you
> manage your tasks or tickets from Org-mode.
>
> For example, if your company use Owncloud Deck to manage tasks of the IT
> team:
> 1. Create an Org-mode file
> 2. At the top of the file, add `#+CONNECTOR: owncloud_deck` and
>    `#+CONNECT_TO: https://ourcload.com/url/to/one/deck`
> 3. Run the interactive command `oc-sync`
>
> Then, for every task on the specified Owncloud Deck, you have now an Org
> entry on your file. You can edit them and run the interactive commands
> `oc-sync`, `oc-push` or `oc-pull` to sync, send or receive tasks. If a
> conflict is detected between a local task and a task on the external
> task manager, org-connector ask you if you want to fix it with SMERGE or
> EDIFF.
>
> org-connector package provide all `oc-*` functions, a few back-ends and
> everything needed to declare a new back-ends. Other back-ends can be
> provided by other packages.
>
>
> What do you thing ? Something like that already exist ?
> What kind of feature do you think is needed ?
> How do you think this package must be developed ? What best practice do
> you suggest ? Any advice or idea ?
>

There is a contrib module for jira.

The challenge with your suggestion is that it depends heavily on the API
provided by the remote ticketing system. While you can have specific
connectors to query the remote ticketing system, the 'shape' of data it
returns will vary depending on the system. This would mean at some point
you would need some type of layer to map that into the org file and map
changes in the org file back into something that ticketing system
understands. I think that would be very complex.

So while I think the idea is good in principal, without a standard
'issue' schema or definition, I'm not sure it is practical. However, I
do think we could probably add bits which would make defining a new
ticketing system integration easier. 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Concept talk] Org-connector
  2021-08-10 21:49 ` Tim Cross
@ 2021-08-10 23:21   ` Tom Gillespie
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Gillespie @ 2021-08-10 23:21 UTC (permalink / raw)
  To: emacs-orgmode

Hi Sébastien,
    I think you are probably looking for org-sync which implements
exactly this functionality. You would need to write a new backend for
your particular ticketing system, but github, bit bucket, and redmine
backends already exist and can serve as an example. Best,
Tom

https://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-10 23:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 20:57 [Concept talk] Org-connector Sébastien Gendre
2021-08-10 21:49 ` Tim Cross
2021-08-10 23:21   ` Tom Gillespie

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).