Skip to content
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

[SR-9362] swift package describe unnecessarily fetches dependencies #4743

Closed
mxcl opened this issue Nov 27, 2018 · 2 comments
Closed

[SR-9362] swift package describe unnecessarily fetches dependencies #4743

mxcl opened this issue Nov 27, 2018 · 2 comments
Labels

Comments

@mxcl
Copy link
Contributor

mxcl commented Nov 27, 2018

Previous ID SR-9362
Radar None
Original Reporter @mxcl
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 895762d8763e462d6c2834b31293705b

duplicates:

  • SR-7830 describe --type JSON does not output JSON

Issue Description:

This command only describes the local package, but invoking it fetches the whole dependency graph.

I looked into fixing it myself but got lost, if you point me at the right place and tell me how you want it fixed I will fix it.

Also, using `swift package --skip-updates describe` does not stop it doing this.

@ankitspd
Copy link
Member

This is already fixed on master. Also, --skip-update prevents `git fetch` but allows cloning if the clone doesn't exists.

@mxcl
Copy link
Contributor Author

mxcl commented Nov 28, 2018

Splendid, and sorry for the dupe. Also figured `–skip-update` might have different specifics for how it behaved, but added it to the report in case it was relevant since I wasn't sure.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants