9d3e413aa7 
								
							 
						 
						
							
							
								
								Bring back Rugged implementation of TreeEntry  
							
							... 
							
							
							
							This brings back some of the changes in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20099/diffs 
For users using Gitaly on top of NFS, accessing the Git data directly
via Rugged is more performant than Gitaly. This merge request introduces
the feature flag `rugged_tree_entry` to activate the Rugged method.
Part of four Rugged changes identified in
https://gitlab.com/gitlab-org/gitlab-ce/issues/57317 . 
							
						 
						
							2019-03-07 04:33:57 -08:00  
				
					
						
							
							
								 
						
							
								82b6e5378a 
								
							 
						 
						
							
							
								
								Send project name with Gitaly repository requests  
							
							... 
							
							
							
							When hashed storage is in use, it's helpful to have the project
name associated with the request.
Closes https://gitlab.com/gitlab-org/gitaly/issues/1394  
							
						 
						
							2019-02-05 21:33:09 -08:00  
				
					
						
							
							
								 
						
							
								5a3e6fdff9 
								
							 
						 
						
							
							
								
								Fixing image lfs bug and also displaying text lfs  
							
							... 
							
							
							
							This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812 ,
fixes a problem creating a displaying image diff notes when the image
is stored in LFS. The main problem was that `Gitlab::Diff::File` was
returning an invalid valid in `text?` for this kind of files.
It also fixes a rendering problem with other LFS files, like text
ones. They LFS pointer shouldn't be shown when LFS is enabled
for the project, but they were. 
							
						 
						
							2018-12-27 16:51:07 +01:00  
				
					
						
							
							
								 
						
							
								16346eb5b9 
								
							 
						 
						
							
							
								
								Revert "Merge branch 'revert-e2aa2177' into 'master'"  
							
							... 
							
							
							
							This reverts merge request !23229  
							
						 
						
							2018-11-20 12:29:56 +00:00  
				
					
						
							
							
								 
						
							
								2742b871fe 
								
							 
						 
						
							
							
								
								Revert "Merge branch 'zj-improve-gitaly-pb' into 'master'"  
							
							... 
							
							
							
							This reverts merge request !23140  
							
						 
						
							2018-11-20 10:36:52 +00:00  
				
					
						
							
							
								 
						
							
								4ca5eadddb 
								
							 
						 
						
							
							
								
								Remove duplicate tests for Gitaly  
							
							... 
							
							
							
							The disabling of Gitaly was basically stubbing `Feature.enabled?` call,
which was never triggered. 
							
						 
						
							2018-11-19 14:40:53 +01:00  
				
					
						
							
							
								 
						
							
								a99bf447a2 
								
							 
						 
						
							
							
								
								Remove Gitlab::Git::Repository#rugged and Gollum code  
							
							... 
							
							
							
							Cleanup code, and refactor tests that still use Rugged. After this, there should
be no Rugged code that access the instance's repositories on non-test
environments. There is still some rugged code for other tasks like the
repository import task, but since it doesn't access any repository storage path
it can stay. 
							
						 
						
							2018-10-02 16:34:28 -03:00  
				
					
						
							
							
								 
						
							
								01de2b5df8 
								
							 
						 
						
							
							
								
								Refactor gitlab:import:repos task to remove direct disk access  
							
							
							
						 
						
							2018-07-31 16:28:44 -04:00  
				
					
						
							
							
								 
						
							
								723f74d49d 
								
							 
						 
						
							
							
								
								Remove last flags from Blob and Workhorse  
							
							
							
						 
						
							2018-07-11 12:59:15 +02:00  
				
					
						
							
							
								 
						
							
								3082b7d1c2 
								
							 
						 
						
							
							
								
								Make blob and other RPC's mandatory  
							
							
							
						 
						
							2018-07-09 10:02:02 +00:00  
				
					
						
							
							
								 
						
							
								e91b2b5dff 
								
							 
						 
						
							
							
								
								Gitaly tree entry is mandatory  
							
							... 
							
							
							
							Closes https://gitlab.com/gitlab-org/gitaly/issues/310  
							
						 
						
							2018-06-25 13:48:28 +02:00  
				
					
						
							
							
								 
						
							
								f376347f24 
								
							 
						 
						
							
							
								
								Find and mark more Git disk access locations, part 2  
							
							
							
						 
						
							2018-06-12 14:33:37 +02:00  
				
					
						
							
							
								 
						
							
								0db994fedc 
								
							 
						 
						
							
							
								
								Fix encoding error in Gitaly::Commit::TreeEntry  
							
							
							
						 
						
							2018-05-30 17:33:17 +02:00  
				
					
						
							
							
								 
						
							
								5b584a0fd2 
								
							 
						 
						
							
							
								
								Backport some changes from gitlab-ee!5476  
							
							... 
							
							
							
							The lib/gitlab/git/repository.rb needs to have the same content between
