29f149bd9f 
							
						 
					 
					
						
						
							
							Move context from modules to services ( #29440 )  
						
						... 
						
						
						
						Since `modules/context` has to depend on `models` and many other
packages, it should be moved from `modules/context` to
`services/context` according to design principles. There is no logic
code change on this PR, only move packages.
- Move `code.gitea.io/gitea/modules/context` to
`code.gitea.io/gitea/services/context`
- Move `code.gitea.io/gitea/modules/contexttest` to
`code.gitea.io/gitea/services/contexttest` because of depending on
context
- Move `code.gitea.io/gitea/modules/upload` to
`code.gitea.io/gitea/services/context/upload` because of depending on
context 
						
						
					 
					
						2024-02-27 08:12:22 +01:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							461d8b53c2 
							
						 
					 
					
						
						
							
							Fix some RPM registry flaws ( #28782 )  
						
						... 
						
						
						
						Related #26984 
(https://github.com/go-gitea/gitea/pull/26984#issuecomment-1889588912 )
Fix admin cleanup message.
Fix models `Get` not respecting default values.
Rebuild RPM repository files after cleanup.
Do not add RPM group to package version name.
Force stable sorting of Alpine/Debian/RPM repository data.
Fix missing deferred `Close`.
Add tests for multiple RPM groups.
Removed non-cached `ReplaceAllStringRegex`.
If there are multiple groups available, it's stated in the package
installation screen:
 
						
						
					 
					
						2024-01-19 11:37:10 +00:00 
						 
				 
			
				
					
						
							
							
								Exploding Dragon 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ba4d0b8ffb 
							
						 
					 
					
						
						
							
							Support for grouping RPMs using paths ( #26984 )  
						
						... 
						
						
						
						The current rpm repository places all packages in the same repository,
and different systems (el7,f34) may hit packages that do not belong to
this distribution ( #25304  ) , which now supports grouping of rpm.

Fixes  #25304  .
Fixes  #27056  .
Refactor: [#25866 ](https://github.com/go-gitea/gitea/pull/25866 ) 
						
						
					 
					
						2024-01-12 03:16:05 +00:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a95d5b7702 
							
						 
					 
					
						
						
							
							Add HEAD support for rpm repo files ( #28309 )  
						
						... 
						
						
						
						Fixes https://codeberg.org/forgejo/forgejo/issues/1810 
zypper uses HEAD requests to check file existence.
https://github.com/openSUSE/libzypp/blob/HEAD/zypp/RepoManager.cc#L2549 
https://github.com/openSUSE/libzypp/blob/HEAD/zypp-curl/ng/network/private/downloaderstates/basicdownloader_p.cc#L116 
@ExplodingDragon fyi 
						
						
					 
					
						2023-12-05 08:01:02 +00:00 
						 
				 
			
				
					
						
							
							
								JakobDev 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7047df36d4 
							
						 
					 
					
						
						
							
							Another round of db.DefaultContext refactor ( #27103 )  
						
						... 
						
						
						
						Part of #27065 
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me> 
						
						
					 
					
						2023-09-25 13:17:37 +00:00 
						 
				 
			
				
					
						
							
							
								JakobDev 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c548dde205 
							
						 
					 
					
						
						
							
							More refactoring of db.DefaultContext ( #27083 )  
						
						... 
						
						
						
						Next step of #27065  
						
						
					 
					
						2023-09-15 06:13:19 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
						
						
						
							
						
						
							540bf9fa6d 
							
						 
					 
					
						
						
							
							Move notification interface to services layer ( #26915 )  
						
						... 
						
						
						
						Extract from #22266  
						
						
					 
					
						2023-09-05 18:37:47 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							88f835192d 
							
						 
					 
					
						
						
							
							Replace interface{} with any ( #25686 )  
						
						... 
						
						
						
						Result of running `perl -p -i -e 's#interface\{\}#any#g' **/*` and `make fmt`.
Basically the same [as golang did](2580d0e08d 
						
						
					 
					
						2023-07-04 18:36:08 +00:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c890454769 
							
						 
					 
					
						
						
							
							Add direct serving of package content ( #25543 )  
						
						... 
						
						
						
						Fixes  #24723 
Direct serving of content aka HTTP redirect is not mentioned in any of
the package registry specs but lots of official registries do that so it
should be supported by the usual clients. 
					
						2023-07-03 15:33:28 +02:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							05209f0d1d 
							
						 
					 
					
						
						
							
							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 .
 
					
						2023-05-05 20:33:37 +00:00