derhasi / redmine-to-git
Push redmine data to a git repositry
Requires
- php: >=5.4.0
- eloquent/pathogen: 0.6.*
- guzzlehttp/guzzle: ~5.0
- kbsali/redmine-api: 1.5
- kzykhys/git: 0.1.*
- symfony/console: 2.5.*
This package is not auto-updated.
Last update: 2024-12-17 03:40:59 UTC
README
This tool uses the Redmine REST API for fetching data from a specific project and push that to a git repository.
Currently only wiki pages are supported.
Installation
The installation is simple by using composer. After installing composer you can either install the command globally or within a project.
Global
In the global installation redmine-to-git
will be available as a command line tool.
- Run
composer global require derhasi/redmine-to-git
to install globally. - Add
export PATH=~/.composer/vendor/bin:$PATH
to your.bashrc
or.profile
After the installation you should be able to run redmine-to-git wiki ...
from anywhere.
Local
You can run composer require derhasi/redmine-to-git
in any composer enabled project to add this project as a dependency.
Usage
Currently the command is ...
php redmine-to-git.php wiki redmine apikey project repo --subdir=subdir --maxFilesize=1234
- redmine: URL of your Redmine installation
- apikey: API Key for accessing the redmine API
- project: Machine name of the Project to grab the wiki from
- repo: path to git working directory
- subdir: optional subdirectory to put files and index to
- maxFilesize: optional maximum filesize for attachments to download
Type php redmine-to-git.php help wiki
for additional information.
Help
The project is hosted on github, so please file any issues or questions in the Issue Queue.