File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ public struct ResolverOptions: ParsableArguments {
257
257
258
258
@Flag ( help: " Define automatic transformation of source control based dependencies to registry based ones " )
259
259
public var sourceControlToRegistryDependencyTransformation : SourceControlToRegistryDependencyTransformation =
260
- . swizzle
260
+ . disabled
261
261
262
262
@Option ( help: " Default registry URL to use, instead of the registries.json configuration file " )
263
263
public var defaultRegistryURL : URL ?
Original file line number Diff line number Diff line change @@ -688,8 +688,6 @@ public class Workspace {
688
688
delegate: WorkspaceRegistryClientDelegate ( workspaceDelegate: delegate)
689
689
)
690
690
691
- // record state before potential mutation
692
- let registryExplicitlyConfigured = registryClient. explicitlyConfigured
693
691
// set default registry if not already set by configuration
694
692
if registryClient. defaultRegistry == nil , let defaultRegistry = configuration. defaultRegistry {
695
693
registryClient. defaultRegistry = defaultRegistry
@@ -706,8 +704,7 @@ public class Workspace {
706
704
// register the registry dependencies downloader with the cancellation handler
707
705
cancellator? . register ( name: " registry downloads " , handler: registryDownloadsManager)
708
706
709
- // TODO: activate if users has given an indication they want to use the registry?
710
- if registryExplicitlyConfigured, let transformationMode = RegistryAwareManifestLoader . TransformationMode ( configuration. sourceControlToRegistryDependencyTransformation) {
707
+ if let transformationMode = RegistryAwareManifestLoader . TransformationMode ( configuration. sourceControlToRegistryDependencyTransformation) {
711
708
manifestLoader = RegistryAwareManifestLoader (
712
709
underlying: manifestLoader,
713
710
registryClient: registryClient,
You can’t perform that action at this time.
0 commit comments