Git Product home page Git Product logo

mylyn-gitlab's Introduction

Mylyn GitLab Connector

The Mylyn GitLab Connector allows you to connect Mylyn to your self hosted GitLab instance in order to manage your issues on Gitlab with your local Eclipse instance.

Changes

The new version 2.1.0 works with the Gitlab API v4, but you must recreate the repository in Mylyn, otherwise the issues can not be syncronized due to the changes in the Gitlab API v4.

Features

  • create, edit, close and reopen issues
  • comment on issues
  • search for issues using milestones, assignees, issue state and regular expressions for labels
  • supports project milestones and assignees
  • supports three priorities (low, normal, high) and three types (bug, feature, story) using labels. You don't have to use this feature, but if you want to use "type:bug" and "priority:high" as labels (comma separated). As of version 1.1.0 you don't need the prefixes "type:" and "priority:", just use "bug", "high".
  • handles issues on a project basis

Missing features

  • Password prompt (I just don't know how...)
  • Attachments. Downloading attachments should be possible, but is not implemented yet. Uploading attachments doesn't seem to be possible with the current GitLab API.
  • Project member management and milestone management. I won't implement this...

Usage

  1. Install the plugin obviously (you can use the http://pweingardt.github.com/mylyn-gitlab update site)
  2. Add a new Connector, using the new GitLab Connector
  3. enter the project URL (something like http(s)://my-gitlab-instance.org/myname/myproject)
  4. enter your usename and your password
  5. Do not forget to check the "Save Password" checkbox. I don't know how to create a password prompt...
  6. You can now create queries and issues

If you use https instead of http (and you absolutely should use https), be sure you have a valid certificate. That means it is signed by a trusted CA. If you don't have a valid certificate (like a self signed certificate), the plugin will refuse to connect. If you want to add your CA certificate to the java keystore, you have to:

  1. find the keystore which is used by your JVM (on my machine it is /etc/ssl/certs/java/cacerts)
  2. find out the password for the keystore (the default is "changeit")
  3. add the CA certificate to this keystore
  4. On Linux, Mac OS X, or Unix systems, use keytool -import -alias A-UNIQUE-ALIAS -file YOUR-CA.crt -keystore $PATH_TO_YOUR_KEYSTORE (root permissions may be necessary)
  5. On Windows, in an Administrator Command Prompt use "%PROGRAMFILES%\java\jre7\bin\keytool" -import -alias A-UNIQUE-ALIAS -file YOUR-CA.cer -keystore "%PROGRAMFILES%\Java\jre7\lib\security\cacerts"

I don't want to ignore ceritificate errors (it is possible though). It is not a good way to do those kind of things.

Queries

Say you want to search for open bugs and features (issues that are either features or bugs). If you add the labels "bug" and "feature" in the query settings page, the plugin will search for issues, that have both labels. The plugin will search for issues that are bugs, and also features. If you want to search for bugs or features, you have to use regular expressions: (bug|feature) will do the job.

Known issues

  • If you created a new milestone or added a new project member via the web interface, you have to update the repository configuration, so that the connector reloads the project members and milestones. Right click on the GitLab repository in the Task repositories view and click on "Update Repository Configuration".
  • Offline mode does not work.
  • Version 1.x of this plugin is not compatible with version 2.x due to changes in the Gitlab API.

mylyn-gitlab's People

Contributors

pweingardt avatar philmfischer avatar bbodenmiller avatar cwolff92 avatar lewellyn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.