Skip to content
Handle repos with a little class
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
public
.gitignore
Gemfile
LICENSE
README.md
Rakefile
octavo.gemspec

README.md

Octavo

Octavo_logo

Handle git repos with a little bit of class.

A (still yet) opinionate gem for managing git repository state and actions

Opinions

  • Your repos have an ontology [gems|apps]
  • You use a mac-like unix path and keep your project files in a user home: ~/Sites//
  • You follow a branching structure similar to git-flow, i.e. master-dev-feature
  • Your release branches are named by-type:
    • gems: prefix-VERSION
    • apps: prefix-RELEASE_DATE
  • You push gem updates to a Gemsever defined as gemserver in your ~/.ssh/config

For now, if you're interested in defining a multi-tier build order, consider caphub

Installation

Add this line to your application's Gemfile:

gem 'activerepo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install activerepo

Usage

my_repo = FileUtils::ActiveRepo.new('/path/to/repo', repo_type)

  • my_repo.local: Local git repo methods current provided by Grit
  • my_repo.remote: Remote git repo methods currently provided by the GitHub API
  • my_repo.dependencies: Dependency info provided by Bunder

Contributing

  1. Fork it
  2. Feature (git checkout -b my-new-feature)
  3. Commit (git commit -am 'Added some feature')
  4. Push it (git push origin my-new-feature)
  5. The Pull Request
Something went wrong with that request. Please try again.