This project is archived and is in readonly mode.

#103 ✓ resolved
Scott Chacon

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.

http://rails.lighthouseapp.com/p...

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

Tickets have moved to Github

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

Shared Ticket Bins

Attachments

Pages