summaryrefslogtreecommitdiff
path: root/spec/models/commit_collection_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-9/+20
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+13
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-031-0/+11
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-301-21/+24
|
* Backport splitting approval changes from CEIgor2019-04-021-7/+7
| | | | | | | Author and committers approvals are split in EE This commit provides backports for those changes This reverts commit 886f00bcba23d67e2c86591c2eb5359ef457a2f9.
* Add # frozen_string_literal to spec/modelsThong Kuah2019-04-011-0/+2
| | | | Adds `# frozen_string_literal: true` to spec/models ruby files
* Enrich commits with full data in CommitCollectionLuke Duncalfe2019-03-221-3/+83
| | | | | | | | | | | | | | | | | | | | Allow incomplete commit records to load their full data from gitaly. Commits can be based on a Hash of data retrieved from PostgreSQL, and this data can be intentionally incomplete in order to save space. A new method #gitaly? has been added to Gitlab::Git::Commit, which returns true if the underlying data source of the Commit is a Gitaly::GitCommit. CommitCollection now has a method #enrich which replaces non-gitaly commits in place with commits from gitaly. CommitCollection#without_merge_commits has been updated to call this method, as in order to determine a merge commit we need to have parent data. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58805
* Backport commit author changes from CEStan Hu2019-02-151-7/+7
| | | | | This backports the changes made in EE to fix merge request approvers from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9574.
* Allow custom squash commit messagesLuke Duncalfe2019-02-061-0/+11
|
* Add committers and authors methods on MergeRequestTiago Botelho2019-01-081-1/+24
| | | | These are used by the EE-only approvers feature
* Optimise getting the pipeline status of commitsci-pipeline-status-queryYorick Peterse2017-11-161-0/+59
This adds an optimised way of getting the latest pipeline status for a list of Commit objects (or just a single one).