Re: [proposal] trigger output change

[email protected] (Larry McVoy) Thu, 27 Apr 2006 14:22:29 -0700
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <[email protected]>
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