1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 14:14:25 +00:00
gitea/modules/packages/conan
Gergely Nagy 4d22bda4db
Allow non-semver packages in the Conan package registry (#20412)
A lot of existing packages do not conform to SemVer, yet, they should be allowed
in the Conan package registry as-is. To achieve this, remove the SemVer check
from `NewRecipeReference`, and replace it with a simple empty string check.

A unit test with a non-semver version is also included.

Fixes #20405.

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2022-07-22 22:54:02 +01:00
..
conanfile_parser_test.go
conanfile_parser.go
conaninfo_parser_test.go
conaninfo_parser.go
metadata.go
reference_test.go Allow non-semver packages in the Conan package registry (#20412) 2022-07-22 22:54:02 +01:00
reference.go Allow non-semver packages in the Conan package registry (#20412) 2022-07-22 22:54:02 +01:00