Hack: Post a message to lighthouse

Subscribe to Hack: Post a message to lighthouse 4 post(s), 3 voice(s)

 
Avatar Geoffrey Gro... 2 post(s)

Here’s a simple script to use basic auth to post a message to the messages section of a project.

http://pastie.caboo.se/54772

I’ll be using it to log a message when an application is deployed.

Call it on the command line with two arguments: title and body

 
Avatar Josh Peek 9 post(s)

Nice tip.

I haven’t really played with messages yet and deployment notices sounds like a good idea.

Idea! maybe merge it with continuous builder and have it create messages for broken tests. Well maybe a ticket would be better suited.

(Just had the idea now, had to write it down somewhere, o, look a text box)

 
Avatar Josh Peek 9 post(s)

Here is a capistrano recipe version

http://joshpeek.com/svn/recipes/lighthouse.rb

 
Avatar rick Administator 546 post(s)

We were going to use messages for post-commit hooks originally. They were going to be the generic blob of text for things like post-commit messages, continuous integration failures, deployment notices, etc. I’m not really sure if I should keep on that route, or start using the Event model. Events are used to link to messages/tickets/etc, but I think these deployment notices, test failures, and changesets are less permanent than messages.