Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 87046

Summary: cvs commit notification
Product: Community Reporter: Alexandre Vasseur <avasseur>
Component: CVSAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: gunnar, pete
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Alexandre Vasseur CLA 2005-03-03 00:49:25 EST
I am opening this issue to request a cvs commit notification system to be set up
for Eclipse projects.
Please vote / comment on it (mention your project) if you / your project needs
it, since it will help to get resources on setting that up on an Eclipse wide basis.

Such a commit notification helps a dispatched team to stay up to date with the
latest changes in the CVS. We feel we need it for the AspectJ project, and it
can be beneficial to other projects as well.

Such a system can be set up with
- a mail based cvs notification sending html colorized diff on each commit to a
mailing list
example: http://www.badgers-in-foil.co.uk/projects/cvsspam/example-simple.html
AND/OR
- Fisheye (free for open source projects) that is providing a rich web based
commit log information
example: http://cvs.aspectwerkz.codehaus.org/
and
http://cvs.aspectwerkz.codehaus.org/changelog/aspectwerkz?cs=branch_2_1:apopescu:20050302150244&@csShowDiffs=true

(or equivalent product that provide at least a colorized diff of the commits)


As a side note, Apache, CodeHaus and SourceForge are all providing such a
service, so I don't think we need to argue about the value it represents for
commiters and users leaving on cvs heads / latest builds.

Alex (for AspectJ)
Comment 1 Lawrence Mandel CLA 2005-04-08 17:41:37 EDT
I don't want to see CVS commit information on the dev mailing lists. These 
lists are very active as it is and with a large code base this will create an 
enormous amount of traffic. All this extra traffic will affect the Eclipse 
infrastructure as well. Apache and SourceForge (I'm not familiar with 
CodeHaus) in general seem to have smaller projects each with their own mailing 
list. Implementing this on a project such as WTP has the potential to add 
hundreds of messages to the mailing list per day. 

Also, with a larger project like WTP I'd guess most developers will not be 
interested in the majority of commits taking place.
Comment 2 Richard Kulp CLA 2005-04-08 18:04:56 EDT
(In reply to comment #1)
I agree with don't do this. The traffic will be far too large. The way we know
there are changes is when we synchronize we see what was changed. It gives the
same info as the diff in a more easily readable form and we can ignore
project/package/files that we are not interested in.
Comment 3 Gunnar Wagenknecht CLA 2005-04-09 03:41:19 EDT
Usually, you don't send it to a developer discussion list. Instead there are
lists ending with "-cvs" where the diffs are sent to.

I agree that such notifications could be useful. I also agree that you see all
the changes when synchronizing your projects. However, with a notification
system change information are sent out immediately. In the synchronizing
scenario you'll only see them if you perform a synchronize. 

The first option allows to track changes immediately. In some cases this is
really useful and necessary. For example, when preparing releases for
integration builds, cross checking commits, etc.

Also, notification systems are typically "opt-in" systems. It must be explicitly
enabled for a project.

However, I wouldn't go with Fisheye. They say it's free for open source projects
but you'll never know (see the BitKeeper/Linux kernel story).

Also, Eclipse.org is already using ViewCVS, which provides colorized diffs as well.
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.core.runtime/about.html.diff?r1=1.18&r2=1.19

Maybe just plain text mails with links to ViewCVS would be suitable?
http://sourceforge.net/docman/display_doc.php?docid=772&group_id=1#scriptsyncmail
Comment 4 Alexandre Vasseur CLA 2005-04-09 09:58:56 EDT
Thanks all for commenting.

Please note: Yes the intent is not to spam a -dev list but have a new dedicated 
mailing list.

In the case of Fisheye, this is completely different from notification. There 
is no mail at all but sort of a portal of the cvs diff where you have to go to 
see what is happening in the cvs.
There is a MAJOR difference with viewCVS diff: Fisheye gather those by each 
commit ie it is very easy for anyone to see each commit as a whole (and not 
clicking around file by file) thus tracking the project history on a per commit 
basis and not a useless file by file basis.
This is especially usefull in "big" projects.

Comment 5 Greg Watson CLA 2005-04-11 16:28:31 EDT
I also support this proposal. I've always used a *-cvs mailing list for CVS commit notification and was 
surprised that Eclipse doesn't. I was about to ask if such a facility existed when you created this bug.
Comment 6 Elena Litani CLA 2005-04-15 11:02:01 EDT
EMF team supports the proposal of CVS notifications (to -cvs lists). 
Personally, when working on Apache projects, I found it very useful to have –
cvs lists, since they provide instantaneous notification and more importantly 
allow easy search for specific commit information in email archives.
Ideally, we would like to be able to subscribe and unsubscribe from -cvs list. 
Hope this is going to be one of the options.
Comment 7 Alexandre Vasseur CLA 2005-05-30 06:06:53 EDT
Denis, I would really appreciate an update on that.

As a sum-up:

- no email has to be send on -dev list. No one wants that, and I did not
proposed that. If we go for a mail push system, we'll need a new email alias
like -scm or -commit (not archived by the way, would be useless to archive that).

- I have seen a very little feedback on this issue (no need to say that it's
kinda weird for me to push for it and spam folks so that they vote on it). It
sounds that a per project set up will be a must have, and that a simple system
to begin with will fit.

I would thus advocate for cvsspam system insted of Fisheye for now.
Can you get back to me with a proposal ? Else please explain me with who should
I discuss further to have that service.


Comment 8 Eclipse Webmaster CLA 2005-05-30 22:05:20 EDT
Alexandre,

We accept the feature request and we'll get some kind of CVS commit notification
going. I'm not quite sure how fast we can act, but we'll look into it.

Sujay if you have free cycles can you look into this?

D.
Comment 9 Eclipse Webmaster CLA 2005-06-10 10:59:23 EDT
We have a solution in place that can notify you of individual commits, do let me
know if you want to try it out. The solution we have put in place is a simple
python script called syncmail - http://sourceforge.net/projects/cvs-syncmail
Comment 10 Alexandre Vasseur CLA 2005-06-10 11:24:51 EDT
Great !
Subscribe my "avasseur AT gmail DOT com" email for the AspectJ commits. I'll act
as the alpha user.
Comment 11 Eclipse Webmaster CLA 2005-06-10 12:49:56 EDT
we have created mailing lists for cvs email notifications. The two lists created
for the following modules are

aspectj-cvs-commit@eclipse.org

ajdt-cvs-commit@eclipse.org


you should be able to subscribe to those mailing lists at www.eclipse.org

enjoy :)

