Gusted 
								
							 
						 
						
							
							
								
							
							
	
	
	01191dc2ad 
 
						 
						
							
							
								
								
								[GITEA] Drop sha256-simd in favor of stdlib  
							
							... 
							
							
							
							
							- In Go 1.21 the crypto/sha256 [got a massive
improvement](https://go.dev/doc/go1.21#crypto/sha256 ) by utilizing the
SHA instructions for AMD64 CPUs, which sha256-simd already was doing.
The performance is now on par and I think it's preferable to use the
standard library rather than a package when possible.
```
cpu: AMD Ryzen 5 3600X 6-Core Processor
                │  simd.txt   │               go.txt                │
                │   sec/op    │    sec/op     vs base               │
Hash/8Bytes-12    63.25n ± 1%    73.38n ± 1%  +16.02% (p=0.002 n=6)
Hash/64Bytes-12   98.73n ± 1%   105.30n ± 1%   +6.65% (p=0.002 n=6)
Hash/1K-12        567.2n ± 1%    572.8n ± 1%   +0.99% (p=0.002 n=6)
Hash/8K-12        4.062µ ± 1%    4.062µ ± 1%        ~ (p=0.396 n=6)
Hash/1M-12        512.1µ ± 0%    510.6µ ± 1%        ~ (p=0.485 n=6)
Hash/5M-12        2.556m ± 1%    2.564m ± 0%        ~ (p=0.093 n=6)
Hash/10M-12       5.112m ± 0%    5.127m ± 0%        ~ (p=0.093 n=6)
geomean           13.82µ         14.27µ        +3.28%
                │   simd.txt   │               go.txt                │
                │     B/s      │     B/s       vs base               │
Hash/8Bytes-12    120.6Mi ± 1%   104.0Mi ± 1%  -13.81% (p=0.002 n=6)
Hash/64Bytes-12   618.2Mi ± 1%   579.8Mi ± 1%   -6.22% (p=0.002 n=6)
Hash/1K-12        1.682Gi ± 1%   1.665Gi ± 1%   -0.98% (p=0.002 n=6)
Hash/8K-12        1.878Gi ± 1%   1.878Gi ± 1%        ~ (p=0.310 n=6)
Hash/1M-12        1.907Gi ± 0%   1.913Gi ± 1%        ~ (p=0.485 n=6)
Hash/5M-12        1.911Gi ± 1%   1.904Gi ± 0%        ~ (p=0.093 n=6)
Hash/10M-12       1.910Gi ± 0%   1.905Gi ± 0%        ~ (p=0.093 n=6)
geomean           1.066Gi        1.032Gi        -3.18%
```
(cherry picked from commit abd94ff5b515e81637abhttps://codeberg.org/forgejo/forgejo/pulls/1581 
(cherry picked from commit 325d92917fhttps://codeberg.org/forgejo/forgejo/pulls/1617 
(cherry picked from commit 358819e895362fd7aae14f64ee294e4bde77f7b11311e30a8157b69e334c52dc892fad77f54f41870d0392f3a5https://codeberg.org/forgejo/forgejo/pulls/2034 
(cherry picked from commit 92798364e843d218127745c88b86a3a1cd6f4e3a 
							
						 
						
							2024-01-22 18:13:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nanguan Lin 
								
							 
						 
						
							
							
								
							
							
	
	
	5b6258a0b9 
 
						 
						
							
							
								
								
								Fix the wrong HTTP response status code for duplicate packages ( #27480 )  
							
							... 
							
							
							
							
							fix  #27470  
(hope there is nothing missing 😢  )
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me> 
						
							2023-10-10 15:39:58 +02: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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									CaiCandong 
								
							 
						 
						
							
							
								
							
							
	
	
	a78c2eae24 
 
						 
						
							
							
								
								
								Replace util.SliceXxx  with slices.Xxx  ( #26958 )  
							
							
							
							
						 
						
							2023-09-07 09:37:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									KN4CK3R 
								
							 
						 
						
							
							
								
							
							
	
	
	0eebeeec90 
 
						 
						
							
							
								
								
								Remove Named interface ( #26913 )  
							
							... 
							
							
							
							
							`Named` is implemented by every `Method` and future implementations
should implement the method too. 
							
						 
						
							2023-09-05 15:58:30 +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 
								
							 
						 
						
							
							
								
							
							
	
	
	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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									zeripath 
								
							 
						 
						
							
							
								
							
							
	
	
	1319ba6742 
 
						 
						
							
							
								
								
								Use minio/sha256-simd for accelerated SHA256 ( #23052 )  
							
							... 
							
							
							
							
							minio/sha256-simd provides additional acceleration for SHA256 using
AVX512, SHA Extensions for x86 and ARM64 for ARM.
It provides a drop-in replacement for crypto/sha256 and if the
extensions are not available it falls back to standard crypto/sha256.
---------
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: John Olheiser <john.olheiser@gmail.com> 
							
						 
						
							2023-02-22 14:21:46 -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