Re: [O] [GSoC] Org-sync v0.2

2012-08-14 Thread Bastien
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 I thought os is short for org-sync, just like ob is for org-babel?

Indeed, that's the idea.

-- 
 Bastien



Re: [O] [GSoC] Org-sync v0.2

2012-08-14 Thread Achim Gratz
Suvayu Ali writes:
 On Sun, Aug 12, 2012 at 10:09:31PM +0900, Waldemar Quevedo wrote:
 
 Not a big deal but I see that you have to set os-github-auth and call M-x
 os-import, os etc..
 to use org-sync. Since the library is named org-sync, wouldn't it be better 
 to 
 base on the library name for these settings? e.g. `org-sync-github-auth`,
 `org-sync-import`...
 

 I thought os is short for org-sync, just like ob is for org-babel?

Yes, but only the source files are shortened to ob-*.el, the function
and variable names still spell out org-babel (with very few exceptions).
I think that would be a good example to follow, especially as an os-
prefix might easily clash with other namespaces.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] [GSoC] Org-sync v0.2

2012-08-14 Thread Bastien
Hi Achim,

Achim Gratz strom...@nexgo.de writes:

 I thought os is short for org-sync, just like ob is for org-babel?

 Yes, but only the source files are shortened to ob-*.el, the function
 and variable names still spell out org-babel (with very few exceptions).
 I think that would be a good example to follow, especially as an os-
 prefix might easily clash with other namespaces.

Agreed.  I will discuss this with Aurélien.

-- 
 Bastien



Re: [O] [GSoC] Org-sync v0.2

2012-08-13 Thread Aurélien Aptel
On Sun, Aug 12, 2012 at 7:34 PM, Christopher Allan Webber
cweb...@dustycloud.org wrote:
 This is *very* exciting.  I'm definitely interested in using this for
 MediaGoblin if I can.

Thanks. I've just looked at MediaGoblin but I don't think it fits what
Org-sync was designed for, which is sync with bugtrackers or anything
equivalent i.e. a list of something with an open/closed state with at
least a title and a unique id.

  - I tend to take notes and local subtasks on bugs.  Is there any way to
do that?

No. Org-sync only handles list of 1 level elements right now.

  - Does org-sync also pull down comments?

No. I guess you could make a backend to sync comments from a single
bug discussion but it's not really helpful.

  - I'd like to pull down the description and keep the TODO states in
sync, but I'm not sure I want editing local descriptions to affect
the description remotely.  In fact I'm pretty sure I don't want to do
that!  I'd just like the initial state then be able to munge it
however.  Is that possible?

That's possible and should be easy to implement, I'll see.

  - I'd really like to write a trac backend!

There's a guide on the tutorial page [1], and you can look at existing backends.

1: 
http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/#sec-4



Re: [O] [GSoC] Org-sync v0.2

2012-08-13 Thread Christopher Allan Webber
Aurélien Aptel writes:

 On Sun, Aug 12, 2012 at 7:34 PM, Christopher Allan Webber
 cweb...@dustycloud.org wrote:
 This is *very* exciting.  I'm definitely interested in using this for
 MediaGoblin if I can.

 Thanks. I've just looked at MediaGoblin but I don't think it fits what
 Org-sync was designed for, which is sync with bugtrackers or anything
 equivalent i.e. a list of something with an open/closed state with at
 least a title and a unique id.

Just to be clear: by this I meant I'm the lead developer of MediaGoblin
and I meant I wanted to use it to help me keep track of MediaGoblin's
bugtracker stuff, not that I wanted to use it for interacting with
MediaGoblin the application. :)

  - I'd like to pull down the description and keep the TODO states in
sync, but I'm not sure I want editing local descriptions to affect
the description remotely.  In fact I'm pretty sure I don't want to do
that!  I'd just like the initial state then be able to munge it
however.  Is that possible?

 That's possible and should be easy to implement, I'll see.

That would be really great!  Let me know if you make progress on that.



Re: [O] [GSoC] Org-sync v0.2

2012-08-12 Thread Waldemar Quevedo
Hello Aurélien,

I just tried org-sync to fetch the issues from a project in github,
this looks really useful!

Not a big deal but I see that you have to set os-github-auth and call M-x
os-import, os etc..
to use org-sync. Since the library is named org-sync, wouldn't it be better
to
base on the library name for these settings? e.g. `org-sync-github-auth`,
`org-sync-import`...

Cheers!

- Waldemar

On Fri, Aug 10, 2012 at 12:07 AM, Aurélien Aptel
aurelien.ap...@gmail.comwrote:

 Hi all,

 I'm releasing a new version of Org-sync, the tool to sync Org
 documents with external bugtrackers/TODO-list system.

 There are functional (although not complete) backends for:
 - Github
 - Bitbucket
 - Redmine

 And I'm currently working on Remember the Milk.
 I've updated the installation procedure in the tutorial. It should be
 easier now if it was bothering you before.
 I've also made a short (~4mn) demo video covering the Bitbucket
 backend and conflicts. On a side note, making this video was a painful
 experience and I now realize the lack of good stable and free(dom)
 video editing software on Linux.

 Demo: https://www.youtube.com/watch?v=kbj6-j0teCY
 Tutorial:
 http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/
 Webpage:
 http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/index.html




