WF.ADDREPO
Extension: io.warp10.script.ext.warpfleet.WarpFleetWarpScriptExtension
stackConfiguration parameters
-
warpfleet.macros.repos
-
warpfleet.macros.validator
The WF.ADDREPO
function allows you to add a repository to the list of repositories taken into account by the WarpFleet™ macro resolver.
If the URL is valid (syntactically), then it will be added at the end of the current list of repositories scanned by the resolver. All repository URLs will then be validated by the validator
macro defined in the configuration (warpfleet.macros.validator
). Those URLs for which the validator
macro returned true will be retained.
Note that the repository is only added in the scope of the current stack.