emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-jira.el
@ 2009-06-03 15:25 Jonathan Arkell
  0 siblings, 0 replies; 18+ messages in thread
From: Jonathan Arkell @ 2009-06-03 15:25 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

Hi Carsten

A little while ago I submitted a little fragment of a program to allow jira:<number> links.  I wanted to take it a little further, so you could store the link of the currently viewed Jira ticket, but I have since moved off of the project that requires Jira usage, so I don’t really have any reason to keep going with it.   At any rate, there was some talk about adding it to the org-contrib section when it is finished, and I just wanted to give you the heads up that it’s okay to put it in the org-mode contributed dir as it is.

Cheers, and thanks again for org-mode.  Seriously, this is the single most useful emacs package EVAR.


Jonathan Arkell
Sr. Web Developer
Inspired by Drum + Bass, Scheme, Kawaii
402 – 11 Avenue SE
Calgary, AB T2G 0Y4
t: 403.206.4377
www.criticalmass.com


The information contained in this message is confidential. It is intended to be read only by the individual or entity named above or their designee. If the reader of this message is not the intended recipient, you are hereby notified that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message.

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* org-jira.el
@ 2012-01-02 12:08 Bao Haojun
  2012-01-03 13:49 ` org-jira.el Marc Spitzer
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Bao Haojun @ 2012-01-02 12:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi, all

I have implemented org-jira.el, bringing org-mode and Jira system
together.

Wrote a Wiki page for it on emacswiki:
http://www.emacswiki.org/emacs/OrgJiraMode

Hope somebody find it useful, if he/she is also using Jira and loves
org-mode.

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

* Re: org-jira.el
  2012-01-02 12:08 org-jira.el Bao Haojun
@ 2012-01-03 13:49 ` Marc Spitzer
  2012-01-04 16:52 ` org-jira.el Bastien
  2012-01-05 15:42 ` org-jira.el OSiUX
  2 siblings, 0 replies; 18+ messages in thread
From: Marc Spitzer @ 2012-01-03 13:49 UTC (permalink / raw)
  To: Bao Haojun; +Cc: emacs-orgmode

This will be very handy.

Thanks,

marc

On Mon, Jan 2, 2012 at 7:08 AM, Bao Haojun <baohaojun@gmail.com> wrote:
> Hi, all
>
> I have implemented org-jira.el, bringing org-mode and Jira system
> together.
>
> Wrote a Wiki page for it on emacswiki:
> http://www.emacswiki.org/emacs/OrgJiraMode
>
> Hope somebody find it useful, if he/she is also using Jira and loves
> org-mode.
>
>
>



-- 
Freedom is nothing but a chance to be better.
--Albert Camus

 The problem with socialism is that eventually you run out
of other people's money.
--Margaret Thatcher

Do the arithmetic or be doomed to talk nonsense.
--John McCarthy

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

* Re: org-jira.el
  2012-01-02 12:08 org-jira.el Bao Haojun
  2012-01-03 13:49 ` org-jira.el Marc Spitzer
@ 2012-01-04 16:52 ` Bastien
  2012-01-04 17:53   ` org-jira.el Nick Dokos
  2012-01-04 18:36   ` org-jira.el Richard Riley
  2012-01-05 15:42 ` org-jira.el OSiUX
  2 siblings, 2 replies; 18+ messages in thread
From: Bastien @ 2012-01-04 16:52 UTC (permalink / raw)
  To: Bao Haojun; +Cc: emacs-orgmode

Hi Bao,

"Bao Haojun" <baohaojun@gmail.com> writes:

> I have implemented org-jira.el, bringing org-mode and Jira system
> together.

Thanks!  I wish I could test it, but I don't have access to a Jira 
tracking system.

> Wrote a Wiki page for it on emacswiki:
> http://www.emacswiki.org/emacs/OrgJiraMode

Since your org-jira.el relies on jira2.el, maybe you could rename
it to org-jira2.el?  Note that we have contrib/lisp/org-jira.el 
already, avoiding names conflict would be great.

Just a suggestion.

All best,

-- 
 Bastien

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

* Re: org-jira.el
  2012-01-04 16:52 ` org-jira.el Bastien
