<< Back to previous view

[QB-2382] Separate, scriptable include and exclude pattern fields for repeate parameters with built-in "Files and Directories" value type
Created: 20/Mar/15  Updated: 17/Dec/15

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Justin Georgeson Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
In order to set a default implementation of a repeating step which loops over all matching files, yet still allow child configs to change the behavior without overriding the step definition, I'd like to see the "Files and Directories matching specified patterns" built-in repeat parameter value expanded to have separate fields for include and exclude patterns, and for both those fields to be scriptable (so child configs override the default variable value instead of the step itself). The reason for separate include and exclude fields is that it's more intuitive to maintainers of the child configs what to override to keep the default inclusions but override the exclusions or vice-versa. With a single field it's unintuitive what expression and default variable values should be to allow overriding one but not the other. For example does QB handle having a file pattern expression that ends in a comma (if the default expression is '${vars.getValue("includes")},${vars.getValue("excludes")}' and the excludes variable has no value)? With two separate fields it's quite clear .


 Comments   
Comment by Justin Georgeson [ 28/Oct/15 06:35 PM ]
Looks like QB-2552 has resolved the scriptable part of this request.
Generated at Sun Oct 05 23:36:20 UTC 2025 using JIRA 189.