On Fri, Sep 30, 2011 at 4:28 AM, Bayle Shanks <bshan...@gmail.com> wrote:

> hi, we had some problem with some queue services not running. After we got
> them running, we used https://git.pietrust.com/admin/repositories to
> resent repository creation messages. But how to resend merge request
> messages? We have a few outstanding merge requests whose pages say:
>
> "
> This mergerequest is being created,
> it will be ready pretty soon…
> "
>
> we would be happy just to close or delete the relevant merge requests. How
> should we do that?
>

There's no UI for resending those messages, mainly because I can hardly
remember this ever happening to me... If you load script/console and locate
the merge request there, the method you're looking for is
"publish_notification"

Let's say it's a merge request with the URL
http://server/project/repository/merge_requests/123, you could enter

parts = "http://server/project/repository/merge_requests/123".split("/")
Project.find_by_slug(parts[-4]).repositories.find_by_name(parts[-3]).merge_requests.find_by_sequence_number(parts[-1]).publish_notification

that should do the trick.

Good luck,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to