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 (1,462 fork)batch import
buggood first issue

仓库指标

Star
 (10,145 star)
PR 合并指标
 (平均合并 9天 4小时) (30 天内合并 62 个 PR)

描述

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.

贡献者指南