History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2382
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Justin Georgeson
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Separate, scriptable include and exclude pattern fields for repeate parameters with built-in "Files and Directories" value type

Created: 20/Mar/15 09:40 PM   Updated: 17/Dec/15 05:19 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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 .


 All   Comments   Work Log   Change History      Sort Order:
Justin Georgeson [28/Oct/15 06:35 PM]
Looks like QB-2552 has resolved the scriptable part of this request.