gitlab-ce and gitlab-ee in order to have Gitaly working fine. 
							
						 
						
							2018-05-09 13:20:28 -05:00  
				
					
						
							
							
								 
						
							
								0a4ee10eda 
								
							 
						 
						
							
							
								
								Fix n+1 issue by not reloading fully loaded blobs  
							
							
							
						 
						
							2018-03-05 11:14:43 -03:00  
				
					
						
							
							
								 
						
							
								f42bf66eef 
								
							 
						 
						
							
							
								
								Add unit tests for Gitaly types  
							
							
							
						 
						
							2018-02-20 13:57:33 +01:00  
				
					
						
							
							
								 
						
							
								dabc703a29 
								
							 
						 
						
							
							
								
								Migrate Git::Blob.batch to Gitaly  
							
							... 
							
							
							
							Closes gitaly#985 
							
						 
						
							2018-02-08 00:26:45 +01:00  
				
					
						
							
							
								 
						
							
								07b0beb004 
								
							 
						 
						
							
							
								
								Fix .batch_lfs_pointers accepting a lazy enumerator  
							
							
							
						 
						
							2018-01-25 14:11:27 +01:00  
				
					
						
							
							
								 
						
							
								29fa930baf 
								
							 
						 
						
							
							
								
								Migrate .batch_lfs_pointers to Gitaly  
							
							... 
							
							
							
							Closes gitaly#921 
							
						 
						
							2018-01-24 19:02:51 +01:00  
				
					
						
							
							
								 
						
							
								b9c537487f 
								
							 
						 
						
							
							
								
								Fix Error 500 when repository has no avatar  
							
							... 
							
							
							
							Closes  #42249  
						
							2018-01-20 21:00:39 -08:00  
				
					
						
							
							
								 
						
							
								3013951c73 
								
							 
						 
						
							
							
								
								Merge branch 'remove-commit-tree' into 'master'  
							
							... 
							
							
							
							Remove the Commit#tree method
See merge request gitlab-org/gitlab-ce!16236  
							
						 
						
							2018-01-08 11:31:10 +00:00  
				
					
						
							
							
								 
						
							
								ac2cb65ab3 
								
							 
						 
						
							
							
								
								Remove the Commit#tree method  
							
							
							
						 
						
							2018-01-04 18:00:28 +01:00  
				
					
						
							
							
								 
						
							
								59e50e33b3 
								
							 
						 
						
							
							
								
								Reroute batch blobs to single blob RPC  
							
							... 
							
							
							
							Given the priorities shifted for the Gitaly team, this endpoint does not
get a dedicated endpoint yet. To make it work in a cloud native
environment the request needs to go to Gitaly, not rugged. This is
achieved by rerouting to the generic TreeEntry endpoint. 
							
						 
						
							2018-01-02 10:00:24 +01:00  
				
					
						
							
							
								 
						
							
								fb3f9c6e50 
								
							 
						 
						
							
							
								
								Detect changes to LFS pointers for pruning and integrity check  
							
							... 
							
							
							
							Gitlab::Git::Blob.batch_lfs_metadata can be used to check for LFS pointers. It uses a lazy enumorator and filters by blob size 
							
						 
						
							2017-11-01 16:41:05 +00:00  
				
					
						
							
							
								 
						
							
								0ce6785851 
								
							 
						 
						
							
							
								
								Replaces `tag: true` into `:tag` in the specs  
							
							... 
							
							
							
							Replaces all the explicit include metadata syntax in the specs (tag:
true) into the implicit one (:tag).
Added a cop to prevent future errors and handle autocorrection. 
							
						 
						
							2017-10-07 13:57:54 +02:00  
				
					
						
							
							
								 
						
							
								794b4c5579 
								
							 
						 
						
							
							
								
								Ensure that Blob.raw returns always returns a valid blob object  
							
							... 
							
							
							
							In gitlab-org/gitlab-ee!2976 , we saw that a given OID could point
