Code Monkey home page Code Monkey logo

mantis2github's Introduction

Mantis 2 GitHub Connector

Packagist Version PHPStan Packagist Downloads License

A small CLI tool to create a GitHub issue out of a Mantis issue. Creates cross-references, so links the GitHub issue to mantis and vice versa.

Installation

composer global require artemeon/mantis2github

Configuration

When you first installed the package, call the configure command. You only need to do this once.

mantis2github configure

The command will direct you through the installation process.

Quick setup

If you have used a previous version of this package and already have a config.yaml file, you can skip the configuration by running:

mantis2github configure path/to/config.yaml

Usage

mantis2github [command]

Available Commands

Command Description
sync Create a GitHub issue from a Mantis issue
read:github Read details of a GitHub issue
read:mantis Read details of a Mantis issue
issues:list Get a list of Mantis Tickets with their associated GitHub Issues.

sync

Create a GitHub issue from a list of Mantis issues.

mantis2github sync <ids>...
Arguments
Argument required Description
ids true Mantis issue ids
Examples
Sync a single issue
mantis2github sync 123
Sync multiple issues
mantis2github sync 123 456 789

read:github

Read details of a GitHub issue.

mantis2github read:github <id>
Arguments
Argument required Description
id true GitHub issue id

read:mantis

Read details of a Mantis issue.

mantis2github read:mantis <id>
Arguments
Argument required Description
id true Mantis issue id

issues:list

Get a list of Mantis Tickets with their associated GitHub Issues.

mantis2github issues:list [--output=html]
Options
Option Possible values Description
output html Output Format

License

This project is open-sourced software licensed under the MIT license.

mantis2github's People

Contributors

chriskapp avatar isikbattenstein avatar marcreichel avatar sidler avatar

Watchers

 avatar  avatar  avatar

mantis2github's Issues

Batch Import

The Tool should import mulitple mantis tickets at once.

[Idea] Publish as package to packagist

This would enable us (with a few additional tweaks) to install this as a global dependency:

composer global require artemeon/mantis2github

And then we could use mantis2github globally in the OS because it gets installed into PATH.
No zsh aliasing needed.

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.