mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Improve nuget/rubygems package registries (#34741)
1. Add some missing (optional) fields for nuget v2, and sort the fields to make it easier to maintain 2. Add missing "platform" for rubygems: `VERSION-PLATFORM` and `VERSION_PLATFORM` Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		
							
								
								
									
										11
									
								
								modules/packages/container/const.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								modules/packages/container/const.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| // Copyright 2022 The Gitea Authors. All rights reserved. | ||||
| // SPDX-License-Identifier: MIT | ||||
|  | ||||
| package container | ||||
|  | ||||
| const ( | ||||
| 	ContentTypeDockerDistributionManifestV2 = "application/vnd.docker.distribution.manifest.v2+json" | ||||
|  | ||||
| 	ManifestFilename = "manifest.json" | ||||
| 	UploadVersion    = "_upload" | ||||
| ) | ||||
		Reference in New Issue
	
	Block a user