swiftlang/swift-package-manager

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

Open

#4.705 geöffnet am 30. Mai 2019

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Swift (1.462 Forks)batch import
good first issue

Repository-Metriken

Stars
 (10.145 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T 13h) (90 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide