diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-15 03:10:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-15 03:10:03 +0300 |
commit | 0c6c91556b89efac59a1034f7f91fd37a7f8ea91 (patch) | |
tree | c008951816d6ce04d2d4d336b37449b4ded78169 /doc | |
parent | dc60045db7aab599453799c75190b93692d91b7c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/gitaly/praefect.md | 5 | ||||
-rw-r--r-- | doc/development/fe_guide/graphql.md | 29 | ||||
-rw-r--r-- | doc/development/usage_ping/dictionary.md | 140 | ||||
-rw-r--r-- | doc/integration/jira/index.md | 5 |
4 files changed, 175 insertions, 4 deletions
diff --git a/doc/administration/gitaly/praefect.md b/doc/administration/gitaly/praefect.md index b0ff67c0fdd..e483bcc944a 100644 --- a/doc/administration/gitaly/praefect.md +++ b/doc/administration/gitaly/praefect.md @@ -1626,10 +1626,7 @@ praefect['reconciliation_scheduling_interval'] = '0' # disable the feature ### Manual reconciliation WARNING: -The `reconcile` sub-command is deprecated and scheduled for removal in GitLab 14.0. Use -[automatic reconciliation](#automatic-reconciliation) instead. Manual reconciliation may -produce excess replication jobs and is limited in functionality. Manual reconciliation does -not work when [repository-specific primary nodes](#repository-specific-primary-nodes) are +The `reconcile` sub-command was removed in GitLab 14.1. Use [automatic reconciliation](#automatic-reconciliation) instead. Manual reconciliation may produce excess replication jobs and is limited in functionality. Manual reconciliation does not work when [repository-specific primary nodes](#repository-specific-primary-nodes) are enabled. The Praefect `reconcile` sub-command allows for the manual reconciliation between two Gitaly nodes. The diff --git a/doc/development/fe_guide/graphql.md b/doc/development/fe_guide/graphql.md index 844ef2156d9..7fa9e957f56 100644 --- a/doc/development/fe_guide/graphql.md +++ b/doc/development/fe_guide/graphql.md @@ -906,6 +906,35 @@ apollo: { }, ``` +### Best Practices + +#### When to use (and not use) `update` hook in mutations + +Apollo Client's [`.mutate()`](https://www.apollographql.com/docs/react/api/core/ApolloClient/#ApolloClient.mutate) +method exposes an `update` hook that is invoked twice during the mutation lifecycle: + +- Once at the beginning. That is, before the mutation has completed. +- Once after the mutation has completed. + +You should use this hook only if you're adding or removing an item from the store +(that is, ApolloCache). If you're _updating_ an existing item, it is usually represented by +a global `id`. + +In that case, presence of this `id` in your mutation query definition makes the store update +automatically. Here's an example of a typical mutation query with `id` present in it: + +```graphql +mutation issueSetWeight($input: IssueSetWeightInput!) { + issuableSetWeight: issueSetWeight(input: $input) { + issuable: issue { + id + weight + } + errors + } +} +``` + ### Testing #### Generating the GraphQL schema diff --git a/doc/development/usage_ping/dictionary.md b/doc/development/usage_ping/dictionary.md index 0784a792d34..79d4c09be83 100644 --- a/doc/development/usage_ping/dictionary.md +++ b/doc/development/usage_ping/dictionary.md @@ -4472,6 +4472,20 @@ Status: `data_available` Tiers: `free`, `premium`, `ultimate` +### `counts.package_events_i_package_nuget_pull_symbol_package` + +A count of NuGet symbol packages that have been downloaded from the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709191135_package_events_i_package_nuget_pull_symbol_package.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + ### `counts.package_events_i_package_nuget_push_package` A count of NuGet packages that have been published @@ -4486,6 +4500,20 @@ Status: `data_available` Tiers: `free`, `premium`, `ultimate` +### `counts.package_events_i_package_nuget_push_symbol_package` + +A count of NuGet symbol packages that have been uploaded to the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709191829_package_events_i_package_nuget_push_symbol_package.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + ### `counts.package_events_i_package_pull_package` A count of packages that have been downloaded from the package registry @@ -4542,6 +4570,62 @@ Status: `data_available` Tiers: `free`, `premium`, `ultimate` +### `counts.package_events_i_package_pull_symbol_package` + +A count of symbol packages that have been pulled from the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709210941_package_events_i_package_pull_symbol_package.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + +### `counts.package_events_i_package_pull_symbol_package_by_deploy_token` + +A count of symbol packages that have been pulled with a deploy token from the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709211058_package_events_i_package_pull_symbol_package_by_deploy_token.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + +### `counts.package_events_i_package_pull_symbol_package_by_guest` + +A count of symbol packages that have been pulled with by a guest from the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709211248_package_events_i_package_pull_symbol_package_by_guest.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + +### `counts.package_events_i_package_pull_symbol_package_by_user` + +A count of symbol packages that have been pulled with by an authenticated user from the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709211341_package_events_i_package_pull_symbol_package_by_user.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + ### `counts.package_events_i_package_push_package` A count of packages that have been published to the package registry @@ -4598,6 +4682,62 @@ Status: `data_available` Tiers: `free`, `premium`, `ultimate` +### `counts.package_events_i_package_push_symbol_package` + +A count of symbol packages that have been pushed to the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709211439_package_events_i_package_push_symbol_package.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + +### `counts.package_events_i_package_push_symbol_package_by_deploy_token` + +A count of symbol packages that have been pushed with a deploy token to the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709211636_package_events_i_package_push_symbol_package_by_deploy_token.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + +### `counts.package_events_i_package_push_symbol_package_by_guest` + +A count of symbol packages that have been pushed by a guest to the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709211731_package_events_i_package_push_symbol_package_by_guest.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + +### `counts.package_events_i_package_push_symbol_package_by_user` + +A count of symbol packages that have been pushed by an authenticated user to the package registry + +[YAML definition](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210709211831_package_events_i_package_push_symbol_package_by_user.yml) + +Group: `group::package` + +Data Category: `Optional` + +Status: `implemented` + +Tiers: `free`, `premium`, `ultimate` + ### `counts.package_events_i_package_pypi_delete_package` A count of Python packages that have been deleted from the package registry diff --git a/doc/integration/jira/index.md b/doc/integration/jira/index.md index 4219cb915cc..0733a08b9d9 100644 --- a/doc/integration/jira/index.md +++ b/doc/integration/jira/index.md @@ -99,3 +99,8 @@ which may lead to a `401 unauthorized` error when testing your Jira integration. If CAPTCHA has been triggered, you can't use Jira's REST API to authenticate with the Jira site. You need to log in to your Jira instance and complete the CAPTCHA. + +## Third-party Jira integrations + +Developers have built several third-party Jira integrations for GitLab that are +listed on the [Atlassian Marketplace](https://marketplace.atlassian.com/search?product=jira&query=gitlab). |