You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -83,7 +84,7 @@ private function addDistributionsSection(ArrayNodeDefinition|NodeDefinition $roo
83
84
->arrayNode('distributions')
84
85
->canBeEnabled('Host the distributions of packages')
85
86
->children()
86
-
->booleanNode('build')->defaultTrue()->info('Build distributions from the source code (if not already provided)')->end()
87
+
->booleanNode('build')->defaultTrue()->info('Build distributions from the source code (if available)')->end()
87
88
->booleanNode('mirror')->defaultFalse()->info('Mirror distributions from the original source (if provided)')->end()
88
89
->booleanNode('async_api_requests')->defaultFalse()->info('Fetch distributions asynchronously instead of during execution (from the API)')->end()
89
90
->booleanNode('dev_versions')->defaultFalse()->info('Include distributions of development versions')->end()
@@ -98,9 +99,10 @@ private function addMetadataSection(ArrayNodeDefinition|NodeDefinition $rootNode
98
99
->arrayNode('metadata')
99
100
->addDefaultsIfNotSet()
100
101
->children()
101
-
->booleanNode('mirror_vcs_repositories')
102
-
->defaultFalse()
103
-
->info('Fetch mirrored packages from their VCS repositories by default when possible.')
102
+
->enumNode('default_fetch_strategy')
103
+
->enumFqcn(PackageFetchStrategy::class)
104
+
->defaultValue(PackageFetchStrategy::Mirror)
105
+
->info('Available values are "mirror" (default, fetch from the mirror), "source" (fetch from the VCS source) and "vcs" (fetch complete VCS repository)')
0 commit comments