gitlab-org--gitlab-foss/lib
Luke Duncalfe 38bf176c3c Enrich commits with full data in CommitCollection
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
2019-03-22 10:26:15 +13:00
..
api Apply suggestion to lib/api/search.rb 2019-03-15 21:03:49 +01:00
assets
backup Replaced config access 2019-03-18 17:26:18 +00:00
banzai Add SyntaxHighlightFilter to markup pipeline 2019-03-05 14:14:11 +00:00
bitbucket
bitbucket_server Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
constraints Fix git clone revealing private repo's presence 2019-02-19 13:59:24 +08:00
container_registry
declarative_policy Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
flowdock
generators/rails/post_deployment_migration
gitaly
gitlab Enrich commits with full data in CommitCollection 2019-03-22 10:26:15 +13:00
google_api Explicitly set master_auth for new GKE clusters 2019-03-13 16:28:04 +13:00
haml_lint
json_web_token
mattermost
microsoft_teams
object_storage
omni_auth/strategies
peek
quality
rouge
rspec_flaky
safe_zip
sentry Catch exception in calculate reactive cache 2019-02-21 11:19:51 +00:00
serializers
support
system_check Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
tasks Merge branch '58844-follow-up-from-don-t-create-ee-specific-files-when-creating-emojis-fixture-files' into 'master' 2019-03-19 14:37:08 +00:00
after_commit_queue.rb
backup.rb
banzai.rb
carrier_wave_string_file.rb
declarative_policy.rb
event_filter.rb Add hard coded event type filter 2019-03-07 12:13:34 +02:00
expand_variables.rb
extracts_path.rb
feature.rb Allow setting feature flags per GitLab group 2019-02-19 14:57:03 +08:00
file_size_validator.rb
forever.rb
gitlab.rb Creates a function to check if repo is EE 2019-03-04 08:20:37 +00:00
gt_one_coercion.rb
milestone_array.rb
mysql_zero_date.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb