Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cdb088cec2 
							
						 
					 
					
						
						
							
							Add CRAN package registry ( #22331 )  
						
						... 
						
						
						
						This PR adds a [CRAN](https://cran.r-project.org/ ) package registry.
 
						
						
					 
					
						2023-05-22 10:57:49 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6b33152b7d 
							
						 
					 
					
						
						
							
							Decouple the different contexts from each other ( #24786 )  
						
						... 
						
						
						
						Replace #16455 
Close  #21803 
Mixing different Gitea contexts together causes some problems:
1. Unable to respond proper content when error occurs, eg: Web should
respond HTML while API should respond JSON
2. Unclear dependency, eg: it's unclear when Context is used in
APIContext, which fields should be initialized, which methods are
necessary.
To make things clear, this PR introduces a Base context, it only
provides basic Req/Resp/Data features.
This PR mainly moves code. There are still many legacy problems and
TODOs in code, leave unrelated changes to future PRs. 
						
						
					 
					
						2023-05-21 09:50:53 +08:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5968c63a11 
							
						 
					 
					
						
						
							
							Add Go package registry ( #24687 )  
						
						... 
						
						
						
						Fixes  #7608 
This PR adds a Go package registry usable with the Go proxy protocol.
 
					
						2023-05-14 23:38:40 +08:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9173e079ae 
							
						 
					 
					
						
						
							
							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> 
						
						
					 
					
						2023-05-12 17:27:50 +00: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 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf999e4069 
							
						 
					 
					
						
						
							
							Add Debian package registry ( #24426 )  
						
						... 
						
						
						
						Co-authored-by: @awkwardbunny
This PR adds a Debian package registry.
You can follow [this
tutorial](https://www.baeldung.com/linux/create-debian-package ) to build
a *.deb package for testing.
Source packages are not supported at the moment and I did not find
documentation of the architecture "all" and how these packages should be
treated.

Part of #20751 .
Revised copy of #22854 .
---------
Co-authored-by: Brian Hong <brian@hongs.me>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-02 12:31:35 -04:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c0ddec8a2a 
							
						 
					 
					
						
						
							
							Revert "Add Debian package registry" ( #24412 )  
						
						... 
						
						
						
						Reverts go-gitea/gitea#22854  
						
						
					 
					
						2023-04-28 18:06:41 -04:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf77e2163b 
							
						 
					 
					
						
						
							
							Add Debian package registry ( #22854 )  
						
						... 
						
						
						
						Co-authored-by: @awkwardbunny
This PR adds a Debian package registry. You can follow [this
tutorial](https://www.baeldung.com/linux/create-debian-package ) to build
a *.deb package for testing. Source packages are not supported at the
moment and I did not find documentation of the architecture "all" and
how these packages should be treated.
---------
Co-authored-by: Brian Hong <brian@hongs.me>
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
						
						
					 
					
						2023-04-28 17:51:36 -04:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c709fa17a7 
							
						 
					 
					
						
						
							
							Add Swift package registry ( #22404 )  
						
						... 
						
						
						
						This PR adds a [Swift](https://www.swift.org/ ) package registry.
 
						
						
					 
					
						2023-03-13 15:28:39 -05:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d987ac6bf1 
							
						 
					 
					
						
						
							
							Add Chef package registry ( #22554 )  
						
						... 
						
						
						
						This PR implements a [Chef registry](https://chef.io/ ) to manage
cookbooks. This package type was a bit complicated because Chef uses RSA
signed requests as authentication with the registry.


Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
						
						
					 
					
						2023-02-06 09:49:21 +08:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							df789d962b 
							
						 
					 
					
						
						
							
							Add Cargo package registry ( #21888 )  
						
						... 
						
						
						
						This PR implements a [Cargo registry](https://doc.rust-lang.org/cargo/ )
to manage Rust packages. This package type was a little bit more
complicated because Cargo needs an additional Git repository to store
its package index.
Screenshots:



---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
						
						
					 
					
						2023-02-05 18:12:31 +08:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6ba9ff7b48 
							
						 
					 
					
						
						
							
							Add Conda package registry ( #22262 )  
						
						... 
						
						
						
						This PR adds a [Conda](https://conda.io/ ) package registry. 
						
						
					 
					
						2023-02-01 12:30:39 -06:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f59a74852b 
							
						 
					 
					
						
						
							
							Update gitea-vet to check FSFE REUSE ( #22004 )  
						
						... 
						
						
						
						Related to:
- #21840 
- https://gitea.com/gitea/gitea-vet/pulls/21 
What it looks like when it's working:
https://drone.gitea.io/go-gitea/gitea/64040/1/5 
All available SPDX license identifiers: [SPDX License
List](https://spdx.org/licenses/ ).
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
						
						
					 
					
						2022-12-02 22:14:57 +08:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							32db62515f 
							
						 
					 
					
						
						
							
							Add package registry cleanup rules ( #21658 )  
						
						... 
						
						
						
						Fixes  #20514 
Fixes  #20766 
Fixes  #20631 
This PR adds Cleanup Rules for the package registry. This allows to
delete unneeded packages automatically. Cleanup rules can be set up from
the user or org settings.
Please have a look at the documentation because I'm not a native english
speaker.
Rule Form

Rule List

Rule Preview

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
					
						2022-11-20 16:08:38 +02:00