@ 2012-01-04 17:53   ` Nick Dokos
  2012-01-05 10:00     ` org-jira.el Bastien
  2012-01-04 18:36   ` org-jira.el Richard Riley
  1 sibling, 1 reply; 18+ messages in thread
From: Nick Dokos @ 2012-01-04 17:53 UTC (permalink / raw)
  To: Bastien; +Cc: Bao Haojun, nicholas.dokos, emacs-orgmode

Bastien <bzg@altern.org> wrote:

> Hi Bao,
> 
> "Bao Haojun" <baohaojun@gmail.com> writes:
> 
> > I have implemented org-jira.el, bringing org-mode and Jira system
> > together.
> 
> Thanks!  I wish I could test it, but I don't have access to a Jira 
> tracking system.
> 
> > Wrote a Wiki page for it on emacswiki:
> > http://www.emacswiki.org/emacs/OrgJiraMode
> 
> Since your org-jira.el relies on jira2.el, maybe you could rename
> it to org-jira2.el?  Note that we have contrib/lisp/org-jira.el 
> already, avoiding names conflict would be great.
> 

The current contrib/lisp/org-jira.el is pretty trivial: it just defines
a jira link type, so maybe it can be integrated into the new org-jira.el,
instead of having two of them lying around.

Nick

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

* Re: org-jira.el
  2012-01-04 16:52 ` org-jira.el Bastien
  2012-01-04 17:53   ` org-jira.el Nick Dokos
@ 2012-01-04 18:36   ` Richard Riley
  2012-01-04 19:49     ` org-jira.el Mehul Sanghvi
  2012-01-05 10:01     ` org-jira.el Bastien
  1 sibling, 2 replies; 18+ messages in thread
From: Richard Riley @ 2012-01-04 18:36 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@altern.org> writes:

> Hi Bao,
>
> "Bao Haojun" <baohaojun@gmail.com> writes:
>
>> I have implemented org-jira.el, bringing org-mode and Jira system
>> together.
>
> Thanks!  I wish I could test it, but I don't have access to a Jira 
> tracking system.
>
>> Wrote a Wiki page for it on emacswiki:
>> http://www.emacswiki.org/emacs/OrgJiraMode
>
> Since your org-jira.el relies on jira2.el, maybe you could rename
> it to org-jira2.el?  Note that we have contrib/lisp/org-jira.el 
> already, avoiding names conflict would be great.
>
> Just a suggestion.
>
> All best,


Adding "2" to a name leads to hellish issues in the future with regards
to peoples understanding of which is the newest. js-mode is a great
example of this and the numerous "2" versions lurking around.

Possibly clean the code and include org-jira if possible and name it
"jira+" or even better replace the + with something relevant to why it
actually exists above and beyond the existing code.

Just a suggestion ;)

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

