summaryrefslogtreecommitdiffstats
path: root/routers/api
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2022-10-07 06:22:05 +0200
committerGitHub <noreply@github.com>2022-10-07 06:22:05 +0200
commit30ca91666ebd3168923baa82b4a17b039039d0a9 (patch)
tree5ec55f92aec574e8e35a1f2bd675047e8eb4f94b /routers/api
parentParse OAuth Authorization header when request omits client secret (#21351) (diff)
downloadforgejo-30ca91666ebd3168923baa82b4a17b039039d0a9.tar.xz
forgejo-30ca91666ebd3168923baa82b4a17b039039d0a9.zip
Set SemverCompatible to false for Conan packages (#21275)
Fixes #21250 Related #20414 Conan packages don't have to follow SemVer. The migration fixes the setting for all existing Conan and Generic (#20414) packages.
Diffstat (limited to 'routers/api')
-rw-r--r--routers/api/packages/conan/conan.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/api/packages/conan/conan.go b/routers/api/packages/conan/conan.go
index 90924c7c4b..c57f80ac2f 100644
--- a/routers/api/packages/conan/conan.go
+++ b/routers/api/packages/conan/conan.go
@@ -342,8 +342,7 @@ func uploadFile(ctx *context.Context, fileFilter stringSet, fileKey string) {
Name: rref.Name,
Version: rref.Version,
},
- SemverCompatible: true,
- Creator: ctx.Doer,
+ Creator: ctx.Doer,
}
pfci := &packages_service.PackageFileCreationInfo{
PackageFileInfo: packages_service.PackageFileInfo{