Discover Packages
github.com/sudeeshjohn/github-clone
command
module
Version:
v0.0.0-...-680529e
Opens a new window with list of versions in this module.
Published: Jul 22, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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:
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
Run source .env
make
./github-clone
TODO:
Comments in the target issues
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.