c6edae3887 
								
							 
						 
						
							
							
								
								Load commit in batches for pipelines#index  
							
							... 
							
							
							
							Uses `list_commits_by_oid` on the CommitService, to request the needed
commits for pipelines. These commits are needed to display the user that
created the commit and the commit title.
This includes fixes for tests failing that depended on the commit
being `nil`. However, now these are batch loaded, this doesn't happen
anymore and the commits are an instance of BatchLoader. 
							
						 
						
							2017-12-19 10:05:40 +01:00  
				
					
						
							
							
								 
						
							
								cb6f51ec9b 
								
							 
						 
						
							
							
								
								add support for the commit reference filter  
							
							
							
						 
						
							2017-12-07 09:01:37 -05:00  
				
					
						
							
							
								 
						
							
								49dd62ada1 
								
							 
						 
						
							
							
								
								Migrate Gitlab::Git::Commit.shas_with_signatures  
							
							... 
							
							
							
							- Added tests for Git::Commit.shas_with_signatures 
							
						 
						
							2017-12-05 14:43:46 +01:00  
				
					
						
							
							
								 
						
							
								8be9567c64 
								
							 
						 
						
							
							
								
								Migrate Gitlab::Git::Repository#cherry_pick to Gitaly  
							
							... 
							
							
							
							Closes gitaly#737 
							
						 
						
							2017-12-04 19:21:07 +01:00  
				
					
						
							
							
								 
						
							
								37cc50f843 
								
							 
						 
						
							
							
								
								Incorporate Gitaly's OperationService.UserFFBranch RPC  
							
							
							
						 
						
							2017-10-31 16:28:09 -03:00  
				
					
						
							
							
								 
						
							
								3411fef1df 
								
							 
						 
						
							
							
								
								Cache commits on the repository model  
							
							... 
							
							
							
							Now, when requesting a commit from the Repository model, the results are
not cached. This means we're fetching the same commit by oid multiple times
during the same request. To prevent us from doing this, we now cache
results. Caching is done only based on object id (aka SHA).
Given we cache on the Repository model, results are scoped to the
associated project, eventhough the change of two repositories having the
same oids for different commits is small. 
							
						 
						
							2017-10-27 12:49:11 +02:00  
				
					
						
							
							
								 
						
							
								75509fac17 
								
							 
						 
						
							
							
								
								Prepare cherry-pick and revert for migration to Gitaly  
							
							
							
						 
						
							2017-09-19 17:09:10 +00:00  
				
					
						
							
							
								 
						
							
								25c34608b9 
								
							 
						 
						
							
							
								
								Migrate Git::CommitStats to Gitaly  
							
							
							
						 
						
							2017-09-11 21:00:58 +02:00  
				
					
						
							
							
								 
						
							
								258d5a50e6 
								
							 
						 
						
							
							
								
								Incorporate DiffService.CommitPatch Gitaly RPC  
							
							
							
						 
						
							2017-08-22 16:31:59 -03:00  
				
					
						
							
							
								 
						
							
								ba7251fefd 
								
							 
						 
						
							
							
								
								Only create commit GPG signature when necessary  
							
							
							
						 
						
							2017-08-16 18:57:50 +02:00  
				
					
						
							
							
								 
						
							
								9770c57fab 
								
							 
						 
						
							
							
								
								Re-enable SqlInjection and CommandInjection  
							
							
							
						 
						
							2017-08-08 10:50:54 -04:00  
				
					
						
							
							
								 
						
							
								3ce6f03f14 
								
							 
						 
						
							
							
								
								Incorporate Gitaly's CommitService.FindCommit RPC  
							
							
							
						 
						
							2017-08-07 23:33:43 -04:00  
				
					
						
							
							
								 
						
							
								e363fbf71a 
								
							 
						 
						
							
							
								
								Move `deltas` and `diff_from_parents` logic to Gitlab::Git::Commit  
							
							... 
							
							
							
							This helps keep the abstraction layers simpler, and also keep the