* Re: org-jira.el
  2012-01-04 18:36   ` org-jira.el Richard Riley
@ 2012-01-04 19:49     ` Mehul Sanghvi
  2012-01-05 10:01     ` org-jira.el Bastien
  1 sibling, 0 replies; 18+ messages in thread
From: Mehul Sanghvi @ 2012-01-04 19:49 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, Jan 4, 2012 at 13:36, Richard Riley <rileyrg@gmail.com> wrote:
> Bastien <bzg@altern.org> writes:
>
>> Hi Bao,
>>
>> "Bao Haojun" <baohaojun@gmail.com> writes:
>>
>>> I have implemented org-jira.el, bringing org-mode and Jira system
>>> together.
>>
>> Thanks!  I wish I could test it, but I don't have access to a Jira
>> tracking system.
>>
>>> Wrote a Wiki page for it on emacswiki:
>>> http://www.emacswiki.org/emacs/OrgJiraMode
>>
>> Since your org-jira.el relies on jira2.el, maybe you could rename
>> it to org-jira2.el?  Note that we have contrib/lisp/org-jira.el
>> already, avoiding names conflict would be great.
>>
>> Just a suggestion.
>>
>> All best,
>
>
> Adding "2" to a name leads to hellish issues in the future with regards
> to peoples understanding of which is the newest. js-mode is a great
> example of this and the numerous "2" versions lurking around.
>
> Possibly clean the code and include org-jira if possible and name it
> "jira+" or even better replace the + with something relevant to why it
> actually exists above and beyond the existing code.
>
> Just a suggestion ;)
>
>
>


I agree with Richard, especially with regards to js-mode.

Merging the contrib/lisp/org-jira.el with the new org-jira.el might be
a good idea
if the contrib one is just implementing a jira link.

We use Jira at my work, so when I get back to the office I plan to try out both
and see what may work.

This will be great for keeping track of issues.  I already use Emacs
to edit the confluence
wiki that we have, now I can do the same with Jira issues as well.


-- 
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com

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

* Re: org-jira.el
  2012-01-04 17:53   ` org-jira.el Nick Dokos
@ 2012-01-05 10:00     ` Bastien
  2012-01-05 14:42       ` org-jira.el Bao Haojun
  0 siblings, 1 reply; 18+ messages in thread
From: Bastien @ 2012-01-05 10:00 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: Bao Haojun, emacs-orgmode

Nick Dokos <nicholas.dokos@hp.com> writes:

> The current contrib/lisp/org-jira.el is pretty trivial: it just defines
> a jira link type, so maybe it can be integrated into the new org-jira.el,
> instead of having two of them lying around.

Agreed.  In the same vein, perhaps jira2.el and jira.el could be merged
into one single library.

-- 
 Bastien

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

* Re: org-jira.el
  2012-01-04 18:36   ` org-jira.el Richard Riley
  2012-01-04 19:49     ` org-jira.el Mehul Sanghvi
@ 2012-01-05 10:01     ` Bastien
  1 sibling, 0 replies; 18+ messages in thread
From: Bastien @ 2012-01-05 10:01 UTC (permalink / raw)
  To: emacs-orgmode

Richard Riley <rileyrg@gmail.com> writes:

> Adding "2" to a name leads to hellish issues in the future with regards
> to peoples understanding of which is the newest. js-mode is a great
> example of this and the numerous "2" versions lurking around.
>
> Possibly clean the code and include org-jira if possible and name it
> "jira+" or even better replace the + with something relevant to why it
> actually exists above and beyond the existing code.
>
> Just a suggestion ;)

Agreed.  Less is more!

-- 
 Bastien

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

* Re: org-jira.el
  2012-01-05 10:00     ` org-jira.el Bastien
@ 2012-01-05 14:42       ` Bao Haojun
  2012-01-05 17:08         ` org-jira.el Jonathan Arkell
  0 siblings, 1 reply; 18+ messages in thread
From: Bao Haojun @ 2012-01-05 14:42 UTC (permalink / raw)
  To: Bastien; +Cc: nicholas.dokos, emacs-orgmode

Bastien <bzg@altern.org> writes:

> Nick Dokos <nicholas.dokos@hp.com> writes:
>
>> The current contrib/lisp/org-jira.el is pretty trivial: it just defines
>> a jira link type, so maybe it can be integrated into the new org-jira.el,
>> instead of having two of them lying around.
>
> Agreed.  In the same vein, perhaps jira2.el and jira.el could be merged
> into one single library.

Agreed. I have not looked into org-mode source code yet, so do not know
about contrib/lisp/org-jira.el, but I think it is the same one on
emacswiki, which has been abandoned by its author. So, it will be
trivial to merge its functionality.

You are also right that jira2.el and jira.el can be merged,
theoretically. The jira2.el, as a library, is a superset of jira.el in
terms of functionality, since jira2.el uses soap, while jira.el uses
xml-rpc; and soap is better supported by jira than xml-rpc.

The difficulty lies in that jira.el is also a major mode (in addition to
providing the library for the major mode). To make sure backward
compatible will require some effort. Jira2.el, OTOH, has stopped to be a
major mode, and only provided library for (the new) org-jira.el.

Anyway, I will try to update jira.el and contact the original author to
see if he agrees.

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

* Re: org-jira.el
  2012-01-02 12:08 org-jira.el Bao Haojun
  2012-01-03 13:49 ` org-jira.el Marc Spitzer
  2012-01-04 16:52 ` org-jira.el Bastien
@ 2012-01-05 15:42 ` OSiUX
  2012-01-06  0:28   ` org-jira.el Bao Haojun
  2012-01-06 15:54   ` org-jira.el Bao Haojun
  2 siblings, 2 replies; 18+ messages in thread
From: OSiUX @ 2012-01-05 15:42 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

El lun, 02 ene 2012, Bao Haojun decía:

> Hi, all
> 
> I have implemented org-jira.el, bringing org-mode and Jira system
> together.
> 
> Wrote a Wiki page for it on emacswiki:
> http://www.emacswiki.org/emacs/OrgJiraMode
> 
> Hope somebody find it useful, if he/she is also using Jira and loves
> org-mode.
> 
> 
> 

after running Mx jira2-login, I get the following error:

    Symbol's function definition is void: auth-source-search

howto configure login?

-- 

::

  Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
  AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE
  http://osiux.com http://wiki.buenosaireslibre.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: org-jira.el
  2012-01-05 14:42       ` org-jira.el Bao Haojun
@ 2012-01-05 17:08         ` Jonathan Arkell
  2012-01-06  0:32           ` org-jira.el Bao Haojun
  2012-01-06 15:24           ` org-jira.el Bao Haojun
  0 siblings, 2 replies; 18+ messages in thread
From: Jonathan Arkell @ 2012-01-05 17:08 UTC (permalink / raw)
  To: Bao Haojun, Bastien; +Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org

Wow Bao!  I am just checking out your org-jira2 project right now...

Your thing was what my thing (contrib/lisp/org-jira.el) was going to
become when I got the time... Then I got put on a project that didn't use
Jira, and abandoned it (as mentioned earlier).

So yea, Bastien, Bao, and anyone else for that matter, go ahead and do
what you like with that trivial piece of code. Rename it, delete it, fold
it into the new library.


Ironically enough, years later, I am back on a project that does use
Jira.. :)
__________________________________


Jonathan Arkell
Tech Lead
Inspired By Drum & Bass, Scheme, Kawaii

p. 403.206.4377
402 -- 11th Ave SE
Calgary, AB, Canada T2G 0Y4

jonathana@criticalmass.com
criticalmass.com









On 5/01/12 7:42 AM, "Bao Haojun" <baohaojun@gmail.com> wrote:

>Bastien <bzg@altern.org> writes:
>
>> Nick Dokos <nicholas.dokos@hp.com> writes:
>>
>>> The current contrib/lisp/org-jira.el is pretty trivial: it just defines
>>> a jira link type, so maybe it can be integrated into the new
>>>org-jira.el,
>>> instead of having two of them lying around.
>>
>> Agreed.  In the same vein, perhaps jira2.el and jira.el could be merged
>> into one single library.
>
>Agreed. I have not looked into org-mode source code yet, so do not know
>about contrib/lisp/org-jira.el, but I think it is the same one on
>emacswiki, which has been abandoned by its author. So, it will be
>trivial to merge its functionality.
>
>You are also right that jira2.el and jira.el can be merged,
>theoretically. The jira2.el, as a library, is a superset of jira.el in
>terms of functionality, since jira2.el uses soap, while jira.el uses
>xml-rpc; and soap is better supported by jira than xml-rpc.
>
>The difficulty lies in that jira.el is also a major mode (in addition to
>providing the library for the major mode). To make sure backward
>compatible will require some effort. Jira2.el, OTOH, has stopped to be a
>major mode, and only provided library for (the new) org-jira.el.
>
>Anyway, I will try to update jira.el and contact the original author to
>see if he agrees.
>
>


The information contained in this message is confidential. It is intended to be read only by the individual or entity named above or their designee. If the reader of this message is not the intended recipient, you are hereby notified that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message.

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

* Re: org-jira.el
  2012-01-05 15:42 ` org-jira.el OSiUX