Re: [O] [GSoC] Org-sync v0.2

2012-08-12 Thread Christopher Allan Webber
Hey Aurélien,

This is *very* exciting.  I'm definitely interested in using this for
MediaGoblin if I can.

Several thoughts after watching the video:

 - I tend to take notes and local subtasks on bugs.  Is there any way to
   do that?
 - Does org-sync also pull down comments?
 - I'd like to pull down the description and keep the TODO states in
   sync, but I'm not sure I want editing local descriptions to affect
   the description remotely.  In fact I'm pretty sure I don't want to do
   that!  I'd just like the initial state then be able to munge it
   however.  Is that possible?
 - I'd really like to write a trac backend!


Aurélien Aptel writes:

 Hi all,

 I'm releasing a new version of Org-sync, the tool to sync Org
 documents with external bugtrackers/TODO-list system.

 There are functional (although not complete) backends for:
 - Github
 - Bitbucket
 - Redmine

 And I'm currently working on Remember the Milk.
 I've updated the installation procedure in the tutorial. It should be
 easier now if it was bothering you before.
 I've also made a short (~4mn) demo video covering the Bitbucket
 backend and conflicts. On a side note, making this video was a painful
 experience and I now realize the lack of good stable and free(dom)
 video editing software on Linux.

 Demo: https://www.youtube.com/watch?v=kbj6-j0teCY
 Tutorial: 
 http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/
 Webpage: 
 http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/index.html




Re: [O] [GSoC] Org-sync v0.2

2012-08-12 Thread Suvayu Ali
On Sun, Aug 12, 2012 at 10:09:31PM +0900, Waldemar Quevedo wrote:
 
 Not a big deal but I see that you have to set os-github-auth and call M-x
 os-import, os etc..
 to use org-sync. Since the library is named org-sync, wouldn't it be better 
 to 
 base on the library name for these settings? e.g. `org-sync-github-auth`,
 `org-sync-import`...
 

I thought os is short for org-sync, just like ob is for org-babel?

-- 
Suvayu

Open source is the future. It sets us free.



[O] [GSoC] Org-sync v0.2

2012-08-09 Thread Aurélien Aptel
Hi all,

I'm releasing a new version of Org-sync, the tool to sync Org
documents with external bugtrackers/TODO-list system.

There are functional (although not complete) backends for:
- Github
- Bitbucket
- Redmine

And I'm currently working on Remember the Milk.
I've updated the installation procedure in the tutorial. It should be
easier now if it was bothering you before.
I've also made a short (~4mn) demo video covering the Bitbucket
backend and conflicts. On a side note, making this video was a painful
experience and I now realize the lack of good stable and free(dom)
video editing software on Linux.

Demo: https://www.youtube.com/watch?v=kbj6-j0teCY
Tutorial: 
http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/
Webpage: 
http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/index.html



Re: [O] O[GSoC] Org-sync

2012-07-28 Thread Bastien
Wes Hardaker wjhns...@hardakers.net writes:

 Aurélien Aptel aurelien.aptel+em...@gmail.com writes:

 I plan on writing backends for Redmine, Bugzilla, Google Code, Google
 Task, Toodledo, Remember the milk.
 But I may not have the time to do them all. What backends would you
 like me to implement first? Something not in this list?

 I think a RtM plugin would be fantastic and a good example of
 synchronizing with generic todo lists that other random people would
 find interesting (not just coders).

+1

Aurélien, feel free to start a RTM plugin :)

-- 
 Bastien



Re: [O] O[GSoC] Org-sync

2012-07-19 Thread Wes Hardaker
Aurélien Aptel aurelien.aptel+em...@gmail.com writes:

 I plan on writing backends for Redmine, Bugzilla, Google Code, Google
 Task, Toodledo, Remember the milk.
 But I may not have the time to do them all. What backends would you
 like me to implement first? Something not in this list?

I think a RtM plugin would be fantastic and a good example of
synchronizing with generic todo lists that other random people would
find interesting (not just coders).

Personally, I haven't used RtM much but if there was a sync-to-it I
probably would start!
-- 
Wes Hardaker 
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/



Re: [O] O[GSoC] Org-sync

2012-07-19 Thread Erik Mitchell
 I plan on writing backends for Redmine, Bugzilla, Google Code, Google
 Task, Toodledo, Remember the milk.
 But I may not have the time to do them all. What backends would you
 like me to implement first? Something not in this list?

I've thought about writing adapters for Redmine, Jira, and Confluence.
Will you be posting your code anywhere?

-Erik

-- 
Erik K. Mitchell
erik.mitch...@gmail.com



Re: [O] O[GSoC] Org-sync

2012-07-19 Thread Suvayu Ali
On Thu, Jul 19, 2012 at 08:45:33AM -0500, Erik Mitchell wrote:
  I plan on writing backends for Redmine, Bugzilla, Google Code, Google
  Task, Toodledo, Remember the milk.
  But I may not have the time to do them all. What backends would you
  like me to implement first? Something not in this list?
 
 I've thought about writing adapters for Redmine, Jira, and Confluence.
 Will you be posting your code anywhere?


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

-- 
Suvayu

Open source is the future. It sets us free.



[O] [GSoC] Org-sync

2012-07-16 Thread Aurélien Aptel
Hi all,

I'm still working on Org-sync, the tool to synchronize external
services with org-documents. The current focus is still on bug
trackers. Right now you can test the github and the bitbucket backend.
I've worked on a cache system that minimize what needs to be
transfered at each synchronization and I've written Org-sync
documentation (usage, code  backend programming). You can find more
on my repo [1].

There is a simple tutorial on worg [2] with screenshots and all which
covers the basic usage of the tool. If you read it, feel free to post
some feedback on this thread.

There are still some things that need to be fixed before working on
other backends. Currently, conflicting merge are not handled properly.

I plan on writing backends for Redmine, Bugzilla, Google Code, Google
Task, Toodledo, Remember the milk.
But I may not have the time to do them all. What backends would you
like me to implement first? Something not in this list?

1: http://orgmode.org/w/?p=org-sync.git
2: 
http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/



Re: [O] [GSoC] Org-sync

2012-07-16 Thread Bart Bunting
Hi,

Great work!

I would be very interested in a redmine backend.

Cheers

Bart


On Mon, 16 Jul 2012 22:39:34 +0200, Aurélien Aptel 
aurelien.aptel+em...@gmail.com wrote:
 Hi all,
 
 I'm still working on Org-sync, the tool to synchronize external
 services with org-documents. The current focus is still on bug
 trackers. Right now you can test the github and the bitbucket backend.
 I've worked on a cache system that minimize what needs to be
 transfered at each synchronization and I've written Org-sync
 documentation (usage, code  backend programming). You can find more
 on my repo [1].
 
 There is a simple tutorial on worg [2] with screenshots and all which
 covers the basic usage of the tool. If you read it, feel free to post
 some feedback on this thread.
 
 There are still some things that need to be fixed before working on
 other backends. Currently, conflicting merge are not handled properly.
 
 I plan on writing backends for Redmine, Bugzilla, Google Code, Google
 Task, Toodledo, Remember the milk.
 But I may not have the time to do them all. What backends would you
 like me to implement first? Something not in this list?
 
 1: http://orgmode.org/w/?p=org-sync.git
 2: 
 http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/
 
Bart
-- 


Kind regards

Bart



[O] GSoC -- org-sync

2012-06-05 Thread Aurélien Aptel
Hi all,

Since I've reached a usable point in my Google Summer of Code project
Org-sync, I'm posting to the ML to show my progress and to get some
feedback.

For those who don't know or don't remember, Org-sync is a tool to
synchronize parts of your document with external services in a generic
way. Each service is implemented is a backend of org-sync and
implements a common interface. The project focuses on online
bugtracking tools such as Github issues or Bugzilla. More background
info on worg at [1] and [2].

I've focused on Github as my first backend. Not all aspects of the
org-sync lib has been factored out and the interface is a bit blurry
(what belongs to org-sync? what belongs to the backend?). It will be
clearer once I implement a second backend.

Currently, the Github backend is usable. To try it:

1. You will need a recent copy of org-element.el, Nicolas Goaziou's
   new org-mode parser. If you don't have it, you can just download
   contrib/lisp/org-element.el [3] from the org-mode repo, visit it in
   emacs and run M-x eval-buffer.

2. Org-sync, of course. Currently there's only one file, you can just
   download it from the tag v0.1 changeset [4], visit it in emacs and
   run M-x eval-buffer.

3. Open an org-document, or a new buffer in org-mode

4. Run M-x os-import RET github.com/octocat/Hello-World RET to import
   issues from Github test repo.

5. You can delete some entries and run M-x os-sync to download them
   again.

If you want to try the local-to-remote sync you'll need your own test repo.

1. Set the variable os-github-auth. For this you can run:

M-: RET (setq os-github-auth (cons login passwd)) RET

2. Run M-x os-import RET /url/to/your/repo RET

3. Modify some entries and run M-x os-sync. Currently, there's no success
   message so you'll have to check online to make sure it worked.

That's all for the basic tutorial. You can find more at [2].

Known issues:

- Some field can't be synched.
- Updating tags or assignee doesn't work if it doesn't exists.
- The description is imported in Markdown syntax.
- Non-ascii chars are sent properly but are not fetched properly.
- The way logins are stored is simple for now but it will be
  enhanced later on.
- I sometime get a message like this few minutes after synching:
  gnutls.c: [0] (Emacs) fatal error: The TLS connection was
  non-properly terminated. It has to do with https, ssl and url.el
  but other than that, I have no idea.
- There is not much error checking.


1: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/
2: 
http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/backends.html
3: 
http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/org-element.el;hb=HEAD
4: http://orgmode.org/w/?p=org-sync.git;a=blob_plain;f=github.el;hb=HEAD