Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.
/ zenhub-to-mysql Public archive

Synchronizes ZenHub data (issues estimates, epics, ...) to a MySQL database

Notifications You must be signed in to change notification settings

wizaplace/zenhub-to-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZenHub to MySQL

Synchronizes ZenHub data (issues, labels, ...) to a MySQL database.

This script relies on the github-to-mysql script to be run beforehand. Its tables (namely github_issues) will be used to fetch additional information from ZenHub.

Features:

  • synchronize issue estimates
  • synchronize epics
  • synchronize boards

Getting started

  • install and run github-to-mysql to fetch GitHub data into MySQL
  • clone the repository or download a stable release and unzip it
  • copy .env.dist to create a .env file
  • create the DB tables by running ./zenhub-to-mysql db-init --force You can check which DB queries will be run by removing the --force option (the queries will NOT be run if the option is missing).

You can also simply run ./zenhub-to-mysql without arguments and follow the instructions.

The .env file contains the configuration to connect to the MySQL database as well as the GitHub and ZenHub token. Alternatively to using this file you can set up all the environment variables it contains.

Usage

./zenhub-to-mysql sync user/repository

About

Synchronizes ZenHub data (issues estimates, epics, ...) to a MySQL database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages