# This is the config file for the trigger CreateSwarmReview.py # In an SDP installation the default location is /p4/common/config # But it can be specified on the command line (so in trigger table entry) # API version for Swarm. "api/v6" is 2017.2 api: "api/v6" # Perforce user name to access Swarm as user: perforce # Ticket for the above user - generate with: # p4 -u login -ap ticket: AA1233C0FD5EF69605B08070AFB86711 # The default review description # New lines are seperated with \n inside the string review_description: "Please review me!\nDon't forget to check XXX" # Groups # Each group expected to have entries for name, depot_path, default_reviewers groups: - name: GroupA # Depot paths on which to execute this trigger - an array of values # Controlling here allows you to not have to update the trigger table entry and duplicate # lines in it. # Use quotes if spaces in the path, or if you have an exclude mapping ("-//some/path/...") depot_paths: - //depot/inside/A/... - //depot/inside/A1/... # A list of reviewers to be added by default for reviews for this group default_reviewers: - user1 - user2 - name: GroupB depot_paths: - //depot/inside/B/... - //depot/inside/B2/... default_reviewers: - user1 - user3