swiftlang/swift-package-manager

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

Open

#4810 aperta il 31 mag 2018

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Swift (1462 fork)batch import
buggood first issue

Metriche repository

Star
 (10.145 star)
Metriche merge PR
 (Merge medio 9g 13h) (90 PR mergiate in 30 g)

Descrizione

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.

Guida contributor