
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
copy-repository
Advanced tools
CLI to copy a repository with meta data such as issues, labels, etc
GITHUB_TOKENS="<space separated list of tokens>" SOURCE_REPO=gr2m/source-repo TARGET_REPO=gr2m/target-repo npx copy-repository
You need an access token for every issue and comment author in order for the issues to be created the same way in the target repository. Instead of creating personal access tokens for all users, I recommend to create a GitHub App with the permissions administration:write and issues:write, then create user-to-server tokens which will be scoped to this apps permissions and installations: https://create-user-to-server-token.netlify.app/.
TARGET_REPO is optional and defaults to the owner from TARGET_REPO with suffix of -copy-[current time stamp].
ProTip: to delete a bunch of test repositories at once, we recommend npx @octoherd/script-delete-repository.
# create token at https://github.com/settings/tokens/new?scopes=delete_repo
npx @octoherd/script-delete-repository \
-T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \
See gr2m/helpdesk#16 for more information about this repository and its motivation.
FAQs
CLI to copy a repository with meta data such as issues, labels, etc
The npm package copy-repository receives a total of 10 weekly downloads. As such, copy-repository popularity was classified as not popular.
We found that copy-repository demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.