Commit 6c9cf0c0 authored by James Lopez's avatar James Lopez

Merge branch 'ce-to-ee-2018-03-09' into 'master'

CE upstream - 2018-03-09 00:26 UTC

See merge request gitlab-org/gitlab-ee!4912
parents 63b4c19d f75abd73
...@@ -72,5 +72,5 @@ $(document).on('keyup.quick_submit', '.js-quick-submit input[type=submit], .js-q ...@@ -72,5 +72,5 @@ $(document).on('keyup.quick_submit', '.js-quick-submit input[type=submit], .js-q
title, title,
trigger: 'manual', trigger: 'manual',
}); });
$this.tooltip('show').one('blur', () => $this.tooltip('hide')); $this.tooltip('show').one('blur click', () => $this.tooltip('hide'));
}); });
...@@ -339,6 +339,17 @@ navigation level. A group-level issue board allows you to view all issues from a ...@@ -339,6 +339,17 @@ navigation level. A group-level issue board allows you to view all issues from a
boards. When updating milestones and labels for an issue through the sidebar update mechanism, again only boards. When updating milestones and labels for an issue through the sidebar update mechanism, again only
group-level objects are available. group-level objects are available.
## Features per tier
Different issue board features are available in different [GitLab tiers](https://about.gitlab.com/pricing/), as shown in the following table:
| Tier | Number of project issue boards | Board with configuration in project issue boards | Number of group issue boards | Board with configuration in group issue boards |
| --- | --- | --- | --- | --- |
| Libre | 1 | No | 1 | No |
| Starter | Multiple | Yes | 1 | No |
| Premium | Multiple | Yes | Multiple | Yes |
| Ultimate | Multiple | Yes | Multiple | Yes |
## Tips ## Tips
A few things to remember: A few things to remember:
......
...@@ -1193,15 +1193,9 @@ module Gitlab ...@@ -1193,15 +1193,9 @@ module Gitlab
end end
def fsck def fsck
gitaly_migrate(:git_fsck) do |is_enabled| msg, status = gitaly_repository_client.fsck
msg, status = if is_enabled
gitaly_fsck
else
shell_fsck
end
raise GitError.new("Could not fsck repository: #{msg}") unless status.zero? raise GitError.new("Could not fsck repository: #{msg}") unless status.zero?
end
end end
def create_from_bundle(bundle_path) def create_from_bundle(bundle_path)
...@@ -1600,14 +1594,6 @@ module Gitlab ...@@ -1600,14 +1594,6 @@ module Gitlab
File.write(File.join(worktree_info_path, 'sparse-checkout'), files) File.write(File.join(worktree_info_path, 'sparse-checkout'), files)
end end
def gitaly_fsck
gitaly_repository_client.fsck
end
def shell_fsck
run_git(%W[--git-dir=#{path} fsck], nice: true)
end
def rugged_fetch_source_branch(source_repository, source_branch, local_ref) def rugged_fetch_source_branch(source_repository, source_branch, local_ref)
with_repo_branch_commit(source_repository, source_branch) do |commit| with_repo_branch_commit(source_repository, source_branch) do |commit|
if commit if commit
......
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