@ 2012-01-06  0:28   ` Bao Haojun
  2012-01-06 15:54   ` org-jira.el Bao Haojun
  1 sibling, 0 replies; 18+ messages in thread
From: Bao Haojun @ 2012-01-06  0:28 UTC (permalink / raw)
  To: OSiUX; +Cc: emacs-orgmode


OSiUX <xuiso@osiux.com.ar> writes:

> El lun, 02 ene 2012, Bao Haojun decía:
>
>> Hi, all
>> 
>> I have implemented org-jira.el, bringing org-mode and Jira system
>> together.
>> 
>> Wrote a Wiki page for it on emacswiki:
>> http://www.emacswiki.org/emacs/OrgJiraMode
>> 
>> Hope somebody find it useful, if he/she is also using Jira and loves
>> org-mode.
>> 
>> 
>> 
>
> after running Mx jira2-login, I get the following error:
>
>     Symbol's function definition is void: auth-source-search
>
> howto configure login?
Sorry, must be because I'm using emacs24. I will look into it and get back.

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

* Re: org-jira.el
  2012-01-05 17:08         ` org-jira.el Jonathan Arkell
@ 2012-01-06  0:32           ` Bao Haojun
  2012-01-06 15:24           ` org-jira.el Bao Haojun
  1 sibling, 0 replies; 18+ messages in thread
From: Bao Haojun @ 2012-01-06  0:32 UTC (permalink / raw)
  To: Jonathan Arkell; +Cc: Bastien, nicholas.dokos@hp.com, emacs-orgmode@gnu.org

Thank you!

Jonathan Arkell <jonathana@criticalmass.com> writes:

> Wow Bao!  I am just checking out your org-jira2 project right now...
>
> Your thing was what my thing (contrib/lisp/org-jira.el) was going to
> become when I got the time... Then I got put on a project that didn't use
> Jira, and abandoned it (as mentioned earlier).
>
> So yea, Bastien, Bao, and anyone else for that matter, go ahead and do
> what you like with that trivial piece of code. Rename it, delete it, fold
> it into the new library.
>
>
> Ironically enough, years later, I am back on a project that does use
> Jira.. :)
> __________________________________
>
>
> Jonathan Arkell
> Tech Lead
> Inspired By Drum & Bass, Scheme, Kawaii
>
> p. 403.206.4377
> 402 -- 11th Ave SE
> Calgary, AB, Canada T2G 0Y4
>
> jonathana@criticalmass.com
> criticalmass.com
>
>
>
>
>
>
>
>
>
> On 5/01/12 7:42 AM, "Bao Haojun" <baohaojun@gmail.com> wrote:
>
>>Bastien <bzg@altern.org> writes:
>>
>>> Nick Dokos <nicholas.dokos@hp.com> writes:
>>>
>>>> The current contrib/lisp/org-jira.el is pretty trivial: it just defines
>>>> a jira link type, so maybe it can be integrated into the new
>>>>org-jira.el,
>>>> instead of having two of them lying around.
>>>
>>> Agreed.  In the same vein, perhaps jira2.el and jira.el could be merged
>>> into one single library.
>>
>>Agreed. I have not looked into org-mode source code yet, so do not know
>>about contrib/lisp/org-jira.el, but I think it is the same one on
>>emacswiki, which has been abandoned by its author. So, it will be
>>trivial to merge its functionality.
>>
>>You are also right that jira2.el and jira.el can be merged,
>>theoretically. The jira2.el, as a library, is a superset of jira.el in
>>terms of functionality, since jira2.el uses soap, while jira.el uses
>>xml-rpc; and soap is better supported by jira than xml-rpc.
>>
>>The difficulty lies in that jira.el is also a major mode (in addition to
>>providing the library for the major mode). To make sure backward
>>compatible will require some effort. Jira2.el, OTOH, has stopped to be a
>>major mode, and only provided library for (the new) org-jira.el.
>>
>>Anyway, I will try to update jira.el and contact the original author to
>>see if he agrees.
>>
>>
>
>
> The information contained in this message is confidential. It is
> intended to be read only by the individual or entity named above or
> their designee. If the reader of this message is not the intended
> recipient, you are hereby notified that any distribution of this
> message, in any form, is strictly prohibited. If you have received
> this message in error, please immediately notify the sender and delete
> or destroy any copy of this message.

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

* Re: org-jira.el
  2012-01-05 17:08         ` org-jira.el Jonathan Arkell
  2012-01-06  0:32           ` org-jira.el Bao Haojun
@ 2012-01-06 15:24           ` Bao Haojun
  1 sibling, 0 replies; 18+ messages in thread
