README.md #1

  • //
  • guest/
  • perforce_software/
  • p4flexclone/
  • demo/
  • README.md
  • Markdown
  • View
  • Commits
  • Open Download .zip Download (800 B)

Broker Demo

The Broker Configuration

Stored in: broker.cfg

It uses RSH to simplify the Perforce connection, just create an empty directory for the Perforce root.

target = "rsh:p4d -r /Users/pallen/test/p4_root/ -Llog -C1 -vserver=1 -i";

(assumes that p4d is in the path otherwise use rsh:/path/to/p4d ...)

It starts up listening for client connection on localhost:1234, change this as needed.

No other setting need to be changed.

Starting the Broker

p4broker -c broker.cfg -d

Invoking a new command

The broker rule below invokes the flex.pl Perl script. Update the path to the location of the script and make the file executable.

command: flex
{
  action    = filter;
  execute   = "/Users/pallen/test/flex.pl";
}

Then run p4 -p1234 flex.

# Broker Demo

## The Broker Configuration

Stored in: `broker.cfg`

It uses RSH to simplify the Perforce connection, just create an empty directory for the Perforce root.

```
target = "rsh:p4d -r /Users/pallen/test/p4_root/ -Llog -C1 -vserver=1 -i";
```
(assumes that `p4d` is in the path otherwise use `rsh:/path/to/p4d ...`)

It starts up listening for client connection on `localhost:1234`, change this as needed.

No other setting need to be changed.

## Starting the Broker

```
p4broker -c broker.cfg -d
```

## Invoking a new command

The broker rule below invokes the `flex.pl` Perl script.  Update the path to the location of the script and make the file executable.

```
command: flex
{
  action    = filter;
  execute   = "/Users/pallen/test/flex.pl";
}
```

Then run `p4 -p1234 flex`.

# Change User Description Committed
#4 15037 agnesj Made minor corrections
#3 15028 agnesj Added Known Issues and corrected p4 user creation and option -P
#2 14986 agnesj Modify README that provides information on P4 Flex scope, setup, requirements, support, assumptions, components, install, commands, workflow, considerations and references,
#1 13267 Paul Allen #review-13268 simple 'p4 flex' broker demo.