gitea/modules/packages
6543 da10ce8b07
Allow non-semver packages in the Conan package registry (#20412) (#20523)
Backport #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>
Co-authored-by: Gergely Nagy <algernon@users.noreply.github.com>
2022-07-28 21:19:56 +01:00
..
composer Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
conan Allow non-semver packages in the Conan package registry (#20412) (#20523) 2022-07-28 21:19:56 +01:00
container Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
helm Add Helm Chart registry (#19406) 2022-04-19 12:55:35 -04:00
maven Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
npm Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
nuget Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
rubygems Fix Ruby package parsing by removed unused email field (#20470) (#20525) 2022-07-28 20:41:57 +02:00
content_store.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
hashed_buffer.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
multi_hasher_test.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
multi_hasher.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00