to a commit, which would cause the delta size check to fail.
Gitaly already returns nil if the OID isn't a blob, so this change
makes the Rugged implementation consistent. 
							
						 
						
							2017-09-21 14:49:51 -04:00  
				
					
						
							
							
								 
						
							
								65f83941c3 
								
							 
						 
						
							
							
								
								Make gl_repository a G::G::Repository attribute  
							
							
							
						 
						
							2017-08-23 10:45:20 +02:00  
				
					
						
							
							
								 
						
							
								942bd5b411 
								
							 
						 
						
							
							
								
								Merge branch 'blob-batch-methods' into 'master'  
							
							... 
							
							
							
							Add Gitlab::Git::Blob.batch method
See merge request !13225  
							
						 
						
							2017-08-07 19:57:25 +00:00  
				
					
						
							
							
								 
						
							
								29a1c5a126 
								
							 
						 
						
							
							
								
								Rename 'limit' to 'blob_size_limit'  
							
							
							
						 
						
							2017-08-07 16:26:50 +02:00  
				
					
						
							
							
								 
						
							
								f3569a25e4 
								
							 
						 
						
							
							
								
								Fix bug in blob test  
							
							
							
						 
						
							2017-08-01 13:53:32 +02:00  
				
					
						
							
							
								 
						
							
								5e20e448ce 
								
							 
						 
						
							
							
								
								Add Gitlab::Git::Blob.batch method  
							
							
							
						 
						
							2017-08-01 13:49:57 +02:00  
				
					
						
							
							
								 
						
							
								06b9449224 
								
							 
						 
						
							
							
								
								Add gitaly_git_blob_raw feature  
							
							
							
						 
						
							2017-07-07 18:33:59 +02:00  
				
					
						
							
							
								 
						
							
								f85d0a0024 
								
							 
						 
						
							
							
								
								Merge branch 'feature/migrate-blob-find-to-gitaly' into 'master'  
							
							... 
							
							
							
							Migrate Gitlab::Git::Blob.find to Gitaly
See merge request !12104  
							
						 
						
							2017-06-22 01:00:30 +00:00  
				
					
						
							
							
								 
						
							
								0284f01716 
								
							 
						 
						
							
							
								
								Migrate Gitlab::Git::Blob.find to Gitaly  
							
							
							
						 
						
							2017-06-21 17:31:20 +02:00  
				
					
						
							
							
								 
						
							
								0430b76441 
								
							 
						 
						
							
							
								
								Enable Style/DotPosition Rubocop  👮  
							
							
							
						 
						
							2017-06-21 13:48:12 +00:00  
				
					
						
							
							
								 
						
							
								d6f49b85f1 
								
							 
						 
						
							
							
								
								Fix specs  
							
							
							
						 
						
							2017-04-17 18:31:23 -05:00  
				
					
						
							
							
								 
						
							
								267cd3e359 
								
							 
						 
						
							
							
								
								Incorporate Gitaly client for refs service  
							
							
							
						 
						
							2017-04-04 16:53:44 +02:00  
				
					
						
							
							
								 
						
							
								def164e761 
								
							 
						 
						
							
							
								
								Fix RSpec/DescribeSymbol cop violations  
							
							
							
						 
						
							2017-03-24 19:04:03 -04:00  
				
					
						
							
							
								 
						
							
								0625af3bcb 
								
							 
						 
						
							
							
								
								Consistently create, update, and delete files, taking CRLF settings into account  
							
							
							
						 
						
							2017-02-24 09:55:01 -06:00  
				
					
						
							
							
								 
						
							
								1fe7501b49 
								
							 
						 
						
							
							
								
								Revert "Prefer leading style for Style/DotPosition"  
							
							... 
							
							
							
							This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b. 
							
						 
						
							2017-02-23 09:33:05 -06:00  
				
					
						
							
							
								 
						
							
								206953a430 
								
							 
						 
						
							
							
								
								Prefer leading style for Style/DotPosition  
							
							
							
						 
						
							2017-02-23 09:32:22 -06:00  
				
					
						
							
							
								 
						
							
								7ea641b6d0 
								
							 
						 
						
							
							
								
								Enable Style/ColonMethodCall  
							
							
							
						 
						
							2017-02-23 09:31:57 -06:00  
				
					
						
							
							
								 
						
							
								a00578ce5c 
								
							 
						 
						
							
							
								
								Absorb gitlab_git  
							
							
							
						 
						
							2017-01-04 19:09:28 -05:00