From: Bao Haojun @ 2012-01-06 15:24 UTC (permalink / raw)
  To: Jonathan Arkell; +Cc: Bastien, nicholas.dokos@hp.com, emacs-orgmode@gnu.org

Hi Jonathan,
Jonathan Arkell <jonathana@criticalmass.com> writes:

> Wow Bao!  I am just checking out your org-jira2 project right now...
>
> Your thing was what my thing (contrib/lisp/org-jira.el) was going to
> become when I got the time... Then I got put on a project that didn't use
> Jira, and abandoned it (as mentioned earlier).
>
> So yea, Bastien, Bao, and anyone else for that matter, go ahead and do
> what you like with that trivial piece of code. Rename it, delete it, fold
> it into the new library.
>

I have merged it. Now the jira link type will be opened by
org-jira-mode, jumping (retieving first if not done already) to the org
heading tracking the issue specified in the link.

By the way, do you mind if I keep using the name org-jira.el? org-jira2
is not a good name just as jira2 is not.

Thanks.
-- 
All the best

 Bao Haojun

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

* Re: org-jira.el
  2012-01-05 15:42 ` org-jira.el OSiUX
  2012-01-06  0:28   ` org-jira.el Bao Haojun
@ 2012-01-06 15:54   ` Bao Haojun
  2012-01-09 20:26     ` org-jira.el OSiUX
  1 sibling, 1 reply; 18+ messages in thread
From: Bao Haojun @ 2012-01-06 15:54 UTC (permalink / raw)
  To: OSiUX; +Cc: emacs-orgmode

Hi, OSiUX

OSiUX <xuiso@osiux.com.ar> writes:

> El lun, 02 ene 2012, Bao Haojun decía:
>
>> Hi, all
>> 
>> I have implemented org-jira.el, bringing org-mode and Jira system
>> together.
>> 
>> Wrote a Wiki page for it on emacswiki:
>> http://www.emacswiki.org/emacs/OrgJiraMode
>> 
>> Hope somebody find it useful, if he/she is also using Jira and loves
>> org-mode.
>> 
>> 
>> 
>
> after running Mx jira2-login, I get the following error:
>
>     Symbol's function definition is void: auth-source-search
>
> howto configure login?

I have fixed it. The auth-source-search is a new API from emacs24.

With the new code, you will be prompted for username and password if you
are using a lower version of EMACS.

BTW, I have also renamed jira2 to jiralib, so after you check out the
new code, you need change your .emacs accordingly:

