swiftlang/swift-package-manager

[SR-7821] Provide a way to validate that a version is syntactically valid

Offen

#4.810 geöffnet am 31.05.2018

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Swift (1.462 Forks)batch import
buggood first issue

Repository-Metriken

Stars
 (10.145 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Previous ID SR-7821
Radar rdar://problem/31742084
Original Reporter @aciidb0mb3r
Type Bug
Votes 0
Component/s Package Manager
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: 46680a2c0ec36bb66247502e88b4930f

Issue Description:

Right now, calling `Utility.Version(string: foo)` with a user-entered string returns nil whenever the string is malformed in any way, but it doesn’t provide any diagnostics about what the problem is.

Contributor Guide