Project

salmon

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A migration tool for Github accounts and organizations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 0.10.2
 Project Readme

Salmon

A Ruby tool for migrating a collection of repositories from one Github instance to another.

Usage

  • Create ~/.salmon with YAML data for the Github site(s) you plan on using so that your tokens/passwords aren't in bash history
    #defaults to github.com
    github: 
      basic_auth: 'sheeley:password'      
    
    # your enterprise install
    enterprise:
      basic_auth: TOKENTOKENTOKEN
      endpoint: https://github.enterprise.com/api/v3
    
    For a list of supported settings, check out the Github API gem
  • Run salmon
    # copy from one Github account to another
    salmon -s github:sheeley -t github:sheeley2
    
    # copy from Github.com to an enterprise Github, include tags and git output
    salmon -p -v -s github:sheeley -t enterprise:sheeley