This project is archived and is in readonly mode.
Lighthouse Rake Tools
Reported by Scott Chacon | May 4th, 2008 @ 02:34 AM
I created a set of Rake tasks based on the new patch description posted by Koz.
This patch adds a 'tasks' subdir for rails and adds tasks for listing out open patch tickets in lighthouse for the rails project and lets you drill down into them.
This way, you can view the available patch tickets on the command line like so:
$ rake patch:list Date Num Attch Title 04/16 9 2 Adding records to a has_many 04/16 10 1 Immediate flash values not accessible 04/16 12 1 Bounded params in find(...:from) 04/24 44 1 Custom resource paths 05/01 72 1 auto_link fails to recognize urls 05/02 93 1 Restore timestamps in model rollback 05/03 102 1 Add db:console tasks
And to apply one, run something like:
$ rake patch:show:attach ID=102 | git am
If you add your token:
$ rake patch:setup TOKEN=XXXXX
Then you can also comment on patch tickets without visiting the lighthouse website:
$ rake patch:comment ID=102
The full set of new rake tasks added are :
rake patch:setup # setup your token, TOKEN=XXXX.. rake patch:list # list all open patch tickets rake patch:show:ticket # show patch ticket, include ID=XX rake patch:show:attach # outputs actual patch file, include ID=XX (and o... rake patch:show:comments # lists all comments on a ticket and adds up the +1s rake patch:comment # review a patch - comment and optionally +1 it
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 »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>