#+begin_src emacs-lisp
(setq jiralib-url "http://jira-host")
(require 'org-jira) ;jiralib is not explicitly required, since org-jira will load it
#+end_src

Thanks.

-- 
All the best

 Bao Haojun

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

* Re: org-jira.el
  2012-01-06 15:54   ` org-jira.el Bao Haojun
@ 2012-01-09 20:26     ` OSiUX
  2012-01-10  2:40       ` org-jira.el Bao Haojun
  0 siblings, 1 reply; 18+ messages in thread
From: OSiUX @ 2012-01-09 20:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 3506 bytes --]

El vie, 06 ene 2012, Bao Haojun decía:

> Hi, OSiUX
> 
> OSiUX <xuiso@osiux.com.ar> writes:
> 
> > El lun, 02 ene 2012, Bao Haojun decía:
> >
> >> Hi, all
> >> 
> >> I have implemented org-jira.el, bringing org-mode and Jira system
> >> together.
> >> 
> >> Wrote a Wiki page for it on emacswiki:
> >> http://www.emacswiki.org/emacs/OrgJiraMode
> >> 
> >> Hope somebody find it useful, if he/she is also using Jira and loves
> >> org-mode.
> >> 
> >> 
> >> 
> >
> > after running Mx jira2-login, I get the following error:
> >
> >     Symbol's function definition is void: auth-source-search
> >
> > howto configure login?
> 
> I have fixed it. The auth-source-search is a new API from emacs24.
> 
> With the new code, you will be prompted for username and password if you
> are using a lower version of EMACS.
> 
> BTW, I have also renamed jira2 to jiralib, so after you check out the
> new code, you need change your .emacs accordingly:
> 
> #+begin_src emacs-lisp
> (setq jiralib-url "http://jira-host")
> (require 'org-jira) ;jiralib is not explicitly required, since org-jira will load it
> #+end_src
> 
> Thanks.
> 
> -- 
> All the best
> 
>  Bao Haojun

Hi Bao Haojun,

I finally discovered the error, I was using an anonymous proxy server
and JIRA apparently did not return the correct xml.

Does not work in emacs, but in emacs 24 enabling the debug managed to
capture the error::

  (let ( (url-request-method "GET") (url-package-name                )) 
  (let ( ("soap-client.el") (url-package-version "1.0")              )) 
  (let ( ((url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5")    )) 
  (let ( ((url-request-coding-system (quote utf-8))                  )) 
  (let ( ((url-http-attempt-keepalives nil)) (let ( (buffer          )) 
  (let ( ((url-retrieve-synchronously url))) (with-current-buffer    )) 
  (let ( (buffer (declare (special url-http-response-status))        )) 
  (let ( ((if (> url-http-response-status 299) (error "Error         )) 
  (let ( (retrieving WSDL: %s" url-http-response-status mime-part    )) 
  (let ( ((mm-dissect-buffer t t))) (unless mime-part (error "Failed )) 
  (let ( (to decode response from server")) (unless (equal (car      )) 
  (let ( ((mm-handle-type mime-part)) "text/xml") (error "Server     )) 
  (let ( (response is not an XML document"                           )) 

... then disable the proxy, start using emacs and execute
org-jira-get-projects got the list of projects and then some issues.

Excellent work, I hope that the error messages to help correct for
emacs23 org-jira.

Finally I would like to know where to change the path for the projects,
actually: /home/.org-jira

Thank you very much!
I'll stop now copy and paste from jira to  org-mode. ;-)


Enviroment Emacs23:

- Org-mode commit: 258aad0b9a428cec9195b22063e42df77dee19c2
- GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.6) of
  2011-10-25 on trouble, modified by Debian
- org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e

Enviroment Emacs24
- Org-mode commit: 56c73255c0bdd27ac42af0a02ecea9336c4594d6
- GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) of
  2012-01-05 on zelenka, modified by Debian
- org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e

-- 

::

  Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
  AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE
  http://osiux.com http://wiki.buenosaireslibre.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: org-jira.el
  2012-01-09 20:26     ` org-jira.el OSiUX
@ 2012-01-10  2:40       ` Bao Haojun
  0 siblings, 0 replies; 18+ messages in thread
From: Bao Haojun @ 2012-01-10  2:40 UTC (permalink / raw)
  To: OSiUX; +Cc: emacs-orgmode

Hi OSiUX,



OSiUX <xuiso@osiux.com.ar> writes:
> Hi Bao Haojun,
>
> I finally discovered the error, I was using an anonymous proxy server
> and JIRA apparently did not return the correct xml.
>
> Does not work in emacs, but in emacs 24 enabling the debug managed to
> capture the error::
>
>   (let ( (url-request-method "GET") (url-package-name                )) 
>   (let ( ("soap-client.el") (url-package-version "1.0")              )) 
>   (let ( ((url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5")    )) 
>   (let ( ((url-request-coding-system (quote utf-8))                  )) 
>   (let ( ((url-http-attempt-keepalives nil)) (let ( (buffer          )) 
>   (let ( ((url-retrieve-synchronously url))) (with-current-buffer    )) 
>   (let ( (buffer (declare (special url-http-response-status))        )) 
>   (let ( ((if (> url-http-response-status 299) (error "Error         )) 
>   (let ( (retrieving WSDL: %s" url-http-response-status mime-part    )) 
>   (let ( ((mm-dissect-buffer t t))) (unless mime-part (error "Failed )) 
>   (let ( (to decode response from server")) (unless (equal (car      )) 
>   (let ( ((mm-handle-type mime-part)) "text/xml") (error "Server     )) 
>   (let ( (response is not an XML document"                           )) 
>
> ... then disable the proxy, start using emacs and execute
> org-jira-get-projects got the list of projects and then some issues.
>
> Excellent work, I hope that the error messages to help correct for
> emacs23 org-jira.
>
> Finally I would like to know where to change the path for the projects,
> actually: /home/.org-jira
>
> Thank you very much!
> I'll stop now copy and paste from jira to  org-mode. ;-)
>
>
> Enviroment Emacs23:
>
> - Org-mode commit: 258aad0b9a428cec9195b22063e42df77dee19c2
> - GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.6) of
>   2011-10-25 on trouble, modified by Debian
> - org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e
>
> Enviroment Emacs24
> - Org-mode commit: 56c73255c0bdd27ac42af0a02ecea9336c4594d6
> - GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) of
>   2012-01-05 on zelenka, modified by Debian
> - org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e

Great!

I was also using proxy through setting the url-proxy-services variable,
and the org-jira.el does not work. After some googling around, I found
that url-proxy-services supports disabling proxy for some hosts:

(setq url-proxy-services 
      (quote
       (("http" . "localhost:8580")
        ("no_proxy" . "^[^.]*$\\|sina.com"))))

(just in case you don't know this already:-)

For the org-jira save path, I will make it a defcustom.

Thanks!
-- 
All the best

 Bao Haojun

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

end of thread, other threads:[~2012-01-10  2:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03 15:25 org-jira.el Jonathan Arkell
  -- strict thread matches above, loose matches on Subject: below --
2012-01-02 12:08 org-jira.el Bao Haojun
2012-01-03 13:49 ` org-jira.el Marc Spitzer
2012-01-04 16:52 ` org-jira.el Bastien
2012-01-04 17:53   ` org-jira.el Nick Dokos
2012-01-05 10:00     ` org-jira.el Bastien
2012-01-05 14:42       ` org-jira.el Bao Haojun
2012-01-05 17:08         ` org-jira.el Jonathan Arkell
2012-01-06  0:32           ` org-jira.el Bao Haojun
2012-01-06 15:24           ` org-jira.el Bao Haojun
2012-01-04 18:36   ` org-jira.el Richard Riley
2012-01-04 19:49     ` org-jira.el Mehul Sanghvi
2012-01-05 10:01     ` org-jira.el Bastien
2012-01-05 15:42 ` org-jira.el OSiUX
2012-01-06  0:28   ` org-jira.el Bao Haojun
2012-01-06 15:54   ` org-jira.el Bao Haojun
2012-01-09 20:26     ` org-jira.el OSiUX
2012-01-10  2:40       ` org-jira.el Bao Haojun

Code repositories for project(s) associated with this public 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).