mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Add RPM registry (#23380)
Fixes #20751 This PR adds a RPM package registry. You can follow [this tutorial](https://opensource.com/article/18/9/how-build-rpm-packages) to build a *.rpm 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. 
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,rubygems,swift,vagrant)"` | ||||
| 	Type          string `binding:"Required;In(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