p4broker.cfg #1

  • //
  • cbd/
  • main/
  • 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 	= [email protected];

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
#1 21633 C. Thomas Tyler Populate -o //guest/perforce_software/cbd/main/...
//cbd/main/....
//guest/perforce_software/cbd/main/broker/p4broker.cfg
#2 13774 C. Thomas Tyler Added 'p4 sbi' command - 'Show Broker Input', a debugging
utility to see how the broker sees your command from its
perspective.
#1 11356 C. Thomas Tyler Promotion from Dev Branch.

       What's included:
       * CBD scripts for Streams as demonstrated at Merge 2014.
       * Deletion of files from the original PoC that aren't needed.

       What's coming later, still work in progress on the dev branch:
       * Documentation.
       * Test Suite with complete Vagrant-based Test Environment.
       * CBD scripts for Classic.
//guest/perforce_software/cbd/dev/broker/p4broker.cfg
#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