gitlab2mite

0.0.4 • Public • Published

Gitlab 2 mite

Sync your Issues from a gitlab project to your mite account.

Installation

$ npm install gitlab2mite

create a config.json under ~/.gitlab2mite/config.json

{
  "mite": {
    "account": "account",
    "apiKey": "apiKey"
  },
  "gitlab": {
    "api": "https://gitlab.com/api/v3",
    "privateToken": "your private token"
  },
  "acceptCerts": false
}

Usage

on the CLI

$ gitlab2mite sync[project-path-with-namespace]

or programatically

var g2m = require('gitlab2mite');
 
g2m.getProjectByPath('namespace/project', function(err, project) {
  if (!err) {
    g2m.syncServicesWithProjectIssues(project.id, function(err) {
      if (!err) {
        console.log('Syncing done!');
      }
    });
  }
});

Readme

Keywords

none

Package Sidebar

Install

npm i gitlab2mite

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • ondrej