This project is archived and is in readonly mode.

#591 ✓ duplicate
Les Hill

Installing plugin from git branches

Reported by Les Hill | July 10th, 2008 @ 01:55 PM | in 2.x

Currently, script/plugin install works only with the master branch of a git repository. This is fine if you want your plugin on a random edge commit, but not so fine if you want a specific release (branch or tag or commit). Right now you have to type in at least 4 commands (git clone..., cd .., git checkout..., rm -rf .git) to grab a release, this patch makes that part of script/plugin's repertoire.

The patch adds the following syntax to pull down a specific release:

To pull tag 1.1.4

script/plugin install -b 1.1.4 git...

To pull branch classic

script/plugin install -b origin/classic git...

To pull commit a...0

script/plugin install -b a...0 git...

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

People watching this ticket

Attachments

Pages