diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-19 00:08:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-19 00:08:44 +0300 |
commit | c75f38907c1b28adf5f57a8ad34df9f86c36d4e7 (patch) | |
tree | 2ddd657750116ea9460f76f439780af3ab255edb /doc/api/packages | |
parent | bc578c5f89ff9d8ec03fbbd014714f9d1e5cb172 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/packages')
-rw-r--r-- | doc/api/packages/debian.md | 18 | ||||
-rw-r--r-- | doc/api/packages/debian_project_distributions.md | 18 |
2 files changed, 6 insertions, 30 deletions
diff --git a/doc/api/packages/debian.md b/doc/api/packages/debian.md index 0912f894fa3..154c99d7e0a 100644 --- a/doc/api/packages/debian.md +++ b/doc/api/packages/debian.md @@ -28,22 +28,10 @@ for details on which headers and token types are supported. ## Enable the Debian API -Debian repository support is still a work in progress. It's gated behind a feature flag that's -**disabled by default**. +The Debian API is behind a feature flag that is disabled by default. [GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md) -can opt to enable it. - -To enable it: - -```ruby -Feature.enable(:debian_packages) -``` - -To disable it: - -```ruby -Feature.disable(:debian_packages) -``` +can opt to enable it. To enable it, follow the instructions in +[Enable the Debian API](../../user/packages/debian_repository/index.md#enable-the-debian-api). ## Enable the Debian group API diff --git a/doc/api/packages/debian_project_distributions.md b/doc/api/packages/debian_project_distributions.md index 16079d1c5ab..bedf3f1f27a 100644 --- a/doc/api/packages/debian_project_distributions.md +++ b/doc/api/packages/debian_project_distributions.md @@ -20,22 +20,10 @@ For more information about working with Debian packages, see the ## Enable the Debian API -Debian repository support is still a work in progress. It's gated behind a feature flag that's -**disabled by default**. +The Debian API is behind a feature flag that is disabled by default. [GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md) -can opt to enable it. - -To enable it: - -```ruby -Feature.enable(:debian_packages) -``` - -To disable it: - -```ruby -Feature.disable(:debian_packages) -``` +can opt to enable it. To enable it, follow the instructions in +[Enable the Debian API](../../user/packages/debian_repository/index.md#enable-the-debian-api). ## List all Debian distributions in a project |