GitLab marry with Redmine :) #97

Closed
kirantpatil opened this Issue Nov 14, 2011 · 90 comments

Comments

Projects
None yet

I feel this is the right time for GitLab to integrate with Redmine.

Here are the reasons why Redmine is recommended for Issue management:

  1. Redmine provide better Issue manaorgement (http://www.redmine.org/projects/redmine/issues)
  2. Redmine supports Test Case management (http://www.qaproject.net/)
  3. Knowledgebase (https://github.com/alexbevi/redmine_knowledgebase)
  4. Invoice support (https://github.com/descala/haltr)
  5. Other plugins (http://www.redmine.org/plugins)

IMHO GItlab should focus mainly on source code management and rest should be taken care by Redmine.

Thanks everyone for this great project.

Thanks,
Kiran.

Contributor

vsizov commented Nov 14, 2011

We considered this subject and will considering in future. I will close issue

@vsizov vsizov closed this Nov 14, 2011

Contributor

1ed commented Dec 22, 2011

👍

Contributor

brodock commented Mar 21, 2012

I really like the objectives of Gitlab (becaming a Github alternative), and also like the integrated issues it has, but I agree that Redmine/ChilliProject integration will be very appreciated.

It doesn't need to be like "cut off Issues and put Redmine in place" but more like a integration option that a project can opt in. Perhaps with "read only issues listing" and e linking to the redmine issue.

sirrus commented Mar 25, 2012

I would love to have redmine integration - this is the only thing why I don't use gitlab yet.

inem commented Mar 27, 2012

+1

flusher commented Apr 5, 2012

+1

pzol commented Apr 24, 2012

+1

To give more detail into what I'd like this to be: While the Redmine source browser is okay, I always keep wanting something easier and more function-complete, i.e. for commenting on commits while doing code review, comparing entire branches and so on. So having some kind of integration that replaces the RM sourcebrowser and links to issues with Gitlab would be great. Vice versa, the user accounts for Redmine and Gitlab should be the same to make it easier to handle things :)

indwic commented May 27, 2012

+1

+1

drf commented Jun 17, 2012

Would love something like this as well.

Contributor

glebm commented Jun 21, 2012

+1

strny commented Jul 4, 2012

+1

Could somebody provide the way of integration with Redmine better then GitLab WebHook and creating special cloned repository for Redmine?

Contributor

yuters commented Jul 22, 2012

+1

pulse00 commented Jul 23, 2012

An integration would be awesome. But what exactly could this look like? Here's some ideas:

  • Automatically creating redmine repositories for a specific project when creating a gitlab repo
  • Integration of webhooks to update a redmine repo

What do you think?

I'm not really a rails dev, but i've written a small redmine plugin, so i could help regarding the integration on the redmine side if necessary.

Shumen commented Jul 25, 2012

+1

+4

+70 (from all my colleagues)

mbixby commented Aug 22, 2012

+2

srih4ri commented Aug 22, 2012

Redmine has a good plugin system , and gitlab has webhooks. So the straight forward solution IMHO will be to write a Redmine plugin like @pulse00 said.

When a project is created in Gitlab , if we can trigger the Redmine plugin to create a new project in Redmine with correct repository setting,Redmine will close issues according to commit messages.

dlaxar commented Aug 22, 2012

Hi there!

I'm using rm as well as gitlab and I would really appreciate this. Especially the plugin version sounds nice.
+1 for this.

boxerab commented Aug 24, 2012

+1

galex commented Sep 4, 2012

Same here : +1

halves commented Sep 4, 2012

+1

If this happens, the integration between Redmine and GitLabHQ, will there be an option to not have this? Redmine is too over the top/bloaty, I need simple issue tracking as provided currently (as well as at GitHub.com).

Thanks.

Contributor

hardchor commented Sep 26, 2012

+1

+1

Fonsan commented Oct 4, 2012

+1

In the spirit of helping this along, I present Modula-Gitlab theme for Redmine, a mashup of Modula Mojito and the standard Gitlab theme:

https://github.com/doublerebel/modula-gitlab

Goal is to provide better continuity between programs for users. Thanks to all previous contributors!

In lieu of linking the two apps through hooks, the issue URL can be hardcoded into the Markdown parser.

At line 157:

    def reference_issue(identifier)
      if issue = @project.issues.where(id: identifier).first
         link_to("##{identifier}", project_issue_path(@project, issue), html_options.merge(title: "Issue: #{issue.title}", class: "gfm gfm-issue #{html_options[:class]}"))
      end
    end

Can be changed to:

    def reference_issue(identifier)
      link_to("##{identifier}", "http://path.to/external/redmine/installation/#{project.code}/issues/#{identifier}", html_options.merge(title: "Issue: #{identifier}", class: "gfm gfm-issue #{html_options[:class]}"))
    end

This would also work for other issue trackers besides Redmine.

Obviously there are a few problems with this:

  • GitLab has no idea if the issue # is valid, or what the issue title is
  • The project name might not match the URL for the project in the issue tracker
  • Only one-way is linked -- Redmine knows nothing about Gitlab.

Therefore, ideally the issue tracker URL would be factored out into a project setting. Also, project.code could instead be project.issue_tracker_project_name. Linking from Redmine/etc. into GitLab could be done in much the same way. Unfortunately I am not familiar enough with Ruby or GitLab to make a decision about the best way to accomplish these settings.

However, the above code does work and I am using it with my externally hosted Redmine installation.

EDIT: Updated project.name to the more applicable project.code (a.k.a URL in Project Settings)

👍

hauleth commented Nov 10, 2012

👍

rds13 commented Jan 27, 2013

👍

👍

+1

sfrek commented Feb 1, 2013

+1

I'm using gitlab integrated with redmine. When I write a commit message as
"fix #334" this change my issue status at redmine.
I had to enable a redmine config option to accept change issue status with
commit messages. And I use two different server to gitlab and redmine. So I
did a ssh tunnel to redmine see the /home/git/repositories. This is not the
best integration of gitlab and redmine but this is simple and it is working
fine to me.

Em sexta-feira, 1 de fevereiro de 2013, Fernando Israel García Martínez
escreveu:

+1


Reply to this email directly or view it on GitHubhttps://github.com/gitlabhq/gitlabhq/issues/97#issuecomment-12991341.

Demetrius Albuquerque
Linux & SO www.maltzsama.blogspot.com

+1

Danpiel commented Feb 20, 2013

+1

+1

+1

fleuryc commented Jun 26, 2013

👍

jolestar commented Jul 8, 2013

+1

roadt commented Jul 15, 2013

+1

Contributor

moul commented Jul 19, 2013

👍

Contributor

yuters commented Jul 19, 2013

phlegx commented Aug 22, 2013

+1

+1

+1

Contributor

yuters commented Mar 25, 2014

zcjyjar

;)

Owner

dzaporozhets commented Mar 25, 2014

LOL

LOL This issue is soooooo old. 👴

Danpiel commented Mar 25, 2014

Nice one :)

Yea I found it. I guess I was almost a troll. Sorry guys ;)

@ghost

ghost commented Jun 3, 2014

What if I told you it was broken since 6.9.0? It appears that trying support JIRA better broke all other external trackers. See the following line:

if @project.used_default_issues_tracker? || !external_issues_tracker_enabled?

If you are using the default tracker or not any external trackers then create the default link. So, basically with the way things sit you can use JIRA or internal.

Contributor

yuters commented Jun 3, 2014

Better create another issue.

jurrack commented Jul 28, 2014

@yuters integration isn't finished yet I would say. What about issue closing, attaching commits to issues in redmine and reference them.

+1

Contributor

pdf commented Jul 28, 2014

@jurrack attach the git repository to your Redmine project, and then that's Redmine's job. It has all this functionality built-in.

jurrack commented Aug 8, 2014

@pdf I see your point when redmine and gitlab are on the same server it's redmines responsibility to do. But what if redmine is running on another server than gitlab?

Therefore a API integration would be great, that's what I admired above. But I wasn't specific enough.

vpietri commented Sep 2, 2014

+1

thoys commented Sep 3, 2014

+1

+1

emovere commented Sep 9, 2014

+1

goetas commented Sep 30, 2014

+3

ksiomelo commented Oct 6, 2014

+1

@maxlazio maxlazio locked and limited conversation to collaborators Oct 6, 2014

Member

maxlazio commented Oct 6, 2014

Redmine integration is working in GitLab 7.3. This issue is very old and information in it is in places obsolete.
If you experience issues consult the Contributing documentation and respond according to it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.