Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git2mite

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git2mite

Sync your mite projects/services with your GitHub or GitLab projects/issues

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Gitlab 2 mite

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

Installation

$ npm install git2mite

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

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

Usage

on the CLI

GitLab

$ git2mite sync-gitlab[project-path-with-namespace]

GitHub

$ git2mite sync-github[project-path-with-namespace]

or programatically

var g2m = require('git2mite');

g2m.gitlab.getProjectByPath('namespace/project', function(err, project) {
  if (!err) {
    g2m.gitlab.syncServicesWithProjectIssues(project, function(err) {
      if (!err) {
        console.log('Syncing done!');
      }
    });
  }
});

g2m.github.getProjectByPath('namespace/project', function(err, project) {
  if (!err) {
    g2m.github.syncServicesWithProjectIssues(project function(err) {
      if (!err) {
        console.log('Syncing done!');
      }
    });
  }
});

FAQs

Package last updated on 11 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc