Description
The ccollab admin user file-subscription edit
command modifies an existing subscription to a file pattern.
Command Line Syntax
ccollab [global-options] admin user file-subscription edit <user> <file-pattern> [--new-file-pattern <value>] [--new-role <value>]
Command Options
Option |
Required? |
Description |
---|---|---|
Yes |
Login or username of the user |
|
Yes |
File pattern to match |
|
No |
New file pattern to match |
|
No |
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 optionally new file pattern or new 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.