# The settings below are for Perforce replication. - TRUE/FALSE *MUST* BE UPPER CASE: export P4REPLICA=REPL_TF export P4REPLICANAME=REPL_REPNAME export P4MASTERNAME=MASTER_NAME export P4MASTER=REPL_DNSNAME export P4PORT=REPL_P4PORT export P4BROKERPORTNUM=REPL_P4BROKERPORT export P4D_FLAGS="-p ${P4PORT} -r ${P4ROOT} -q -d" if [[ "$P4REPLICA" == "TRUE" ]]; then rm -f /p4/${P4INSTANCE}/root/server.id echo ${P4REPLICANAME}> /p4/${P4INSTANCE}/root/server.id else rm -f /p4/${P4INSTANCE}/root/server.id echo ${P4MASTERNAME}> /p4/${P4INSTANCE}/root/server.id fi # P4Web settings: export P4WEBBIN=${P4HOME}/bin/p4web_${P4INSTANCE} export P4WEBLOG=${P4HOME}/logs/p4web.log export P4WEBPORT=REPL_P4WEBPORT # Authenticated Browse only mode: export P4WEBARGS="-B -p $P4PORT -w $P4WEBPORT -U $OSUSER -L $P4WEBLOG" # P4FTP settings: export P4FTPPORT=REPL_P4FTPPORT export P4FTPBIN=${P4HOME}/bin/p4ftpd_${P4INSTANCE} export P4FTPLOG=${P4HOME}/logs/ftp.log export P4FTPARGS="-d -l $P4FTPPORT -p $P4PORT -u $OSUSER -L $P4FTPLOG"
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 11477 | Russell C. Jackson (Rusty) |
Updated to use /usr/bin/env python Added workshop header. Changed cfg to config. |
||
#1 | 11466 | Russell C. Jackson (Rusty) |
Initial work to simplify p4_vars and remove cluster stuff. Testing of named instances surfaced some bugs that are in prod sdp, now fixed in dev. Added three triggers from RCJ SDP Moved p4review.cfg into the new /p4/common/cfg to go along with the instance_vars files. mkdirs.sh now generates an instance_p4review.cfg as well. Removed incremental p4verify to clean up a bit. It didn't support replicas and was really never used. All port settings now live in <instance>_vars file. You set what you want the ports to be in mkdirs.sh. There is no more fancy logic to try to guess what the port should be. You set it, and that is what it is. Remaining to do is to updated scripts to not need p4master_run. Saved that work for later since this is tested and works. |