More can be created on request per module.

Sujay
Comment 12 Eclipse Webmaster CLA 2005-06-10 13:24:33 EDT
we have implemented a solution using syncmail. This solution is activated on a
per module basis, and the commit notifications sent to a created mailing list
which can be subscribed to.
Comment 13 Alexandre Vasseur CLA 2005-06-13 05:56:00 EDT
(reopen)
did subscribed
list seems ok since I can post to it
did some commit 30 min ago but did not got any notifications
Comment 14 Alexandre Vasseur CLA 2005-06-13 09:58:33 EDT
I could just see your commit. I tried one as well and here is what I could spot.
Sounds like a right issue.

Checking in modules/weaver/features.txt;
/home/technology/org.aspectj/modules/weaver/features.txt,v  <--  features.txt
new revision: 1.2; previous revision: 1.1
done
sh: line 1: /home/admin/syncmail: Permission denied

Comment 15 Eclipse Webmaster CLA 2005-06-13 10:22:09 EDT
there was a permission problem while running the syncmail script as reported by
Alexandre Vasseur. I have tested, and seems to work well now.
Comment 16 Alexandre Vasseur CLA 2005-06-13 10:45:02 EDT
works fine
I will perhaps open new issues if new needs occur but that already sounds great.
I let you guys announce it widely whenever you feel ready for it.
Comment 17 Alexandre Vasseur CLA 2005-06-14 08:37:05 EDT
for reference since it does not appear on the Eclipse list of mailing lists

https://dev.eclipse.org/mailman/listinfo/aspectj-cvs-commit

Webmaster: the commit list is archived. This is not needed. Can you turn that
off ? (reopening)
Comment 18 Eclipse Webmaster CLA 2005-06-14 10:50:51 EDT
Archiving has been disabled, and future cvs lists won't be archived either.

Susan has a list of the new lists, and she will be creating a specific page for
them (otherwise the list of lists will be too long).

D.
Comment 19 Greg Watson CLA 2005-06-28 10:56:46 EDT
Please add the username of the commiter to the message.
Comment 20 Eclipse Webmaster CLA 2005-06-28 11:10:44 EDT
as i have noted in previous comments, this cannot be done becuase we do not
support cvs history.
Comment 21 Eclipse Webmaster CLA 2005-11-01 15:45:31 EST
(In reply to comment #20)
> as i have noted in previous comments, this cannot be done becuase we do not
> support cvs history.

I've whacked together some fix for this.  The Eclipse userid is prepended to the
e-mail subject line.  This should work for you.

D.
Comment 22 Peter Moore CLA 2005-11-03 02:10:53 EST
I'm from Cenqua (the makers of FishEye) and I just stumbled across this thread.  

Reading through the comments, FishEye's RSS feeds are a perfect solution to this problem.  Anyone can 
create a custom feed at any node in the repository (and even restrict it to braches, tags, or authors) that 
is pretty close to realtime (even without use of cvshistory). 

It also does a bunch of other stuff (search, tarballs, pretty chanesets, etc) that might be useful to the 
eclipse community. 

We'd be more than happy to support eclipse with a free license and assist wherever we can with setup, 
support and even hosting (we already mirror about 100 sourceforge, apache, and java.net project's CVS 
repositories on fisheye.cenqua.com).

Feel free to contact me direct (pete _at_ cenqua.com) if you are interested and I'll hook you up.

Cheers,
Pete
Comment 23 Gunnar Wagenknecht CLA 2005-11-03 03:48:51 EST
(In reply to comment #22)
> We'd be more than happy to support eclipse with a free license and assist
wherever we can with setup, 
> support and even hosting (we already mirror about 100 sourceforge, apache, and
java.net project's CVS 
> repositories on fisheye.cenqua.com).

FYI, I've opend bug 114883 to track this.