mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add Alpine package registry (#23714)
This PR adds an Alpine package registry. You can follow [this tutorial](https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package) to build a *.apk package for testing. This functionality is similar to the Debian registry (#22854) and therefore shares some methods. I marked this PR as blocked because it should be merged after #22854.  --------- Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
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,debian,generic,helm,maven,npm,nuget,pub,pypi,rpm,rubygems,swift,vagrant)"`
 | 
			
		||||
	Type          string `binding:"Required;In(alpine,cargo,chef,composer,conan,conda,container,debian,generic,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)"`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user