gitlab_issue_closing_pattern not working

58 views
Skip to first unread message

Rodrigo Avila

unread,
Feb 26, 2015, 7:49:40 AM2/26/15
to gitl...@googlegroups.com
Hi!

Since I install Gitlab via omnibus, I can't made gitlab_issue_closing_pattern work. 

First, I've added this conf to gitlab.rb in a wrong way (issue_closing_pattern instead gitlab_issue_closing_pattern). After fix this (with this valuable help), I run reconfigure, and gitlab.yml was updated.

Now, no matter what expression I use (Fix, Fixes, Encerra, Corrige), the issues never close. Only the "mentioned in commit" appears.

My config:

rodrigo@gitlab:/etc/gitlab$ sudo cat gitlab.rb | grep gitlab_issue_closing_pattern
gitlab_rails['gitlab_issue_closing_pattern'] = '([Cc]lose[sd]|[Ff]ixe[sd]|[Ee]ncerra|[Cc]orrige|[Aa]rruma|[Cc]onserta|[Ff]echa|[Ii]mplementa) +#\d+'

There's something more I need to do? Or how is the right way to start searching the problem?

Thank you.

Rodrigo Avila

unread,
Mar 2, 2015, 8:56:30 AM3/2/15
to gitl...@googlegroups.com
Hi!

After a lot of searches, I still can't make this work. If somebody can help me to find the solution (what logs I need to see? What type of information I need to look?), I really appreciate. 

This was one of the features I use to convince the team to migrate from CVS to Git. So, I really need this working.

Thank you!

Rodrigo Avila

unread,
Mar 22, 2015, 7:17:53 PM3/22/15
to gitl...@googlegroups.com
Hi!

I still have this problem. But I have two other items to add:

1) I've tested my regex (http://rubular.com/r/zWdFe96Ec9) and it looks good.
2) after upgrading to 7.9.0, the mention AND the issue close are not working. In the past, the mention works, but now...

Thank you.

Em quinta-feira, 26 de fevereiro de 2015 09:49:40 UTC-3, Rodrigo Avila escreveu:

Karen Carias

unread,
Apr 29, 2015, 6:40:48 PM4/29/15
to gitl...@googlegroups.com, rod...@avila.net.br
Hello Rodrigo. Here's documentation about Issue Closing Patterns that should make this work. http://doc.gitlab.com/ce/customization/issue_closing.html

Regards,

Karen
Reply all
Reply to author
Forward
0 new messages