ccollab admin user file-subscription create

Applies to Collaborator 13.6, last modified on April 21, 2021

Description

The ccollab admin user file-subscription create command creates a new subscription to a file pattern.

Command Line Syntax

ccollab [global-options] admin user file-subscription create <user> <file-pattern> <role>

Command Options

Option

Required?

Description

<user>

Yes

Login or username of the user

<file-pattern>

Yes

The Ant-style expression as the pattern to match the file(s) of interest. For example *.java.

Maximum number of characters is 255.

<role>

Yes

The role type to be assigned.

File pattern subscriptions allow a user to be automatically included in reviews where particular files are under review.

Specify the login or username, the file pattern and the role type to be assigned for that user.

Specify an Ant-style expression as the pattern to match the file(s) of interest. The expression will be matched to the file path and repository name; it will not look for matches in the complete repository path with URL and other server descriptions. Ant-style expressions can include "*" to match any substring within a given directory, or "**" to match any substring of any length, ignoring directory separators. If possible, avoid beginning the pattern with wildcard characters as it can significantly decrease the performance of subscription processing.

Keep in mind that actual role names may vary depending on role configuration.

See Also

ccollab admin user file-subscription

Highlight search results