Eclipse plugin

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Eclipse plugin

Joakim Recht-3
Hi

Thank you for a great tool. I was looking for an Eclipse plugin to
display and control Hudson, but couldn't find any, so I went ahead and
created one. It's freely available, and can be downloaded from
http://braindump.dk/hudson/dk.contix.eclipse.hudson_1.0.0.jar

There's no security support at the moment, but that shouldn't be too
hard to add. There's a screenshot at
http://braindump.dk/tech/2007/05/03/eclipse-plugin-for-hudson/

//Joakim Recht

--
Joakim Recht
Email [hidden email] / Web http://www.braindump.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Kohsuke Kawaguchi
Administrator
Wow. This is great. I'll definitely update the website to point to this.

... but now when I tried to visit the page, I'm getting an error from
your database.

   WordPress database error: [Got error 28 from storage engine]

Perhaps your site is having a trouble?

2007/5/2, Joakim Recht <[hidden email]>:

> Hi
>
> Thank you for a great tool. I was looking for an Eclipse plugin to
> display and control Hudson, but couldn't find any, so I went ahead and
> created one. It's freely available, and can be downloaded from
> http://braindump.dk/hudson/dk.contix.eclipse.hudson_1.0.0.jar
>
> There's no security support at the moment, but that shouldn't be too
> hard to add. There's a screenshot at
> http://braindump.dk/tech/2007/05/03/eclipse-plugin-for-hudson/
>
> //Joakim Recht
>
> --
> Joakim Recht
> Email [hidden email] / Web http://www.braindump.dk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Joakim Recht-3
Kohsuke Kawaguchi wrote:
> Wow. This is great. I'll definitely update the website to point to this.
>
> ... but now when I tried to visit the page, I'm getting an error from
> your database.
>
>   WordPress database error: [Got error 28 from storage engine]
>
> Perhaps your site is having a trouble?

Hmm yes, it apparently ran out of space. It should be available now.

//Joakim


--
Joakim Recht
Email [hidden email] / Web http://www.braindump.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Wolfram Kroll-2
In reply to this post by Joakim Recht-3

Am 03.05.2007 um 01:36 schrieb Joakim Recht:

> Hi
>
> Thank you for a great tool. I was looking for an Eclipse plugin to  
> display and control Hudson, but couldn't find any, so I went ahead  
> and created one. It's freely available, and can be downloaded from  
> http://braindump.dk/hudson/dk.contix.eclipse.hudson_1.0.0.jar

Nice tool! Thanks for saring it.

Wolfram

>
> There's no security support at the moment, but that shouldn't be  
> too hard to add. There's a screenshot at http://braindump.dk/tech/ 
> 2007/05/03/eclipse-plugin-for-hudson/
>
> //Joakim Recht
>
> --
> Joakim Recht
> Email [hidden email] / Web http://www.braindump.dk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Joakim Recht-3
Wolfram Kroll wrote:

>
> Am 03.05.2007 um 01:36 schrieb Joakim Recht:
>
>> Hi
>>
>> Thank you for a great tool. I was looking for an Eclipse plugin to
>> display and control Hudson, but couldn't find any, so I went ahead and
>> created one. It's freely available, and can be downloaded from
>> http://braindump.dk/hudson/dk.contix.eclipse.hudson_1.0.0.jar
>
> Nice tool! Thanks for saring it.

No problem, let me know if you have any suggestions for improvements -
or if something doesn't work as expected.

//Joakim

--
Joakim Recht
Email [hidden email] / Web http://www.braindump.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Kohsuke Kawaguchi
Administrator
In reply to this post by Joakim Recht-3
Joakim Recht wrote:
> No problem, let me know if you have any suggestions for improvements -
> or if something doesn't work as expected.

1. Is the source code for this plugin available somewhere?

2. Wouldn't it be nice if you have an update center for this module so
that I can update to new versions more easily?

3. Is there any project website? If not, would you be interested in
writing one somewhere in http://hudson.gotdns.com/wiki/display/HUDSON/Home ?

4. When I installed the plugin and opened a view, I got an error
message, presumably because I haven't configured Hudson in the
preferences dialog. It's nice if the view would show up without any
scary error dialog, and instead of the default list view, have a
disabled pain that shows hyperlink to the config dialog.

5. When I click "check URL" in the config page, it doesn't say anything
if the connection is successful. I find this bit confusing. But in any
case, shouldn't this field be always validating? (like when you are
typing a project name.)

6. I'm running 1.106-SNAPSHOT and I don't see anything except "no
builds" in the "status" column.

7. There seems to be no icon for the yellow status.

8. Shouldn't I be able to sort the list by clicking columns?

9. It would be nice to have a filter, so that I can display just a few
jobs, or failing jobs alone, etc.

10. I think List view should use the full row selection mode.

11. "open the webpage" should appear bold in the context menu. I thought
that's the convention to indicate what happens when you double-click the
item.

12. I think it would be really nice if this plugin could also provide an
icon on the status bar, that indicates the build status of the project
that I'm working on right now. It could display a ballon tip when the
build breaks because of my change, etc.

13. Is there any way to register more than one Hudson with this?

14. It would be really cool if this is a tree-list view and expanding a
project shows builds.


That's all I can think of right now.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Kohsuke Kawaguchi
Administrator
Kohsuke Kawaguchi wrote:
> That's all I can think of right now.

15. Shouldn't I be able to reorder list view columns? More specifically,
I'd like to have the icon on the left.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Wolfram Kroll-2
In reply to this post by Joakim Recht-3
Hi Joakim,

Am 05.05.2007 um 01:26 schrieb Joakim Recht:

> Wolfram Kroll wrote:
>> Am 03.05.2007 um 01:36 schrieb Joakim Recht:
>>> Hi
>>>
>>> Thank you for a great tool. I was looking for an Eclipse plugin  
>>> to display and control Hudson, but couldn't find any, so I went  
>>> ahead and created one. It's freely available, and can be  
>>> downloaded from http://braindump.dk/hudson/ 
>>> dk.contix.eclipse.hudson_1.0.0.jar
>> Nice tool! Thanks for saring it.
>
> No problem, let me know if you have any suggestions for  
> improvements - or if something doesn't work as expected.

1. As Kohsuke already mentioned, the table view shold be sortable.  
Having a means to filter jobs would also be good.
2. The browser should re-use an existing browser window by default.
3. I suggest using the same icons as hudson does.

BTW: I agree mostly with the points Kohsuke listed -- the priorities  
may be different.

Wolfram


>
> //Joakim
>
> --
> Joakim Recht
> Email [hidden email] / Web http://www.braindump.dk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Kohsuke Kawaguchi
Administrator
Wolfram Kroll wrote:
> BTW: I agree mostly with the points Kohsuke listed -- the priorities  
> may be different.

Ah, I didn't mean to imply any priority by the numbering. Sorry about
the confusion.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Joakim Recht-3
In reply to this post by Kohsuke Kawaguchi
Kohsuke Kawaguchi wrote:
> Joakim Recht wrote:
>> No problem, let me know if you have any suggestions for improvements -
>> or if something doesn't work as expected.
>
> 1. Is the source code for this plugin available somewhere?

Yes, it's actually included in the jar file. I'll probably distribute it
separately later on.

>
> 2. Wouldn't it be nice if you have an update center for this module so
> that I can update to new versions more easily?

Yes - I just wanted to get the initial comments first

> 3. Is there any project website? If not, would you be interested in
> writing one somewhere in
> http://hudson.gotdns.com/wiki/display/HUDSON/Home ?

I could do that. Is it possible to keep the update site there also?

> 4. When I installed the plugin and opened a view, I got an error
> message, presumably because I haven't configured Hudson in the
> preferences dialog. It's nice if the view would show up without any
> scary error dialog, and instead of the default list view, have a
> disabled pain that shows hyperlink to the config dialog.

I think that comes down to my Eclipse plugin abilities - but you're
right, it shouldn't show an error dialog.

> 5. When I click "check URL" in the config page, it doesn't say anything
> if the connection is successful. I find this bit confusing. But in any
> case, shouldn't this field be always validating? (like when you are
> typing a project name.)

To be fixed.

>
> 6. I'm running 1.106-SNAPSHOT and I don't see anything except "no
> builds" in the "status" column.

Yes, I saw that too when I tried it on another version. Is there a
description of the exact format somewhere together with the possible
values? And am I right that to get the project statis in 1.106, you have
to access each project?


