Skip to content
Snippets Groups Projects
Commit 8d3aee36 authored by GitLab Bot's avatar GitLab Bot
Browse files

Add latest changes from gitlab-org/gitlab@master

parent 98420be3
No related branches found
No related tags found
No related merge requests found
Showing
with 79 additions and 22 deletions
Loading
Loading
@@ -84,3 +84,4 @@ jsdoc/
.overcommit.yml
.projections.json
/qa/.rakeTasks
webpack-dev-server.json
Loading
Loading
@@ -245,5 +245,9 @@ webpack-dev-server:
variables:
WEBPACK_MEMORY_TEST: "true"
script:
- node --version
- node --expose-gc node_modules/.bin/webpack-dev-server --config config/webpack.config.js
artifacts:
name: webpack-dev-server
expire_in: 31d
paths:
- webpack-dev-server.json
Loading
Loading
@@ -5,7 +5,7 @@ module DiffPositionableNote
included do
delegate :on_text?, :on_image?, to: :position, allow_nil: true
before_validation :set_original_position, on: :create
before_validation :update_position, on: :create, if: :on_text?
before_validation :update_position, on: :create, if: :on_text?, unless: :importing?
 
serialize :original_position, Gitlab::Diff::Position # rubocop:disable Cop/ActiveRecordSerialize
serialize :position, Gitlab::Diff::Position # rubocop:disable Cop/ActiveRecordSerialize
Loading
Loading
Loading
Loading
@@ -21,8 +21,8 @@ class DiffNote < Note
validate :positions_complete
validate :verify_supported
 
before_validation :set_line_code, if: :on_text?
after_save :keep_around_commits
before_validation :set_line_code, if: :on_text?, unless: :importing?
after_save :keep_around_commits, unless: :importing?
after_commit :create_diff_file, on: :create
 
def discussion_class(*)
Loading
Loading
Loading
Loading
@@ -242,7 +242,7 @@ class MergeRequest < ApplicationRecord
 
ignore_column :state, remove_with: '12.7', remove_after: '2019-12-22'
 
after_save :keep_around_commit
after_save :keep_around_commit, unless: :importing?
 
alias_attribute :project, :target_project
alias_attribute :project_id, :target_project_id
Loading
Loading
Loading
Loading
@@ -164,7 +164,7 @@ class MergeRequestDiff < ApplicationRecord
# hooks that run when an attribute was changed are run twice.
reset
 
keep_around_commits
keep_around_commits unless importing?
end
 
def set_as_latest_diff
Loading
Loading
Loading
Loading
@@ -155,9 +155,9 @@ class Note < ApplicationRecord
after_initialize :ensure_discussion_id
before_validation :nullify_blank_type, :nullify_blank_line_code
before_validation :set_discussion_id, on: :create
after_save :keep_around_commit, if: :for_project_noteable?
after_save :expire_etag_cache
after_save :touch_noteable
after_save :keep_around_commit, if: :for_project_noteable?, unless: :importing?
after_save :expire_etag_cache, unless: :importing?
after_save :touch_noteable, unless: :importing?
after_destroy :expire_etag_cache
 
class << self
Loading
Loading
Loading
Loading
@@ -2,12 +2,12 @@
.user-callout{ data: { uid: 'dev_ops_score_intro_callout_dismissed' } }
.bordered-box.landing.content-block
%button.btn.btn-default.close.js-close-callout{ type: 'button',
'aria-label' => _('Dismiss ConvDev introduction') }
'aria-label' => _('Dismiss DevOps Score introduction') }
= icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
.user-callout-copy
%h4
= _('Introducing Your Conversational Development Index')
= _('Introducing Your DevOps Score')
%p
= _('Your Conversational Development Index gives an overview of how you are using GitLab from a feature perspective. View how you compare with other organizations, discover features you are not using, and learn best practices through blog posts and white papers.')
.svg-container.convdev
= _('Your DevOps Score gives an overview of how you are using GitLab from a feature perspective. View how you compare with other organizations, discover features you are not using, and learn best practices through blog posts and white papers.')
.svg-container.devops
= custom_icon('dev_ops_score_overview')
- page_title _('ConvDev Index')
- page_title _('DevOps Score')
- usage_ping_enabled = Gitlab::CurrentSettings.usage_ping_enabled
 
.container
Loading
Loading
Loading
Loading
@@ -11,12 +11,12 @@
.nav-icon-container
= sprite_icon('comment')
%span.nav-item-name
= _('ConvDev Index')
= _('DevOps Score')
%ul.sidebar-sub-level-items.is-fly-out-only
= nav_link(controller: :dev_ops_score, html_options: { class: "fly-out-top-item" } ) do
= link_to instance_statistics_dev_ops_score_index_path do
%strong.fly-out-top-item-name
= _('ConvDev Index')
= _('DevOps Score')
 
- if Gitlab::CurrentSettings.usage_ping_enabled
= nav_link(controller: :cohorts) do
Loading
Loading
---
title: Add services for 'soft-delete for groups' feature
merge_request: 19358
author:
type: added
---
title: removes references of BoardService
merge_request: 20879
author: nuwe1
type: other
const path = require('path');
const glob = require('glob');
const fs = require('fs');
const webpack = require('webpack');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
const StatsWriterPlugin = require('webpack-stats-plugin').StatsWriterPlugin;
Loading
Loading
@@ -23,6 +24,7 @@ const NO_SOURCEMAPS = process.env.NO_SOURCEMAPS;
 
const VUE_VERSION = require('vue/package.json').version;
const VUE_LOADER_VERSION = require('vue-loader/package.json').version;
const WEBPACK_VERSION = require('webpack/package.json').version;
 
const devtool = IS_PRODUCTION ? 'source-map' : 'cheap-module-eval-source-map';
 
Loading
Loading
@@ -359,6 +361,21 @@ module.exports = {
 
console.log(`Webpack heap size: ${toMB(memoryUsage)} MB`);
 
const webpackStatistics = {
memoryUsage,
date: Date.now(), // milliseconds
commitSHA: process.env.CI_COMMIT_SHA,
nodeVersion: process.versions.node,
webpackVersion: WEBPACK_VERSION,
};
console.log(webpackStatistics);
fs.writeFileSync(
path.join(ROOT_PATH, 'webpack-dev-server.json'),
JSON.stringify(webpackStatistics),
);
// exit in case we're running webpack-dev-server
IS_DEV_SERVER && process.exit();
});
Loading
Loading
Loading
Loading
@@ -158,7 +158,10 @@ If you select `Limit namespaces and projects that can be indexed`, more options
You can select namespaces and projects to index exclusively. Please note that if the namespace is a group it will include
any sub-groups and projects belonging to those sub-groups to be indexed as well.
 
Elasticsearch only provides cross-group code/commit search (global) if all name-spaces are indexed. In this particular scenario where only a subset of namespaces are indexed, a global search will not provide a code or commit scope. This will be possible only in the scope of an indexed namespace. Currently there is no way to code/commit search in multiple indexed namespaces (when only a subset of namespaces has been indexed). For example if two groups are indexed, there is no way to run a single code search on both. You can only run a code search on the first group and then on the second.
You can filter the selection dropdown by writing part of the namespace or project name you're interested in.
![limit namespace filter](img/limit_namespace_filter.png)
 
NOTE: **Note**:
Loading
Loading
@@ -502,6 +505,9 @@ Here are some common pitfalls and how to overcome them:
 
If you see `Elasticsearch::Model::Response::Records`, you are using Elasticsearch.
 
NOTE: **Note**:
The above instructions are used to verify that GitLab is using Elasticsearch only when indexing all namespaces. This is not to be used for scenarios that only index a [subset of namespaces](https://docs.gitlab.com/ee/integration/elasticsearch.html#limiting-namespaces-and-projects).
- **I updated GitLab and now I can't find anything**
 
We continuously make updates to our indexing strategies and aim to support
Loading
Loading
@@ -522,6 +528,9 @@ Here are some common pitfalls and how to overcome them:
pp s.search_objects.to_a
```
 
NOTE: **Note**:
The above instructions are not to be used for scenarios that only index a [subset of namespaces](https://docs.gitlab.com/ee/integration/elasticsearch.html#limiting-namespaces-and-projects).
See [Elasticsearch Index Scopes](#elasticsearch-index-scopes) for more information on searching for specific types of data.
 
- **I indexed all the repositories but then switched Elasticsearch servers and now I can't find anything**
Loading
Loading
---
redirect_to: '../../instance_statistics/convdev.md'
redirect_to: '../../instance_statistics/dev_ops_score.md'
---
 
This document was moved to [another location](../../instance_statistics/convdev.md).
This document was moved to [another location](../../instance_statistics/dev_ops_score.md).
Loading
Loading
@@ -14,6 +14,17 @@ Below are the fingerprints for GitLab.com's SSH host keys.
| ED25519 | `2e:65:6a:c8:cf:bf:b2:8b:9a:bd:6d:9f:11:5c:12:16` | `eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8` |
| RSA | `b6:03:0e:39:97:9e:d0:e7:24:ce:a3:77:3e:01:42:09` | `ROQFvPThGrW4RuWLoL9tq9I9zJ42fK4XywyRtbOz/EQ` |
 
## SSH `known_hosts` entries
Add the following to `.ssh/known_hosts` to skip manual fingerprint
confirmation in SSH:
```
gitlab.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfuCHKVTjquxvt6CM6tdG4SLp1Btn/nOeHHE5UOzRdf
gitlab.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCsj2bNKTBSpIYDEGk9KxsGh3mySTRgMtXL583qmBpzeQ+jqCMRgBqB98u3z++J1sKlXHWfM9dyhSevkMwSbhoR8XIq/U0tCNyokEi/ueaBMCvbcTHhO7FcwzY92WK4Yt0aGROY5qX2UKSeOvuP4D6TPqKF1onrSzH9bx9XUf2lEdWT/ia1NEKjunUqu1xOB/StKDHMoX4/OKyIzuS0q/T1zOATthvasJFoPrAjkohTyaDUz2LN5JoH839hViyEG82yB+MjcFV5MU3N1l1QL3cVUCh93xSaua1N85qivl+siMkPGbO5xR/En4iEY6K2XPASUEMaieWVNTRCtJ4S8H+9
gitlab.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFSMqzJeV9rUzU4kWitGjeR4PWSa29SPqJ1fVkhtj3Hw9xjLVXVYrU9QlYWrOLXBpQ6KWjbjTDTdDkoohFzgbEY=
```
## Mail configuration
 
GitLab.com sends emails from the `mg.gitlab.com` domain via [Mailgun] and has
Loading
Loading
# Conversational Development Index
# DevOps Score
 
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/issues/30469) in GitLab 9.3.
> [Renamed from Conversational Development Index](https://gitlab.com/gitlab-org/gitlab/issues/20976) in GitLab 12.6.
 
NOTE: **Note:**
Your GitLab instance's [usage ping](../admin_area/settings/usage_statistics.md#usage-ping-core-only) must be activated in order to use this feature.
 
The [Conversational Development](http://conversationaldevelopment.com/2017/04/16/what-is-conversational-development/) Index (ConvDev Index) gives you an overview of your entire
instance's adoption of [Concurrent DevOps](https://about.gitlab.com/concurrent-devops/)
The DevOps Score gives you an overview of your entire instance's adoption of
[Concurrent DevOps](https://about.gitlab.com/concurrent-devops/)
from planning to monitoring.
 
This displays the usage of these GitLab features over
Loading
Loading
@@ -16,7 +16,7 @@ of top-performing instances based on [usage ping data](../admin_area/settings/us
collected. Your score is compared to the lead score of each feature and then expressed as a percentage at the bottom of said feature.
Your overall index score is an average of all your feature score percentages - this percentage value is presented above all the of features on the page.
 
![ConvDev index](img/convdev_index.png)
![DevOps Score](img/dev_ops_score.png)
 
The page also provides helpful links to articles and GitLab docs, to help you
improve your scores.
Loading
Loading
Loading
Loading
@@ -12,5 +12,5 @@ and can be accessed via the top bar.
 
There are two kinds of statistics:
 
- [Conversational Development (ConvDev) Index](convdev.md): Provides an overview of your entire instance's feature usage.
- [Dev Ops Score](dev_ops_score.md): Provides an overview of your entire instance's feature usage.
- [User Cohorts](user_cohorts.md): Display the monthly cohorts of new users and their activities over time.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment