github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

evilchelu / braid

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 287
    • 23
  • Source
  • Commits
  • Network (23)
  • Issues (1)
  • Downloads (1)
  • Wiki (3)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (1)
    • 0.5
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Simple tool to help track git and svn vendor branches in a git repository — Read more

  cancel

http://github.com/evilchelu/braid/wikis/home

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fix tests 
norbert (author)
Sun Oct 11 06:26:32 -0700 2009
commit  e91f76b90ec1cd18d021f5a30680f1488791d67e
tree    9400b19e34084e67077cbb8205d4e7c64517edc0
parent  c70b656b70d269f37decb1d639af4505e5dfe1da
braid /
name age
history
message
file .gitignore Tue Apr 29 09:24:36 -0700 2008 ignore gem build output [evilchelu]
file LICENSE Wed Jul 16 11:23:45 -0700 2008 Swipe files in root [norbert]
file README.textile Wed Oct 29 04:29:59 -0700 2008 update readme [evilchelu]
file Rakefile Sat Sep 06 14:47:33 -0700 2008 Separate integration tests [norbert]
directory bin/ Sat Mar 07 23:28:14 -0800 2009 Oh snap, push works [norbert]
file braid.gemspec Wed Oct 29 07:20:35 -0700 2008 0.5 - woohoo [evilchelu]
directory lib/ Sun Oct 11 06:35:40 -0700 2009 Fix commit message tense [norbert]
directory test/ Sun Oct 11 06:35:40 -0700 2009 Fix tests [norbert]
README.textile

Braid

Braid is a simple tool to help track git and svn vendor branches in a git repository.

The project homepage is at http://github.com/evilchelu/braid/wikis/home

Requirements

  • git 1.6+ (and git-svn if you want to mirror svn repositories)
  • main >= 2.8.0
  • open4 >= 0.9.6

Installing using rubygems – official releases

gem install braid

Installing using rubygems – development releases

gem sources -a http://gems.github.com gem install evilchelu-braid

Installing from source

git clone git://github.com/evilchelu/braid.git cd braid gem build braid.gemspec sudo gem install braid-x.y.z.gem

Quick usage – ruby project

Let’s assume we’re writing something like gitnub that needs grit in lib/grit. Initialize the repo (nothing braid related here):

git init gritty cd gritty touch README git add README git commit -m “initial commit”

Now let’s vendor grit:

braid add git://github.com/mojombo/grit.git lib/grit

And you’re done! Braid vendored grit into lib/grit. Feel free to inspect the changes with git log or git show.

If further down the line, you want to bring new changes from grit in your repository, just update the mirror:

braid update lib/grit

Quick usage – rails project

Let’s assume you want to start a new rails app called shiny. Initialize the repo (nothing braid related here):

git init shiny cd shiny touch README git add README git commit -m “initial commit”

Vendor rails (this might take a while because the rails repo is huge!):

braid add git://github.com/rails/rails.git vendor/rails

Create your new rails app (nothing braid related here):

ruby vendor/rails/railties/bin/rails . git add . git commit -m “rails .”

Add any plugins you might need:

braid add git://github.com/thoughtbot/shoulda.git -p braid add git://github.com/thoughtbot/factory_girl.git -p braid add git://github.com/mbleigh/subdomain-fu.git -p

And you’re done! Braid vendored rails and your plugins. Feel free to inspect the changes with git log or git show.

If further down the line, you want to bring new changes from rails in your repository, just update the mirror:

braid update vendor/rails

Or, if you want all mirrors updated:

braid update

More usage

Use the built in help system to find out about all commands and options:

braid help braid help add # or braid add —help

You may also want to read Usage and examples.

Troubleshooting

Check Troubleshooting if you’re having issues.

Contributing

We appreciate any patches, error reports and usage ideas you may have. Please submit a lighthouse ticket or start a thread on the mailing list.

Bugs and feature requests: braid project on lighthouse

Discussions and community support: braid-gem google group

Authors

  • Cristi Balan (evilchelu)
  • Norbert Crombach (norbert)

Contributors (alphabetically)

  • Alan Harper
  • Christoph Sturm
  • Dennis Muhlestein
  • Ferdinand Svehla
  • Michael Klishin
  • Roman Heinrich
  • Tyler Rick
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server