Commit 616a68b2 authored by Nick Thomas's avatar Nick Thomas

Fix merge conflicts

parent f6e6ff4b
...@@ -15,15 +15,10 @@ variables: ...@@ -15,15 +15,10 @@ variables:
GIT_DEPTH: "20" GIT_DEPTH: "20"
PHANTOMJS_VERSION: "2.1.1" PHANTOMJS_VERSION: "2.1.1"
GET_SOURCES_ATTEMPTS: "3" GET_SOURCES_ATTEMPTS: "3"
<<<<<<< HEAD
KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-${CI_COMMIT_REF_SLUG}.json
KNAPSACK_SPINACH_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/spinach_report-${CI_COMMIT_REF_SLUG}.json
# This hack is needed to make ES not that memory hungry
ES_JAVA_OPTS: "-Xms600m -Xmx600m"
=======
KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-master.json KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-master.json
KNAPSACK_SPINACH_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/spinach_report-master.json KNAPSACK_SPINACH_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/spinach_report-master.json
>>>>>>> ce/master # This hack is needed to make ES not that memory hungry
ES_JAVA_OPTS: "-Xms600m -Xmx600m"
before_script: before_script:
- source ./scripts/prepare_build.sh - source ./scripts/prepare_build.sh
......
<<<<<<< HEAD 9.1.0-ee-pre
8.18.0-ee-pre
=======
9.1.0-pre
>>>>>>> ce/master
...@@ -34,11 +34,8 @@ ...@@ -34,11 +34,8 @@
/* global Labels */ /* global Labels */
/* global Shortcuts */ /* global Shortcuts */
/* global Sidebar */ /* global Sidebar */
<<<<<<< HEAD
/* global WeightSelect */ /* global WeightSelect */
/* global AdminEmailSelect */ /* global AdminEmailSelect */
=======
>>>>>>> ce/master
import Issue from './issue'; import Issue from './issue';
......
...@@ -330,7 +330,6 @@ ...@@ -330,7 +330,6 @@
} }
} }
<<<<<<< HEAD
.boards-title-holder { .boards-title-holder {
padding: 25px 13px $gl-padding; padding: 25px 13px $gl-padding;
...@@ -351,10 +350,7 @@ ...@@ -351,10 +350,7 @@
border-top: 1px solid $border-color; border-top: 1px solid $border-color;
} }
.issue-boards-sidebar {
=======
.page-with-layout-nav.page-with-sub-nav .issue-boards-sidebar { .page-with-layout-nav.page-with-sub-nav .issue-boards-sidebar {
>>>>>>> ce/master
&.right-sidebar { &.right-sidebar {
top: 0; top: 0;
bottom: 0; bottom: 0;
......
...@@ -742,7 +742,6 @@ pre.light-well { ...@@ -742,7 +742,6 @@ pre.light-well {
} }
} }
<<<<<<< HEAD
a.allowed-to-merge, a.allowed-to-merge,
a.allowed-to-push { a.allowed-to-push {
cursor: pointer; cursor: pointer;
...@@ -756,8 +755,6 @@ a.allowed-to-push { ...@@ -756,8 +755,6 @@ a.allowed-to-push {
} }
} }
=======
>>>>>>> ce/master
.create-new-protected-branch-button { .create-new-protected-branch-button {
@include dropdown-link; @include dropdown-link;
......
class SystemNoteMetadata < ActiveRecord::Base class SystemNoteMetadata < ActiveRecord::Base
ICON_TYPES = %w[ ICON_TYPES = %w[
commit merge confidentiality status label assignee cross_reference commit merge confidentiality status label assignee cross_reference
<<<<<<< HEAD
title time_tracking branch milestone discussion task moved approvals title time_tracking branch milestone discussion task moved approvals
=======
title time_tracking branch milestone discussion task moved
>>>>>>> ce/master
].freeze ].freeze
validates :note, presence: true validates :note, presence: true
......
...@@ -467,7 +467,6 @@ module SystemNoteService ...@@ -467,7 +467,6 @@ module SystemNoteService
body = "moved #{direction} #{cross_reference}" body = "moved #{direction} #{cross_reference}"
create_note(NoteSummary.new(noteable, project, author, body, action: 'moved')) create_note(NoteSummary.new(noteable, project, author, body, action: 'moved'))
<<<<<<< HEAD
end end
# Called when the merge request is approved by user # Called when the merge request is approved by user
...@@ -490,8 +489,6 @@ module SystemNoteService ...@@ -490,8 +489,6 @@ module SystemNoteService
body = "unapproved this merge request" body = "unapproved this merge request"
create_note(NoteSummary.new(noteable, noteable.project, user, body, action: 'approvals')) create_note(NoteSummary.new(noteable, noteable.project, user, body, action: 'approvals'))
=======
>>>>>>> ce/master
end end
private private
......
...@@ -45,11 +45,10 @@ ...@@ -45,11 +45,10 @@
= link_to icon('question-circle'), help_page_path('user/project/merge_requests/squash_and_merge'), title: 'About this feature', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} = link_to icon('question-circle'), help_page_path('user/project/merge_requests/squash_and_merge'), title: 'About this feature', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'}
.accept-control .accept-control
<<<<<<< HEAD
- if @project.merge_requests_ff_only_enabled - if @project.merge_requests_ff_only_enabled
Fast-forward merge without a merge commit Fast-forward merge without a merge commit
- else - else
= link_to "#", class: "modify-merge-commit-link js-toggle-button" do %button.modify-merge-commit-link.js-toggle-button{ type: "button" }
= icon('edit') = icon('edit')
Modify commit message Modify commit message
- unless @project.merge_requests_ff_only_enabled - unless @project.merge_requests_ff_only_enabled
...@@ -59,16 +58,5 @@ ...@@ -59,16 +58,5 @@
message_without_description: @merge_request.merge_commit_message, message_without_description: @merge_request.merge_commit_message,
text: @merge_request.merge_commit_message, text: @merge_request.merge_commit_message,
rows: 14, hint: true rows: 14, hint: true
=======
%button.modify-merge-commit-link.js-toggle-button{ type: "button" }
= icon('edit')
Modify commit message
.js-toggle-content.hide.prepend-top-default
= render 'shared/commit_message_container', params: params,
message_with_description: @merge_request.merge_commit_message(include_description: true),
message_without_description: @merge_request.merge_commit_message,
text: @merge_request.merge_commit_message,
rows: 14, hint: true
>>>>>>> ce/master
= hidden_field_tag :merge_when_pipeline_succeeds, "", autocomplete: "off" = hidden_field_tag :merge_when_pipeline_succeeds, "", autocomplete: "off"
...@@ -72,17 +72,14 @@ ...@@ -72,17 +72,14 @@
Milestones Milestones
%span.badge %span.badge
= @search_results.milestones_count = @search_results.milestones_count
<<<<<<< HEAD
- if current_application_settings.elasticsearch_search? - if current_application_settings.elasticsearch_search?
%li{ class: ("active" if @scope == 'blobs') } %li{ class: active_when(@scope == 'blobs') }
= link_to search_filter_path(scope: 'blobs') do = link_to search_filter_path(scope: 'blobs') do
Code Code
%span.badge %span.badge
= @search_results.blobs_count = @search_results.blobs_count
%li{ class: ("active" if @scope == 'commits') } %li{ class: active_when(@scope == 'commits') }
= link_to search_filter_path(scope: 'commits') do = link_to search_filter_path(scope: 'commits') do
Commits Commits
%span.badge %span.badge
= @search_results.commits_count = @search_results.commits_count
=======
>>>>>>> ce/master
...@@ -85,7 +85,6 @@ ...@@ -85,7 +85,6 @@
Closed: Closed:
= milestone.issues_visible_to_user(current_user).closed.count = milestone.issues_visible_to_user(current_user).closed.count
<<<<<<< HEAD
- total_weight = milestone.issues_visible_to_user(current_user).sum(:weight) - total_weight = milestone.issues_visible_to_user(current_user).sum(:weight)
.block.weight .block.weight
.sidebar-collapsed-icon .sidebar-collapsed-icon
...@@ -103,8 +102,6 @@ ...@@ -103,8 +102,6 @@
- else - else
.no-value None .no-value None
=======
>>>>>>> ce/master
.block .block
.sidebar-collapsed-icon .sidebar-collapsed-icon
%strong %strong
......
--- ---
title: Add metadata to system notes title: Add metadata to system notes
<<<<<<< HEAD
merge_request: 1526
=======
merge_request: 9964 merge_request: 9964
>>>>>>> ce/master
author: author:
...@@ -10,10 +10,6 @@ ...@@ -10,10 +10,6 @@
# end # end
# #
ActiveSupport::Inflector.inflections do |inflect| ActiveSupport::Inflector.inflections do |inflect|
<<<<<<< HEAD
inflect.uncountable %w(award_emoji project_statistics project_registry file_registry system_note_metadata) inflect.uncountable %w(award_emoji project_statistics project_registry file_registry system_note_metadata)
inflect.acronym 'EE' inflect.acronym 'EE'
=======
inflect.uncountable %w(award_emoji project_statistics system_note_metadata)
>>>>>>> ce/master
end end
...@@ -108,12 +108,9 @@ var config = { ...@@ -108,12 +108,9 @@ var config = {
'environments_folder', 'environments_folder',
'issuable', 'issuable',
'merge_conflicts', 'merge_conflicts',
<<<<<<< HEAD
'mr_widget_ee',
=======
'notebook_viewer', 'notebook_viewer',
>>>>>>> ce/master
'vue_pipelines', 'vue_pipelines',
'mr_widget_ee',
], ],
minChunks: function(module, count) { minChunks: function(module, count) {
return module.resource && (/vue_shared/).test(module.resource); return module.resource && (/vue_shared/).test(module.resource);
......
<<<<<<< HEAD # GitLab Enterprise Edition
# GitLab Enterprise Edition documentation
=======
# GitLab Community Edition
>>>>>>> ce/master
All technical content published by GitLab lives in the documentation, including: All technical content published by GitLab lives in the documentation, including:
......
...@@ -233,7 +233,6 @@ module API ...@@ -233,7 +233,6 @@ module API
.cancel(merge_request) .cancel(merge_request)
end end
<<<<<<< HEAD
desc 'List issues that will be closed on merge' do desc 'List issues that will be closed on merge' do
success Entities::MRNote success Entities::MRNote
end end
...@@ -291,20 +290,6 @@ module API ...@@ -291,20 +290,6 @@ module API
present merge_request, with: Entities::MergeRequestApprovals, current_user: current_user present merge_request, with: Entities::MergeRequestApprovals, current_user: current_user
end end
=======
>>>>>>> ce/master
desc 'List issues that will be closed on merge' do
success Entities::MRNote
end
params do
use :pagination
end
get ':id/merge_requests/:merge_request_iid/closes_issues' do
merge_request = find_merge_request_with_access(params[:merge_request_iid])
issues = ::Kaminari.paginate_array(merge_request.closes_issues(current_user))
present paginate(issues), with: issue_entity(user_project), current_user: current_user
end
end end
end end
end end
...@@ -188,7 +188,6 @@ describe Namespace, models: true do ...@@ -188,7 +188,6 @@ describe Namespace, models: true do
end end
end end
<<<<<<< HEAD
describe '#actual_size_limit' do describe '#actual_size_limit' do
let(:namespace) { build(:namespace) } let(:namespace) { build(:namespace) }
...@@ -201,10 +200,6 @@ describe Namespace, models: true do ...@@ -201,10 +200,6 @@ describe Namespace, models: true do
end end
end end
describe '#rm_dir', 'callback' do
let!(:project) { create(:empty_project, namespace: namespace) }
let!(:path) { File.join(Gitlab.config.repositories.storages.default['path'], namespace.full_path) }
=======
describe '#rm_dir', 'callback', repository: true do describe '#rm_dir', 'callback', repository: true do
let!(:project) { create(:project_empty_repo, namespace: namespace) } let!(:project) { create(:project_empty_repo, namespace: namespace) }
let(:repository_storage_path) { Gitlab.config.repositories.storages.default['path'] } let(:repository_storage_path) { Gitlab.config.repositories.storages.default['path'] }
...@@ -214,7 +209,6 @@ describe Namespace, models: true do ...@@ -214,7 +209,6 @@ describe Namespace, models: true do
it 'renames its dirs when deleted' do it 'renames its dirs when deleted' do
allow(GitlabShellWorker).to receive(:perform_in) allow(GitlabShellWorker).to receive(:perform_in)
>>>>>>> ce/master
namespace.destroy namespace.destroy
......
...@@ -331,10 +331,7 @@ describe SystemNoteService, services: true do ...@@ -331,10 +331,7 @@ describe SystemNoteService, services: true do
subject { described_class.change_branch_presence(noteable, project, author, :source, 'feature', :delete) } subject { described_class.change_branch_presence(noteable, project, author, :source, 'feature', :delete) }
let(:project) { create(:project, :repository) } let(:project) { create(:project, :repository) }
<<<<<<< HEAD
=======
>>>>>>> ce/master
it_behaves_like 'a system note' do it_behaves_like 'a system note' do
let(:action) { 'branch' } let(:action) { 'branch' }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment