Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Lighthouse Rake Tools

#103

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

Reported by Scott Chacon · May 4th, 2008 @ 02:34 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Michael Koziarski
    Michael Koziarski
    • State changed from new to resolved

    This definitely shouldn't be in the core rails framework yet. But please release it as a gem.

    This is similar to tpope's git-trac, perhaps you guys could collaborate on some CLI tools?

    Looks awesome though, well done.

    May 4th, 2008 @ 02:51 AM

  2. Chad Woolley
    Chad Woolley

    Yes, this looks nice. Please release it.

    May 4th, 2008 @ 06:20 AM

  3. Scott Chacon
    Scott Chacon

    I just released this tool separately, if anyone is still interested:

    http://github.com/schacon/git-li...

    May 27th, 2008 @ 09:03 PM