swiftlang/swift-package-manager

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

Open

#4,810 建立於 2018年5月31日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Swift (10,145 star) (1,462 fork)batch import
buggood first issue

描述

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.

貢獻者指南