Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
/ Salmon Public archive

A migration tool for Github accounts and organizations.

License

Notifications You must be signed in to change notification settings

sheeley/Salmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    

About

A migration tool for Github accounts and organizations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages