Excluding Users from Activity Streams
Larger P4 Server installations often have one or more service users that perform automated tasks, such as build systems, continuous integration test servers, or integrations with 3rd-party databases via P4 DTG.
As P4 Code Review reports the activity of users, and these service users can generate significant volumes of activity entries, P4 Code Review provides a mechanism to ignore activity from specified users.
If you make a configuration change, P4 Code Review will not use it until the configuration cache has been reloaded, this forces P4 Code Review to use the new configuration. You must be an admin or super user to reload the P4 Code Review config cache. Navigate to the User id dropdown menu, select System Information, click the Cache Info tab, and click the Reload Configuration button.
Update the SWARM_ROOT/data/config.php
file to include the following configuration block:
<?php
// this block should be a peer of 'p4'
'activity' => array(
'ignored_users' => array(
'p4dtguser',
'system',
),
),
After SWARM_ROOT/data/config.php
is updated, P4 Code Review no longer records activity for any of the listed userids. Any previously recorded activity is included in activity streams.