From cdb088cec288a20e14240f86a689dd14f4cd603b Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Mon, 22 May 2023 04:57:49 +0200 Subject: Add CRAN package registry (#22331) This PR adds a [CRAN](https://cran.r-project.org/) package registry. ![grafik](https://user-images.githubusercontent.com/1666336/210450039-d6fa6f77-20cd-4741-89a8-1624def267f7.png) --- services/forms/package_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/forms') diff --git a/services/forms/package_form.go b/services/forms/package_form.go index cf8abfb8fb..2f08dfe9f4 100644 --- a/services/forms/package_form.go +++ b/services/forms/package_form.go @@ -15,7 +15,7 @@ import ( type PackageCleanupRuleForm struct { ID int64 Enabled bool - Type string `binding:"Required;In(alpine,cargo,chef,composer,conan,conda,container,debian,generic,go,helm,maven,npm,nuget,pub,pypi,rpm,rubygems,swift,vagrant)"` + Type string `binding:"Required;In(alpine,cargo,chef,composer,conan,conda,container,cran,debian,generic,go,helm,maven,npm,nuget,pub,pypi,rpm,rubygems,swift,vagrant)"` KeepCount int `binding:"In(0,1,5,10,25,50,100)"` KeepPattern string `binding:"RegexPattern"` RemoveDays int `binding:"In(0,7,14,30,60,90,180)"` -- cgit v1.2.3