Sha256: c63f86e13339307bb588da3423ff9f720db8058125735e0094110fc480e72309

Contents?: true

Size: 1.25 KB

Versions: 12

Compression:

Stored size: 1.25 KB

Contents

# Repomen

The Repomen are retrieving repos and can discard them at will.



## Installation

Add this line to your application's Gemfile:

    gem 'repomen'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install repomen



## Usage

The Repomen are retrieving repos and can discard them at will.

    url = "git@bitbucket.org:atlassian_tutorial/helloworld.git"
    Repomen.retrieve(url)

When called with a block, the repo is automatically deleted afterwards

    Repomen.retrieve(url) do |local_path|
      # repo is cloned in +local_path+
    end
    # repo is gone

You can set the directory where the repos are stored:

    Repomen.config.work_dir = "tmp/"

The naming scheme for the cloned repos is `service/user/repo`. In the example `https://github.com/rrrene/sparkr.git` would be cloned to `tmp/github/rrrene/sparkr`.



## Contributing

1. [Fork it!](http://github.com/rrrene/repomen/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request



## Author

René Föhring (@rrrene)



## License

Repomen is released under the MIT License. See the LICENSE.txt file for further
details.

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
repomen-0.2.1 README.md
repomen-0.2.0 README.md
repomen-0.2.0.rc1 README.md
repomen-0.1.8 README.md
repomen-0.1.7 README.md
repomen-0.1.6 README.md
repomen-0.1.5 README.md
repomen-0.1.4 README.md
repomen-0.1.3 README.md
repomen-0.1.2 README.md
repomen-0.1.1 README.md
repomen-0.1.0 README.md