mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add Swift package registry (#22404)
This PR adds a [Swift](https://www.swift.org/) package registry. 
This commit is contained in:
		@@ -15,7 +15,7 @@ import (
 | 
			
		||||
type PackageCleanupRuleForm struct {
 | 
			
		||||
	ID            int64
 | 
			
		||||
	Enabled       bool
 | 
			
		||||
	Type          string `binding:"Required;In(cargo,chef,composer,conan,conda,container,generic,helm,maven,npm,nuget,pub,pypi,rubygems,vagrant)"`
 | 
			
		||||
	Type          string `binding:"Required;In(cargo,chef,composer,conan,conda,container,generic,helm,maven,npm,nuget,pub,pypi,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)"`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user