Hi Shane, I've just greped the sources and found this snippets in
lib/event_rendering/text.rb:
...
def render_merge_request(action)
summary = (action == :requested) ? "requested a merge of" : "#{action}
merge request for"
merge_request = @event.target
skip_project_link!
add_from_template("{user} #{summary} {source} with {target}.\nThe merge
request is at {url}",
:user => @event.user.login,
:source => @event.target.source_repository.name,
:url => url(merge_request.target_repository.url_path, "merge_requests",
@event.target.to_param),
:target => @event.target.target_repository.name)
end
...
protected
def base_url
"http://" + GitoriousConfig["gitorious_host"]
end
def url(*parts)
File.join(base_url, *parts)
end
So, I guess the url is generated using your gitorious_host setting in
/var/www/gitorious/config/gitorious.yml for your production entry. How
is this setting set in gitorious.yml? And, are you sure you have
restarted your application after saving this change in gitorious.yml?
Em 23-05-2011 15:03, ShaneOG escreveu:
Thanks Rodrigo.
Here is a merge request notification:
====
Hello shaneog,
One of your favorites has a new activity:
------------------------------------------------------------------------
xxxx updated merge request for xxxx-app-www with app-www.
The merge request is at
http://gitorious.local/app/app-www/merge_requests/1
------------------------------------------------------------------------
You are receiving this email because you have chosen to be notified by
email whenever this favorite has new activity. You can manage your
favorite subscriptions at http://gitorious.local/favorites
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]