email notification for every commit and https
Added by Cristian Zamfir over 15 years ago
Hi everyone,
Is it possible to get a mail notification for every new commit to svn using Redmine?
I would really like this feature but I can see options only for sending email notifications only for issue add/updates, news, etc.
Another question is if I can access Redmine over https using the webrik server.
Thanks,
Cristi
Replies (8)
RE: email notification for every commit and https
-
Added by Brad Beattie over 15 years ago
Google svn hook email. Long story short, it's possible, but it doesn't involve Redmine at all.
RE: email notification for every commit and https
-
Added by Cristian Zamfir over 15 years ago
Hi Brad,
Thanks for your help.
The problem is that I cannot install post commit hooks because I do not own the machine where the repository is.
I wanted to use redmine on my machine, write a cron job that fetches the changes into redmine and then use configure redmine to generate notifications for all new commits. Would that work?
Cristi
RE: email notification for every commit and https
-
Added by Brad Beattie over 15 years ago
Hrm... Redmine talks about using a cron job ( ruby script/runner "Repository.fetch_changesets" -e production
) to fetch the changesets every couple of minutes. I gather you could hack that function to do what you want. There are no hooks to work from there, so any changes you make would be a hack, not a plugin.
RE: email notification for every commit and https
-
Added by Brad Beattie over 15 years ago
Brad Beattie wrote:
Hrm... Redmine talks about using a cron job (
ruby script/runner "Repository.fetch_changesets" -e production
) to fetch the changesets every couple of minutes. I gather you could hack that function to do what you want. There are no hooks to work from there, so any changes you make would be a hack, not a plugin.
fyi, that function is in app/models/repository/subversion.rb for svn repositories.
RE: email notification for every commit and https
-
Added by Diego Oliveira almost 15 years ago
What is this features status? Is there any plans to release this feature or some one
out there have the path to apply in a local installation?
RE: email notification for every commit and https
-
Added by Sayan Malakshinov over 14 years ago
Is there any changes?
RE: email notification for every commit and https
-
Added by GJ Roelofs about 14 years ago
I am trying to get the Diff Email Plugin working again.
At the moment it crashes on the spot when trying to acces: repository.diff("", previous.revision, revision) in Changeset.
(Crash comes when it accesses the code in the repository.diff, and crashes on the first method there.
NoMethodError to_i for SubversionAdapter, or NoMethodError gsub for AbstractAdapter with GIT
RE: email notification for every commit and https
-
Added by James Linse almost 12 years ago
I know this topic is old but because I had the same question and it appears there is still no proper solution like Trac has I created a patch for Redmine 2.1. Please note this patch does not add another email option but checks the Issue Updated notification event permission before sending emails.
commit_notification.patch (3.08 KB) commit_notification.patch | Commit Referenced Issue Notification. |