diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-17 21:06:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-17 21:06:41 +0000 |
commit | da35510cdad8f8d3cb6c119682dc2735531983cd (patch) | |
tree | d42432c9ddc0d55a3c6316cdb539af11244a148f /doc | |
parent | 7f82744e89f22bdd2d13f85ca4dc66e088f3da5c (diff) | |
download | gitlab-ce-da35510cdad8f8d3cb6c119682dc2735531983cd.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/geo/replication/location_aware_git_url.md | 7 | ||||
-rw-r--r-- | doc/api/graphql/reference/index.md | 7 | ||||
-rw-r--r-- | doc/user/admin_area/settings/img/clone_panel.png | bin | 0 -> 20007 bytes | |||
-rw-r--r-- | doc/user/admin_area/settings/img/custom_git_clone_url_for_https.png | bin | 0 -> 11171 bytes | |||
-rw-r--r-- | doc/user/admin_area/settings/visibility_and_access_controls.md | 24 |
5 files changed, 33 insertions, 5 deletions
diff --git a/doc/administration/geo/replication/location_aware_git_url.md b/doc/administration/geo/replication/location_aware_git_url.md index b8ed3d07bdd..bb47031a544 100644 --- a/doc/administration/geo/replication/location_aware_git_url.md +++ b/doc/administration/geo/replication/location_aware_git_url.md @@ -95,13 +95,12 @@ on the external URL of the current host. For example:  -However, you can customize the SSH remote URL to use the location-aware +You can customize the SSH remote URL to use the location-aware `git.example.com`. To do so, change the SSH remote URL's host by setting `gitlab_rails['gitlab_ssh_host']` in `gitlab.rb` of web nodes. -Unfortunately the means to specify a custom HTTP clone URL is not yet -implemented. The feature request can be found at -[Customizable Git HTTP clone root URL](https://gitlab.com/gitlab-org/gitlab/issues/31949). +You can customize the HTTP remote URL as shown in +[Custom Git clone URL for HTTP(S)](../../../user/admin_area/settings/visibility_and_access_controls.md#custom-git-clone-url-for-https). ## Example Git request handling behavior diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index d60916851a8..839289cf677 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -435,8 +435,13 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph | `webUrl` | String | | | `upvotes` | Int! | | | `downvotes` | Int! | | -| `subscribed` | Boolean! | | | `headPipeline` | Pipeline | | +| `milestone` | Milestone | The milestone this merge request is linked to | +| `subscribed` | Boolean! | Boolean flag for whether the currently logged in user is subscribed to this MR | +| `discussionLocked` | Boolean! | Boolean flag determining if comments on the merge request are locked to members only | +| `timeEstimate` | Int! | The time estimate for the merge request | +| `totalTimeSpent` | Int! | Total time reported as spent on the merge request | +| `reference` | String! | Internal merge request reference. Returned in shortened format by default | | `taskCompletionStatus` | TaskCompletionStatus! | | ### MergeRequestPermissions diff --git a/doc/user/admin_area/settings/img/clone_panel.png b/doc/user/admin_area/settings/img/clone_panel.png Binary files differnew file mode 100644 index 00000000000..8aa0bd2f7d8 --- /dev/null +++ b/doc/user/admin_area/settings/img/clone_panel.png diff --git a/doc/user/admin_area/settings/img/custom_git_clone_url_for_https.png b/doc/user/admin_area/settings/img/custom_git_clone_url_for_https.png Binary files differnew file mode 100644 index 00000000000..22cdd15cc0c --- /dev/null +++ b/doc/user/admin_area/settings/img/custom_git_clone_url_for_https.png diff --git a/doc/user/admin_area/settings/visibility_and_access_controls.md b/doc/user/admin_area/settings/visibility_and_access_controls.md index 81e09e4bb8a..63d3dd9ffe3 100644 --- a/doc/user/admin_area/settings/visibility_and_access_controls.md +++ b/doc/user/admin_area/settings/visibility_and_access_controls.md @@ -135,6 +135,30 @@ Starting with [GitLab 10.7](https://gitlab.com/gitlab-org/gitlab-ce/merge_reques HTTP(S) protocol will be allowed for Git clone or fetch requests done by GitLab Runner from CI/CD jobs, even if _Only SSH_ was selected. +## Custom Git clone URL for HTTP(S) + +You can customize project Git clone URLs for HTTP(S). This will affect the clone +panel: + + + +For example, if your +GitLab instance is at `https://example.com`, then project clone URLs look like +`https://example.com/foo/bar.git`. If you'd to provide clone URLs that look like +`https://git.example.com/gitlab/foo/bar.git` instead, then you can set this +setting to `https://git.example.com/gitlab/`. + + + +To specify a custom Git clone URL for HTTP(S): + +1. Enter a root URL for **Custom Git clone URL for HTTP(S)**. +1. Click on **Save changes**. + +NOTE: **Note:** +SSH clone URLs can be customized in `gitlab.rb` by setting +`gitlab_rails["gitlab_ssh_host"]` and other related settings. + ## RSA, DSA, ECDSA, ED25519 SSH keys These options specify the permitted types and lengths for SSH keys. |