jjkavalam / rabbit-eclipse

Automatically exported from code.google.com/p/rabbit-eclipse
0 stars 0 forks source link

Progressive report push to external server #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It will be really useful if the plugin would push progressive reports to a 
custom external server. The implementation of that server can be up to the user.

i.e:
In the configuration: 
server=www.mycentralizedreports.com/rabbit
user: gal.dolber
password: ******

And each certain time the plugin pushes a report in xml or any other format 
with all the information since the last push.

With this feature we'll to  syncronize the work of a team and get real metrics 
of projects. 

I will like to help implementing this feature, but I need some guidance.

Original issue reported on code.google.com by gal.dol...@gmail.com on 30 Mar 2011 at 3:16

GoogleCodeExporter commented 9 years ago
Hi Gal, 

To implement such a feature may be easier than we think. Since all data are 
saved to a local folder, you can access that folder directly without going 
through Rabbit, for example you could write a small program (which may or may 
not be an Eclipse plugin) that observes on that directory (Apache Commons IO 
2.0 will be great for this, see org.apache.commons.io.monitor) for changes and 
decide which files and when you want to upload to your server.

At the moment when new events are saved to XML files by Rabbit, they are merged 
with the older events of the same month into the same file, so working out what 
has been changed since last push will be a bit difficult. It will be easier to 
push the whole file of that month (the files are small), which means there 
won't be much work on the server side either, just replace any existing files.

If you look into the folder where Rabbit saves data to, (the default is 
"Rabbit" under you home directory), you will see that there are a number of 
folders there, each one contains data from a particular Eclipse workspace (you 
can probably tell by the folder names), inside each folder are the event files, 
each file contains a single type of events for a particular month, for example, 
"fileEvents-2011-01.xml" contains all file events for March 2011.

I hope this helps, I look forward to see more about your idea.

Lae

Original comment by llaec...@gmail.com on 1 Apr 2011 at 9:06