p4broker.cfg #2

  • //
  • guest/
  • perforce_software/
  • cbd/
  • dev/
  • broker/
  • p4broker.cfg
  • View
  • Commits
  • Open Download .zip Download (1021 B)
#-------------------------------------------------------------------------------
# P4Broker for CBD dev/testing
#-------------------------------------------------------------------------------

target		= 1999;
listen 		= 1666;
zeroconf	= false;
server-name	= "CBD Broker";
server-desc	= "CBD Broker";
directory 	= /p4/1/bin;
logfile 	= /p4/1/logs/p4broker.log;
debug-level 	= server=1;
admin-name 	= "Perforce Admins";
admin-phone 	= 999/911;
admin-email 	= admin@p4bsw.com;

compress	= false;
redirection	= selective;

#-------------------------------------------------------------------------------
# CBD rewrites 'p4 sync' and friends ('p4 update' and 'p4 flush'), and their
# API-equivalents.
#-------------------------------------------------------------------------------

command: ^(sync|update|flush)$
{
   action = filter;
   execute = "/p4/common/bin/cbd/scripts/wssync.sh";
}

# Show Broker Input (Debugging Utility).
command: ^(sbi)$
{
   action = filter;
   execute = "/p4/common/bin/cbd/scripts/sbi.pl";
}

# Change User Description Committed
#3 25121 C. Thomas Tyler Added 'p4 get' to list of 'p4 sync' related commands in which
to do "Magic Sync" logic.  The 'p4 get' command is an undocumented
(AFAICT) synonym for 'p4 sync'.
#2 13803 C. Thomas Tyler Added 'p4 sbi' (show broker input) debugging utility.
#1 11351 C. Thomas Tyler Updated broker config file to SDP style, and configured for
CBD testing.

Renamed broker config to SDP standard filename.
//guest/perforce_software/cbd/dev/broker/broker.conf
#1 11347 C. Thomas Tyler Populate //guest/perforce_software/cbd/dev/...
from //guest/perforce_software/cbd/main/....
//guest/perforce_software/cbd/main/broker/broker.conf
#1 11196 C. Thomas Tyler Added CBD sample logic.
 It was developed by Randy DeFauw as a PoC,
and mentioned at the Perforce MERGE 2013 User Conference.

This PoC explores a broad spectrum of CBD challenges, and thus is
complex.  Actual production implementations derived can be simpler.

This implementation works with Classic Perforce only; support for
Streams is possible.
//guest/randy_defauw/cbd/broker/broker.conf
#1 8278 Randy DeFauw Import component development tool kit