Skip to content

[NFC] Remove TSCBasic.InMemoryFileSystem dependency #7484

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 2, 2024

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Apr 23, 2024

Motivation:

As we'd like to quickly iterate on asyncification of our file system code and since TSC package is deprecated we should reduce our number of dependencies on it.

Modifications:

Removed import class TSCBasic.InMemoryFileSystem statements.

Result:

We have less dependencies on the TSC package.

We should prevent possible regressions in how this argument is handled.
Since #7483 this type is implemented in SwiftPM.
@MaxDesiatov MaxDesiatov added test suite improvements to SwiftPM test suite no functional change No user-visible functional changes included dependencies Changes to dependencies and relevant checks labels Apr 23, 2024
@MaxDesiatov MaxDesiatov self-assigned this Apr 23, 2024
@MaxDesiatov MaxDesiatov requested a review from xedin April 23, 2024 11:37
@MaxDesiatov MaxDesiatov marked this pull request as draft April 23, 2024 14:44
@xedin xedin force-pushed the maxd/test-toolchain-argument branch from a68d7cf to a7f8121 Compare May 17, 2024 17:44
Base automatically changed from maxd/test-toolchain-argument to main June 6, 2024 09:43
…xd/remove-tscbasic-inmemory-fs

# Conflicts:
#	Sources/Basics/FileSystem/InMemoryFileSystem.swift
#	Sources/CoreCommands/SwiftCommandState.swift
#	Sources/PackageModel/UserToolchain.swift
#	Sources/SPMTestSupport/Toolchain.swift
#	Sources/Workspace/Workspace.swift
#	Tests/CommandsTests/SwiftCommandStateTests.swift
#	Tests/PackageModelTests/PackageModelTests.swift
#	Tests/SourceControlTests/InMemoryGitRepositoryTests.swift
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov removed the request for review from tomerd June 20, 2024 19:31
@MaxDesiatov MaxDesiatov marked this pull request as ready for review June 20, 2024 19:32
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov changed the title Remove TSCBasic.InMemoryFileSystem dependency [NFC] Remove TSCBasic.InMemoryFileSystem dependency Jun 20, 2024
@MaxDesiatov MaxDesiatov enabled auto-merge (squash) June 20, 2024 19:44
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

…xd/remove-tscbasic-inmemory-fs

# Conflicts:
#	Tests/BuildTests/CrossCompilationBuildPlanTests.swift
#	Tests/CommandsTests/MermaidPackageSerializerTests.swift
#	Tests/LLBuildManifestTests/LLBuildManifestTests.swift
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit f61175a into main Jul 2, 2024
5 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/remove-tscbasic-inmemory-fs branch July 2, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes to dependencies and relevant checks no functional change No user-visible functional changes included test suite improvements to SwiftPM test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants