github-clone

command module
v0.0.0-...-680529e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

github-clone

To clone GitHub issues with labels , milestones etc from a source repository to empty target . This script expects the target repository with out any milestones, labels and issues

Run:

  1. Update information in .env file
    export GITHUB_OAUTH_TOKEN=<github api token>
    export GITHUB_SOURCE_ORG=<source org/owner>
    export GITHUB_SOURCE_REPO=<source repository>
    export GITHUB_TARGET_ORG=<target org/owner>
    export GITHUB_TARGET_REPO=<target repository>
    export GITHUB_ENTERPRISE_URL=<github enterprise url>
    

set GITHUB_ENTERPRISE_URL only if you are working with an enterprise github

  1. Run source .env
  2. make
  3. ./github-clone

TODO: Comments in the target issues

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL