swiftlang/swift-package-manager

[SR-10799] SwiftPM should have a --no-network flag that ensures no network calls are made

開放

#4,705 建立於 2019年5月30日

 (5 則留言) (0 個反應) (0 位負責人)Swift (1,462 個分叉)batch import
good first issue

倉庫指標

星標
 (10,145 顆星)
PR 合併指標
 (平均合併 9天 4小時) (30 天內合併 62 個 PR)

描述

Previous ID SR-10799
Radar rdar://problem/43436501
Original Reporter @neonichu
Type Improvement
Votes 0
Component/s Package Manager
Labels Improvement, StarterBug
Assignee None
Priority Medium

md5: 149f4ca03a0e456fe520b79cf5b66d9d

Issue Description:

SwiftPM should have a --no-network flag that ensures no network calls are made.

When SwiftPM would hit a case of needing to use the network, but this flag would be specified, SwiftPM would fail and describe what it needed to do.

This is important for testing scenarios when the package resolution and build are happening separately and in different environments.

貢獻者指南