> 7. There seems to be no icon for the yellow status.

What is the yellow status?

> 8. Shouldn't I be able to sort the list by clicking columns?

Yes

> 9. It would be nice to have a filter, so that I can display just a few
> jobs, or failing jobs alone, etc.

Added to the todo list

> 10. I think List view should use the full row selection mode.

Doesn't it already do that? If not, then I'm not sure I know what you mean

> 11. "open the webpage" should appear bold in the context menu. I thought
> that's the convention to indicate what happens when you double-click the
> item.

To be fixed.

> 12. I think it would be really nice if this plugin could also provide an
> icon on the status bar, that indicates the build status of the project
> that I'm working on right now. It could display a ballon tip when the
> build breaks because of my change, etc.



> 13. Is there any way to register more than one Hudson with this?

Not at the moment... It was one of the things I thought about, and then
decided that nobody would need it - I had a hunch that I was probably
wrong, so if anybody needs it, then tell me, and I'll look into it.

> 14. It would be really cool if this is a tree-list view and expanding a
> project shows builds.

Hmm... That might be a good idea.

> That's all I can think of right now.

That's ok, I think I have enough to work with for now :)

//Joakim

--
Joakim Recht
Email [hidden email] / Web http://www.braindump.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Kohsuke Kawaguchi
Administrator
Joakim Recht wrote:
>> 3. Is there any project website? If not, would you be interested in
>> writing one somewhere in
>> http://hudson.gotdns.com/wiki/display/HUDSON/Home ?
>
> I could do that. Is it possible to keep the update site there also?

You probably won't be able to put it on Confluence, but if you can let
me know your java.net user id, I'll give you the committor access so
that you can host the XML file somewhere on https://hudson.dev.java.net/

You can also host the Eclipse plugin source file in Hudson CVS if you'd
like to, or you can choose elsewhere if that suits you better.


>> 6. I'm running 1.106-SNAPSHOT and I don't see anything except "no
>> builds" in the "status" column.
>
> Yes, I saw that too when I tried it on another version. Is there a
> description of the exact format somewhere together with the possible
> values? And am I right that to get the project statis in 1.106, you have
> to access each project?

I have all the infrastructure to generate the "schema" --- I just have
to follow through and write the code.

Also, the very first implementation of the remote API had to be quickly
scrapped, so when that happened there was some incompatible changes.
Going forward this shall never happen.

I don't remember whether you can get all the build numbers from the top
/api/xml, but we can always talk about whether we should add something.

>> 7. There seems to be no icon for the yellow status.
>
> What is the yellow status?

See the legend link at the bottom of the top page. Yellow means test
failures.

>> 10. I think List view should use the full row selection mode.
>
> Doesn't it already do that? If not, then I'm not sure I know what you mean

I can only click the text on the first column, and only that text is
highlighted. Trying to click the icon doesn't set the focus.

By "full row selection mode", I mean the mode of list view where the
whole row gets highlighted when selected, and clicking on anywhere in
the row will cause the selection.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Wolfram Kroll-2
In reply to this post by Joakim Recht-3

Am 05.05.2007 um 01:26 schrieb Joakim Recht:

> Wolfram Kroll wrote:
>> Am 03.05.2007 um 01:36 schrieb Joakim Recht:
>>> Hi
>>>
>>> Thank you for a great tool. I was looking for an Eclipse plugin  
>>> to display and control Hudson, but couldn't find any, so I went  
>>> ahead and created one. It's freely available, and can be  
>>> downloaded from http://braindump.dk/hudson/ 
>>> dk.contix.eclipse.hudson_1.0.0.jar
>> Nice tool! Thanks for saring it.
>
> No problem, let me know if you have any suggestions for  
> improvements - or if something doesn't work as expected.

I noticed while I created a new job (obviously no builds yet) the  
hudson view showed a "building" (our glass) icon. This state seems  
not to get handled properly.

Wolfram

>
> //Joakim
>
> --
> Joakim Recht
> Email [hidden email] / Web http://www.braindump.dk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Joakim Recht-3
Wolfram Kroll wrote:
>
> I noticed while I created a new job (obviously no builds yet) the hudson
> view showed a "building" (our glass) icon. This state seems not to get
> handled properly.

Actually, it is handled, but you might argue that the icon doesn't quite
express the state. I'll see if I can come up with something more
appropriate.

//Joakim


--
Joakim Recht
Email [hidden email] / Web http://www.braindump.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Folke Lemaitre-3
Hi,

I've tried to configure the base url, but when I clicked on [check url], I got the following error:
The entity name must immediately follow the '&' in the entity reference.

The url I configured was: http://myserver:8080/hudson/

Any idea what I'm doing wrong?

I'm using 1.106-SNAPSHOT

Thanks,
Folke

On 5/8/07, Joakim Recht <[hidden email]> wrote:
Wolfram Kroll wrote:
>
> I noticed while I created a new job (obviously no builds yet) the hudson
> view showed a "building" (our glass) icon. This state seems not to get
> handled properly.

Actually, it is handled, but you might argue that the icon doesn't quite
express the state. I'll see if I can come up with something more
appropriate.

//Joakim


--
Joakim Recht
Email [hidden email] / Web http://www.braindump.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Adres: Nieuwevaart 232, 9000 Gent, Belgium
Phone: +32486291702
Photos: http://picasaweb.google.com/folke.lemaitre
Music: http://www.last.fm/user/flemaitr/
Digg: http://digg.com/users/Zypher
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Folke Lemaitre-3
Hmmm,

My mistake, but maybe worth to mention for Kohsuke:
The issue was that the xml generated at HUDSON_BASE/api/xml was invalid, because I edited the hudson home page html and it contained a not properly escaped "&" character.

A useful addition to hudson could be either that the user editable html is escaped completely when creating the xml, or that the html is corrected by using a library like CyberNeko ( http://people.apache.org/~andyc/neko/doc/html/)

Thanks,
Folke

On 5/9/07, Folke Lemaitre <[hidden email]> wrote:
Hi,

I've tried to configure the base url, but when I clicked on [check url], I got the following error:
The entity name must immediately follow the '&' in the entity reference.

The url I configured was: <a href="http://myserver:8080/hudson/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://myserver:8080/hudson/

Any idea what I'm doing wrong?

I'm using <a href="http://hudson.dev.java.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1.106-SNAPSHOT

Thanks,
Folke


On 5/8/07, Joakim Recht <[hidden email]> wrote:
Wolfram Kroll wrote:
>
> I noticed while I created a new job (obviously no builds yet) the hudson
> view showed a "building" (our glass) icon. This state seems not to get
> handled properly.

Actually, it is handled, but you might argue that the icon doesn't quite
express the state. I'll see if I can come up with something more
appropriate.

//Joakim


--
Joakim Recht
Email [hidden email] / Web <a href="http://www.braindump.dk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.braindump.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Adres: Nieuwevaart 232, 9000 Gent, Belgium
Phone: +32486291702
Photos: <a href="http://picasaweb.google.com/folke.lemaitre" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://picasaweb.google.com/folke.lemaitre
Music: <a href="http://www.last.fm/user/flemaitr/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.last.fm/user/flemaitr/
Digg: <a href="http://digg.com/users/Zypher" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://digg.com/users/Zypher



--
Adres: Nieuwevaart 232, 9000 Gent, Belgium
Phone: +32486291702
Photos: http://picasaweb.google.com/folke.lemaitre
Music: http://www.last.fm/user/flemaitr/
Digg: http://digg.com/users/Zypher
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Wolfram Kroll-2
In reply to this post by Joakim Recht-3
Joakim Recht schrieb:
> Wolfram Kroll wrote:
>>
>> I noticed while I created a new job (obviously no builds yet) the
>> hudson view showed a "building" (our glass) icon. This state seems not
>> to get handled properly.
>
> Actually, it is handled, but you might argue that the icon doesn't quite
> express the state. I'll see if I can come up with something more
> appropriate.

OK, fine.

Wolfram

>
> //Joakim
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin

Kohsuke Kawaguchi
Administrator
In reply to this post by Folke Lemaitre-3
2007/5/9, Folke Lemaitre <[hidden email]>:
> My mistake, but maybe worth to mention for Kohsuke:
> The issue was that the xml generated at HUDSON_BASE/api/xml was invalid,
> because I edited the hudson home page html and it contained a not properly
> escaped "&" character.

If XML contains inproperly escaped '&', that's not your mistake, but
that's a bug in Hudson.

--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]