Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/administration/packages/index.md1
-rw-r--r--doc/user/packages/index.md2
-rw-r--r--doc/user/packages/nuget_repository/img/visual_studio_adding_nuget_source.pngbin0 -> 115238 bytes
-rw-r--r--doc/user/packages/nuget_repository/img/visual_studio_nuget_source_added.pngbin0 -> 75079 bytes
-rw-r--r--doc/user/packages/nuget_repository/index.md104
-rw-r--r--doc/user/project/operations/error_tracking.md12
6 files changed, 118 insertions, 1 deletions
diff --git a/doc/administration/packages/index.md b/doc/administration/packages/index.md
index 58dd8201c15..432e72e03e3 100644
--- a/doc/administration/packages/index.md
+++ b/doc/administration/packages/index.md
@@ -8,6 +8,7 @@ The Packages feature allows GitLab to act as a repository for the following:
| Software repository | Description | Available in GitLab version |
| ------------------- | ----------- | --------------------------- |
+| [NuGet Repository](../../user/packages/nuget_repository/index.md) | The GitLab NuGet Repository enables every project in GitLab to have its own space to store [NuGet](https://www.nuget.org/) packages. | 12.8+ |
| [Conan Repository](../../user/packages/conan_repository/index.md) | The GitLab Conan Repository enables every project in GitLab to have its own space to store [Conan](https://conan.io/) packages. | 12.4+ |
| [Maven Repository](../../user/packages/maven_repository/index.md) | The GitLab Maven Repository enables every project in GitLab to have its own space to store [Maven](https://maven.apache.org/) packages. | 11.3+ |
| [NPM Registry](../../user/packages/npm_registry/index.md) | The GitLab NPM Registry enables every project in GitLab to have its own space to store [NPM](https://www.npmjs.com/) packages. | 11.7+ |
diff --git a/doc/user/packages/index.md b/doc/user/packages/index.md
index ab20e74c30a..594be1757c1 100644
--- a/doc/user/packages/index.md
+++ b/doc/user/packages/index.md
@@ -13,7 +13,7 @@ The Packages feature allows GitLab to act as a repository for the following:
| [Conan Repository](conan_repository/index.md) **(PREMIUM)** | The GitLab Conan Repository enables every project in GitLab to have its own space to store [Conan](https://conan.io/) packages. | 12.6+ |
| [Maven Repository](maven_repository/index.md) **(PREMIUM)** | The GitLab Maven Repository enables every project in GitLab to have its own space to store [Maven](https://maven.apache.org/) packages. | 11.3+ |
| [NPM Registry](npm_registry/index.md) **(PREMIUM)** | The GitLab NPM Registry enables every project in GitLab to have its own space to store [NPM](https://www.npmjs.com/) packages. | 11.7+ |
-| [NuGet Repository](https://gitlab.com/gitlab-org/gitlab/issues/20050) **(PREMIUM)** | *COMING SOON* The GitLab NuGet Repository will enable every project in GitLab to have its own space to store [NuGet](https://www.nuget.org/) packages. | 12.7 (planned) |
+| [NuGet Repository](nuget_repository/index.md) **(PREMIUM)** | *COMING SOON* The GitLab NuGet Repository will enable every project in GitLab to have its own space to store [NuGet](https://www.nuget.org/) packages. | 12.8+ |
TIP: **Tip:**
Don't you see your package management system supported yet? Consider contributing
diff --git a/doc/user/packages/nuget_repository/img/visual_studio_adding_nuget_source.png b/doc/user/packages/nuget_repository/img/visual_studio_adding_nuget_source.png
new file mode 100644
index 00000000000..94b037ced42
--- /dev/null
+++ b/doc/user/packages/nuget_repository/img/visual_studio_adding_nuget_source.png
Binary files differ
diff --git a/doc/user/packages/nuget_repository/img/visual_studio_nuget_source_added.png b/doc/user/packages/nuget_repository/img/visual_studio_nuget_source_added.png
new file mode 100644
index 00000000000..d2f4791a25a
--- /dev/null
+++ b/doc/user/packages/nuget_repository/img/visual_studio_nuget_source_added.png
Binary files differ
diff --git a/doc/user/packages/nuget_repository/index.md b/doc/user/packages/nuget_repository/index.md
new file mode 100644
index 00000000000..212641222f8
--- /dev/null
+++ b/doc/user/packages/nuget_repository/index.md
@@ -0,0 +1,104 @@
+# GitLab NuGet Repository **(PREMIUM)**
+
+> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/20050) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.8.
+
+CAUTION: **Work in progress**
+This feature is in development, sections on uploading and installing packages will be coming soon, please follow along and help us make sure we're building the right solution for you in the [NuGet issue](https://gitlab.com/gitlab-org/gitlab/issues/20050).
+
+With the GitLab NuGet Repository, every project can have its own space to store NuGet packages.
+
+The GitLab NuGet Repository works with either [nuget CLI](https://www.nuget.org/) or [Visual Studio](https://visualstudio.microsoft.com/vs/).
+
+## Setting up your development environment
+
+You will need [nuget CLI](https://www.nuget.org/) 5.2 or above. Previous versions have not been tested against the GitLab NuGet Repository and might not work. You can install it by visiting the [downloads page](https://www.nuget.org/downloads).
+
+If you have [Visual Studio](https://visualstudio.microsoft.com/vs/), [nuget CLI](https://www.nuget.org/) is probably already installed.
+
+You can confirm that [nuget CLI](https://www.nuget.org/) is properly installed with:
+
+```sh
+nuget help
+```
+
+You should see something similar to:
+
+```
+NuGet Version: 5.2.0.6090
+usage: NuGet <command> [args] [options]
+Type 'NuGet help <command>' for help on a specific command.
+
+Available commands:
+
+[output truncated]
+```
+
+## Enabling the NuGet Repository
+
+NOTE: **Note:**
+This option is available only if your GitLab administrator has
+[enabled support for the NuGet Repository](../../../administration/packages/index.md).**(PREMIUM ONLY)**
+
+After the NuGet Repository is enabled, it will be available for all new projects
+by default. To enable it for existing projects, or if you want to disable it:
+
+1. Navigate to your project's **Settings > General > Permissions**.
+1. Find the Packages feature and enable or disable it.
+1. Click on **Save changes** for the changes to take effect.
+
+You should then be able to see the **Packages** section on the left sidebar.
+
+## Adding the GitLab NuGet Repository as a source to nuget
+
+You will need the following:
+
+- Your GitLab username.
+- A personal access token. You can generate a [personal access token](../../../user/profile/personal_access_tokens.md) with the scope set to `api` for repository authentication.
+- A suitable name for your source.
+- Your project ID which can be found on the home page of your project.
+
+You can now add a new source to nuget either using [nuget CLI](https://www.nuget.org/) or [Visual Studio](https://visualstudio.microsoft.com/vs/).
+
+### Using nuget CLI
+
+To add the GitLab NuGet Repository as a source with `nuget`:
+
+```sh
+nuget source Add -Name <source_name> -Source "https://example.gitlab.com/api/v4/projects/<your_project_id>/packages/nuget/index.json" -UserName <gitlab_username> -Password <gitlab_token>
+```
+
+Replace:
+
+- `<source_name>` with your desired source name.
+- `<your_project_id>` with your project ID.
+- `<gitlab-username>` with your GitLab username.
+- `<gitlab-token>` with your personal access token.
+- `example.gitlab.com` with the URL of the GitLab instance you're using.
+
+For example:
+
+```sh
+nuget source Add -Name "GitLab" -Source "https//gitlab.example/api/v4/projects/10/packages/nuget/index.json" -UserName carol -Password 12345678asdf
+```
+
+### Using Visual Studio
+
+1. Open [Visual Studio](https://visualstudio.microsoft.com/vs/).
+1. Open the **FILE > OPTIONS** (Windows) or **Visual Studio > Preferences** (Mac OS).
+1. In the **NuGet** section, open **Sources**. You will see a list of all your NuGet sources.
+1. Click **Add**.
+1. Fill the fields with:
+ - **Name**: Desired name for the source
+ - **Location**: `https://gitlab.com/api/v4/projects/<your_project_id>/packages/nuget/index.json`
+ - Replace `<your_project_id>` with your project ID.
+ - If you have a self-hosted GitLab installation, replace `gitlab.com` with your domain name.
+ - **Username**: Your GitLab username
+ - **Password**: Your personal access token
+
+ ![Visual Studio Adding a NuGet source](img/visual_studio_adding_nuget_source.png)
+
+1. Click **Save**.
+
+ ![Visual Studio NuGet source added](img/visual_studio_nuget_source_added.png)
+
+In case of any warning, please make sure that the **Location**, **Username** and **Password** are correct.
diff --git a/doc/user/project/operations/error_tracking.md b/doc/user/project/operations/error_tracking.md
index 912d7fdbef5..5246f8072e2 100644
--- a/doc/user/project/operations/error_tracking.md
+++ b/doc/user/project/operations/error_tracking.md
@@ -62,3 +62,15 @@ If the error has not been linked to an existing GitLab issue, a 'Create Issue' b
If a link does exist, it will be shown in the details and the 'Create Issue' button will be hidden:
![Error Details with Issue Link](img/error_details_with_issue_v12_6.png)
+
+## Taking Action on errors
+
+You can take action on Sentry Errors from within the GitLab UI.
+
+### Ignoring errors
+
+> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/39665) in GitLab 12.7.
+
+From within the [Error Details](#error-details) page you can ignore a Sentry error by simply clicking the **Ignore** button near the top of the page.
+
+Ignoring an error will prevent it from appearing in the [Error Tracking List](#error-tracking-list), and will silence notifications that were set up within Sentry.