yahoo/octosync

Name: octosync

Owner: Yahoo Inc.

Description: A ruby gem to sync repos from github.com to github enterprise (GHE).

Created: 2015-04-01 19:21:10.0

Updated: 2015-11-18 23:49:34.0

Pushed: 2015-06-16 19:58:16.0

Homepage:

Size: 104

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

 ???????  ???????????????? ??????? ???????????   ???????   ??? ???????
??????????????????????????????????????????????? ?????????  ???????????
???   ??????        ???   ???   ??????????? ??????? ?????? ??????     
???   ??????        ???   ???   ???????????  ?????  ?????????????     
?????????????????   ???   ?????????????????   ???   ??? ??????????????
 ???????  ???????   ???    ??????? ????????   ???   ???  ????? ???????

OctoSync

A ruby gem to sync repos from github.com to github enterprise (GHE).

Quick Start

Install via Rubygems or add to your Gemfile

gem "octosync", "~> 1.0"

Configuration

Create a config.yml file as follows:

github:
  settings:
    ghe_host: 'Your Github Enterprise Hostname'
    ghe_token: 'GHE Access Token'
    github_token: 'github.com Access Token'
    git_dir: 'Path to clone/fetch git repos'

  # Specify list of repos to be synced
  repos:
    - Orgname1/Reponame1
    - Orgname2/Reponame2

Usage

To sync between github.com to GHE, run following command

github_to_ghe_sync <path to config.yml>

Note

Current version do not support automatic org creation.

Make sure on your GHE instance you create appropriate org and add a user to it.

“Code licensed under the BSD license. See LICENSE.md file for terms.”


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.