interface of those methods consistent, in case of implementation
changes. 
							
						 
						
							2017-08-07 23:33:40 -04:00  
				
					
						
							
							
								 
						
							
								c21ae07e33 
								
							 
						 
						
							
							
								
								Refactor Gitlab::Git::Commit to include a repository  
							
							
							
						 
						
							2017-08-07 22:34:34 -04:00  
				
					
						
							
							
								 
						
							
								29a07fd3a1 
								
							 
						 
						
							
							
								
								Rename 'commits_between' to 'rugged_commits_between'  
							
							
							
						 
						
							2017-08-03 15:48:10 +02:00  
				
					
						
							
							
								 
						
							
								a01eabc19f 
								
							 
						 
						
							
							
								
								update rugged  
							
							... 
							
							
							
							the rugged versions up to 0.26.0b3 had a bug concerning the signature
extraction. The extracted signature was not always the same, probably
due to a buffer (overflow) issue in libgit.
see https://github.com/libgit2/rugged/issues/608  
							
						 
						
							2017-07-27 15:43:36 +02:00  
				
					
						
							
							
								 
						
							
								28bb5e3d53 
								
							 
						 
						
							
							
								
								commit signature with spec  
							
							
							
						 
						
							2017-07-27 15:40:40 +02:00  
				
					
						
							
							
								 
						
							
								817d9558fe 
								
							 
						 
						
							
							
								
								Prototype key verification  
							
							
							
						 
						
							2017-07-27 15:40:40 +02:00  
				
					
						
							
							
								 
						
							
								b043100b65 
								
							 
						 
						
							
							
								
								Migrate Gitlab::Git::Commit.find_all to Gitaly  
							
							... 
							
							
							
							Closes gitaly#396 
							
						 
						
							2017-07-20 22:03:55 +02:00  
				
					
						
							
							
								 
						
							
								25b01b4c85 
								
							 
						 
						
							
							
								
								Incorporate Gitaly's Commits#between RPC  
							
							
							
						 
						
							2017-07-18 16:20:27 -04:00  
				
					
						
							
							
								 
						
							
								90f8feae46 
								
							 
						 
						
							
							
								
								Adapt to new Gitaly commit message format  
							
							
							
						 
						
							2017-07-18 16:11:44 -04:00  
				
					
						
							
							
								 
						
							
								b2ecf0aa35 
								
							 
						 
						
							
							
								
								Change Git::Repository#log to return Commits  
							
							
							
						 
						
							2017-07-13 14:54:21 +02:00  
				
					
						
							
							
								 
						
							
								47c844bf34 
								
							 
						 
						
							
							
								
								Add Gitaly notes and annotations to Gitlab::Git  
							
							
							
						 
						
							2017-07-12 17:06:31 +02:00  
				
					
						
							
							
								 
						
							
								43c3a65062 
								
							 
						 
						
							
							
								
								Remove 'contains' option from Commit.find_all  
							
							
							
						 
						
							2017-06-27 12:38:58 +02:00  
				
					
						
							
							
								 
						
							
								144e37c667 
								
							 
						 
						
							
							
								
								Remove Gitlab::Git::Repository#find_all  
							
							
							
						 
						
							2017-06-27 12:30:51 +02:00  
				
					
						
							
							
								 
						
							
								2bad43f5ee 
								
							 
						 
						
							
							
								
								Remove unused Gitlab::Git::Commit#to_diff argument  
							
							
							
						 
						
							2017-06-26 18:50:26 +02:00  
				
					
						
							
							
								 
						
							
								d66d126382 
								
							 
						 
						
							
							
								
								Remove unused attr_accessor from Gitlab::Git::Commit  
							
							
							
						 
						
							2017-06-20 17:20:02 +02:00  
				
					
						
							
							
								 
						
							
								e564fe971f 
								
							 
						 
						
							
							
								
								Rename `Gitlab::Git::EncodingHelper` to `Gitlab::EncodingHelper`  
							
							
							
						 
						
							2017-06-01 21:21:14 +00:00  
				
					
						
							
							
								 
						
							
								925945f01b 
								
							 
						 
						
							
							
								
								Incorporate Gitaly's local_branches operation into repo code  
							
							
							
						 
						
							2017-05-17 18:12:10 -04:00  
				
					
						
							
							
								 
						
							
								71569a9c41 
								
							 
						 
						
							
							
								
								Compare ids of commits if present for equality test  
							
							... 
							
							
							
							This solves a problem where commits populated with Gitaly were not equal
to commits populated with Rugged. This is because Gitaly may not return
all fields of a commit for optimizations purposes, which resulted in
false negatives when comparing the same commit (commits with the same
sha) with different sources. 
							
						 
						
							2017-05-16 20:54:45 -04:00  
				
					
						
							
							
								 
						
							
								48254d187f 
								
							 
						 
						
							
							
								
								Don't use DiffCollection for deltas  
							
							
							
						 
						
							2017-05-09 12:27:17 +02:00  
				
					
						
							
							
								 
						
							
								b3ff48c9a1 
								
							 
						 
						
							
							
								
								Move up delegate calls  
							
							
							
						 
						
							2017-02-23 09:32:42 -06:00  
				
					
						
							
							
								 
						
							
								75f5fa997d 
								
							 
						 
						
							
							
								
								Enable Rails/Delegate  
							
							
							
						 
						
							2017-02-23 09:32:42 -06:00  
				
					
						
							
							
								 
						
							
								2e20a71d21 
								
							 
						 
						
							
							
								
								Ensure internal Gitlab::Git references use the namespace  
							
							
							
						 
						
							2017-01-04 19:09:29 -05:00  
				
					
						
							
							
								 
						
							
								a00578ce5c 
								
							 
						 
						
							
							
								
								Absorb gitlab_git  
							
							
							
						 
						
							2017-01-04 19:09:28 -05:00  
				
					
						
							
							
								 
						
							
								4f2d2c90f7 
								
							 
						 
						
							
							
								
								Move Gitlab::Git out of gitlab core  
							
							
							
						 
						
							2013-04-27 23:50:17 +03:00  
				
					
						
							
							
								 
						
							
								14798b8e68 
								
							 
						 
						
							
							
								
								symbolize keys for Gitlab::Git::Diff & Gitlab::Git::Commit  
							
							
							
						 
						
							2013-04-16 16:29:49 +03:00  
				
					
						
							
							
								 
						
							
								d74d7c7cfb 
								
							 
						 
						
							
							
								
								Update app code to use Gitlab::Git::Diff  
							
							
							
						 
						
							2013-04-15 19:02:05 +03:00  
				
					
						
							
							
								 
						
							
								3011ac4150 
								
							 
						 
						
							
							
								
								Refactoring and cleanup. Removed unused commit finders  
							
							
							
						 
						
							2013-04-03 21:05:10 +03:00  
				
					
						
							
							
								 
						
							
								88abe66c27 
								
							 
						 
						
							
							
								
								add alias for committed_date  
							
							
							
						 
						
							2013-04-02 22:39:37 +03:00  
				
					
						
							
							
								 
						
							
								0c5795a497 
								
							 
						 
						
							
							
								
								serialize parent_ids in commit  
							
							
							
						 
						
							2013-04-02 21:46:19 +03:00  
				
					
						
							
							
								 
						
							
								5f4445c3d3 
								
							 
						 
						
							
							
								
								store commits for MR as array of hashes  
							
							
							
						 
						
							2013-04-02 21:30:36 +03:00  
				
					
						
							
							
								 
						
							
								9a26e9a0d6 
								
							 
						 
						
							
							
								
								Dont init repo on every create(:repo)  
							
							
							
						 
						
							2013-04-01 17:27:44 +03:00  
				
					
						
							
							
								 
						
							
								49b024f5f5 
								
							 
						 
						
							
							
								
								Use Gitlab::Git:: for git features across application  
							
							
							
						 
						
							2013-04-01 16:04:35 +03:00  
				
					
						
							
							
								 
						
							
								26323046fd 
								
							 
						 
						
							
							
								
								Decorate Gitlab::Git::Commit with Commit  
							
							
							
						 
						
							2013-03-31 19:00:45 +03:00  
				
					
						
							
							
								 
						
							
								676bce2ab9 
								
							 
						 
						
							
							
								
								Move Commit and Repository logic to lib/gitlab/git  
							
							
							
						 
						
							2013-03-31 18:49:06 +03:00