[Bitkeeper-users] [proposal] trigger output change

Larry McVoy lm at bitmover.com
Thu Apr 27 14:22:29 PDT 2006


On Thu, Apr 27, 2006 at 02:55:38PM -0400, Harlan Stenn wrote:
> > Right now, if you have multiple remote triggers that just echo their names
> > you would see
> > 
> > ------ Remote trigger message --------------------------
> 
> We'd actually see the '---- Remote trigger message ----' lines?

Yes.

> If so, there is value in having the ability to display the hostname and
> perhaps the repo (which is may be discernable already, I forget).  Some
> of us fire triggers on multiple remote machines.

You can put all that in your triggers if you want, it's all there in
environment variables.  

> - decide what, if anything, should be output
> - decide the format of the messages, eg:
> - - %H is the hostname

	$BKD_HOST

> - - %R is the repo
	
	$BKD_REPO

> - - %T is the trigger name

	$BK_TRIGGER

-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com


More information about the Bitkeeper-users mailing list