Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

repo_forker

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repo_forker

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

RepoForker

Travis CI Build Status

This gem is written to facilitate the forking of a list of GitHub repositories from one user or organization to another.

Installation

Add this line to your application's Gemfile:

gem 'repo_forker'

And then execute:

$ bundle

Or install it yourself as:

$ gem install repo_forker

Usage

RepoForker.configure do |config|
  config.api_key = "123456"
  config.source  = "some-organization"
  config.destination = "another-organization"
end

repo_list = ["some-repo", "some-other-repo"]

RepoForker.fork(repo_list)
# => { :successful_requests => ["some-repo"], :failed_requests => ["some-other-repo"] }

Figure 1. Example configuration and use of RepoForker.

In order for RepoForker to make requests to the GitHub API to fork repositories, it must be configured with a GitHub API key, source user/organization, and a destination user/organization. After configuration is complete, prepare a list of repository names and tell RepoForker to fork the repositories. (see Figure 1)

Contributing

If you'd like to help improve RepoForker by adding a new feature, please fork the repository and submit a pull request for your feature branch. Also, please report any bugs that you find.

FAQs

Package last updated on 26 May 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc