tentwentyfour / remaim

Redmine to Maniphest migration utility
MIT License
8 stars 2 forks source link

ReMaIm – Redmine to Maniphest Importer

Build Status

Dependencies

You will need to have a copy of Phabricator's libphutil in your path. We assume that you have installed it (or arcanist) via your package manager and that libphutil sits in /usr/share/libphutil.

If such is not the case, you will have to adapt the path inside bin/remaim.

Installation

Clone the project from https://github.com/tentwentyfour/remaim, then run

composer install --optimize-autoloader

Usage

Note: All tasks and comments will be created by the user whose Phabricator API key you will be using. We recommend to create a bot account that has access to all projects on your Phabricator instance.

The tool currently also presumes that you have created user accounts for all your collaborators in Phabricator since the Conduit API does not allow to create new accounts.

Users will be looked up by their full names, so make sure your users have identical full names in both Redmine and Phabricator before launching the migration process.

  1. Copy remaim.yml-dist to remaim.yml and fill in your redmine and phabricator credentials
  2. Run php bin/remaim

Note: If you're using an API key for redmine, use the token key instead of user and password. Be advised though that, if you're using Basic Auth in front of your redmine installation, only user and password will work.

Running tests

./vendor/bin/phpspec run

If you have phpdbg with 'phpdbg_start_oplog' support built-in, you can also run phpspec with it:

phpdbg -qrr vendor/bin/phpspec run

Note: to see full diffs of failing tests, run phpspec with the --verbose flag.

Contributing

Please see CONTRIBUTING.md for information on how you may contribute to this project.

FAQ

Changelog