Skip activity

We recommend that before enabling the skip activity configurables in the SWARM_ROOT/data/config.php file, you must contact Perforce. For contact details, see Getting help.

If you make a configuration change, Swarm will not use it until the configuration cache has been reloaded, this forces Swarm to use the new configuration. You must be an admin or super user to reload the Swarm config cache. Navigate to the User id dropdown menu, select System Information, click the Cache Info tab, and click the Reload Configuration button.

Swarm activity streams are filtered to display events related to Reviews, Commits (changes), Comments, or Jobs. You can configure Swarm to skip an activity in the SWARM_ROOT/data/config.php file, as in the following example:

  • By default all skip activity configurables are set to false in the config.php file.

  • When skip_groups and skip_projects are set to true, this prevents all associated groups and project members from receiving activity.

  • When skip_groups, skip_projects and skip_followers are set to true, this prevents all associated groups, project members, and followers from receiving activity.

<?php
    // this block should be a peer of 'p4'
    'activity' => [
        'skip_activity' => false,  //If this is enabled all other skip configurables below default to true.
        'skip_groups' => false,    // Only skip group activity.
        'skip_projects' => false,  // only skip project activity.
        'skip_followers' => false, // only skip followers activity.
        'skip_review' => false,    // only skip the review activity.
    ]

skip_activity

When skip_activity is set to true, all activities in Swarm are disabled. No events for any activity are sent to any user, group, project, or review.

skip_groups

When skip_groups is set to true, no groups will receive activity. If you use any groups as members of projects or reviewers, they will not receive any activity.

skip_projects

When skip_projects is set to true, none of the projects associated with the review will receive activity.

skip_followers

When skip_followers is set to true, all users that are following the user performing the activity will no longer receive activity.

skip_review

When skip_review is set to true, none of the participants (users or groups) will receive activity for actions on the review.