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
swift-driver version: 1.26.9 Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
Additional Detail from JIRA
Votes
1
Component/s
Package Manager
Labels
Bug
Assignee
None
Priority
Medium
md5: 2fecb0601494f60ab552c4213216a627
Issue Description:
Running following command should output nothing other than the JSON result:
swiftpackageshow-dependencies --formatjson
However it will print out info such as fetching external dependencies if cache does not exist. This makes parsing the command line output more difficult and less performant, thus create a lot of friction to develop tooling on top of SwiftPM.
Sample expected output:
{
"name": "Views",
"url": "<url of the package>",
"version": "unspecified",
"path": "<path of the package>",
"dependencies": [...]
}
Sample actual output:
Fetchinghttps://github.com/apollographql/apollo-ios.git from cache Fetching https://github.com/stephencelis/SQLite.swift.git from cache Fetched https://github.com/stephencelis/SQLite.swift.git (1.20s) Fetched https://github.com/apollographql/apollo-ios.git (1.22s) Computing version for https://github.com/apollographql/apollo-ios.git Computed https://github.com/apollographql/apollo-ios.git at 0.49.1 (0.93s) Computing version for https://github.com/stephencelis/SQLite.swift.git Computed https://github.com/stephencelis/SQLite.swift.git at 0.12.2 (0.72s) Creating working copy for https://github.com/apollographql/apollo-ios.git Working copy of https://github.com/apollographql/apollo-ios.git resolved at 0.49.1 Creating working copy for https://github.com/stephencelis/SQLite.swift.git Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.12.2
{
"name": "Views",
"url": "<url of the package>",
"version": "unspecified",
"path": "<path of the package>",
"dependencies": [...]
}
The text was updated successfully, but these errors were encountered:
Environment
macOS v11.6
swift-driver version: 1.26.9 Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
Additional Detail from JIRA
md5: 2fecb0601494f60ab552c4213216a627
Issue Description:
Running following command should output nothing other than the JSON result:
However it will print out info such as fetching external dependencies if cache does not exist. This makes parsing the command line output more difficult and less performant, thus create a lot of friction to develop tooling on top of SwiftPM.
Sample expected output:
Sample actual output:
The text was updated successfully, but these errors were encountered: