Commit ef00dfcd authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 0602ef28 923d49d4
...@@ -130,6 +130,7 @@ curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" --header "Cont ...@@ -130,6 +130,7 @@ curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" --header "Cont
``` ```
Example response: Example response:
```json ```json
{ {
"id": "ed899a2f4b50b4370feeea94676502b42383c746", "id": "ed899a2f4b50b4370feeea94676502b42383c746",
...@@ -162,21 +163,21 @@ curl --request POST \ ...@@ -162,21 +163,21 @@ curl --request POST \
--form "branch=master" \ --form "branch=master" \
--form "commit_message=some commit message" \ --form "commit_message=some commit message" \
--form "start_branch=master" \ --form "start_branch=master" \
--form "actions[][action]=create" \ --form "actions[][action]=create" \
--form "actions[][file_path]=foo/bar" \ --form "actions[][file_path]=foo/bar" \
--form "actions[][content]=</path/to/local.file" \ --form "actions[][content]=</path/to/local.file" \
--form "actions[][action]=delete" \ --form "actions[][action]=delete" \
--form "actions[][file_path]=foo/bar2" \ --form "actions[][file_path]=foo/bar2" \
--form "actions[][action]=move" \ --form "actions[][action]=move" \
--form "actions[][file_path]=foo/bar3" \ --form "actions[][file_path]=foo/bar3" \
--form "actions[][previous_path]=foo/bar4" \ --form "actions[][previous_path]=foo/bar4" \
--form "actions[][content]=</path/to/local1.file" \ --form "actions[][content]=</path/to/local1.file" \
--form "actions[][action]=update" \ --form "actions[][action]=update" \
--form "actions[][file_path]=foo/bar5" \ --form "actions[][file_path]=foo/bar5" \
--form "actions[][content]=</path/to/local2.file" \ --form "actions[][content]=</path/to/local2.file" \
--form "actions[][action]=chmod" \ --form "actions[][action]=chmod" \
--form "actions[][file_path]=foo/bar5" \ --form "actions[][file_path]=foo/bar5" \
--form "actions[][execute_filemode]=true" \ --form "actions[][execute_filemode]=true" \
--header "PRIVATE-TOKEN: <your_access_token>" \ --header "PRIVATE-TOKEN: <your_access_token>" \
"https://gitlab.example.com/api/v4/projects/1/repository/commits" "https://gitlab.example.com/api/v4/projects/1/repository/commits"
``` ```
......
...@@ -62,7 +62,7 @@ into more features: ...@@ -62,7 +62,7 @@ into more features:
| [ChatOps](chatops/README.md) | Trigger CI jobs from chat, with results sent back to the channel. | | [ChatOps](chatops/README.md) | Trigger CI jobs from chat, with results sent back to the channel. |
| [Interactive web terminals](interactive_web_terminal/index.md) | Open an interactive web terminal to debug the running jobs. | | [Interactive web terminals](interactive_web_terminal/index.md) | Open an interactive web terminal to debug the running jobs. |
| [Review Apps](review_apps/index.md) | Configure GitLab CI/CD to preview code changes in a per-branch basis. | | [Review Apps](review_apps/index.md) | Configure GitLab CI/CD to preview code changes in a per-branch basis. |
| [Optimising GitLab for large repositories](large_repositories/index.md) | Useful tips on how to optimise GitLab and GitLab Runner for big repositories. | | [Optimizing GitLab for large repositories](large_repositories/index.md) | Useful tips on how to optimize GitLab and GitLab Runner for big repositories. |
| [Deploy Boards](https://docs.gitlab.com/ee/user/project/deploy_boards.html) **[PREMIUM]** | Check the current health and status of each CI/CD environment running on Kubernetes. | | [Deploy Boards](https://docs.gitlab.com/ee/user/project/deploy_boards.html) **[PREMIUM]** | Check the current health and status of each CI/CD environment running on Kubernetes. |
| [GitLab CI/CD for external repositories](https://docs.gitlab.com/ee/ci/ci_cd_for_external_repos/index.html) **[PREMIUM]** | Get the benefits of GitLab CI/CD combined with repositories in GitHub and BitBucket Cloud. | | [GitLab CI/CD for external repositories](https://docs.gitlab.com/ee/ci/ci_cd_for_external_repos/index.html) **[PREMIUM]** | Get the benefits of GitLab CI/CD combined with repositories in GitHub and BitBucket Cloud. |
......
# Optimising GitLab for large repositories # Optimizing GitLab for large repositories
Large repositories consisting of more than 50k files in a worktree Large repositories consisting of more than 50k files in a worktree
often require special consideration because of often require special consideration because of
the time required to clone and check out. the time required to clone and check out.
GitLab and GitLab Runner handle this scenario well GitLab and GitLab Runner handle this scenario well
but require optimised configuration to efficiently perform its but require optimized configuration to efficiently perform its
set of operations. set of operations.
The general guidelines for handling big repositories are simple. The general guidelines for handling big repositories are simple.
...@@ -15,7 +15,7 @@ Each guideline is described in more detail in the sections below: ...@@ -15,7 +15,7 @@ Each guideline is described in more detail in the sections below:
- Always use shallow clone to reduce data transfer. Be aware that this puts more burden - Always use shallow clone to reduce data transfer. Be aware that this puts more burden
on GitLab instance due to higher CPU impact. on GitLab instance due to higher CPU impact.
- Control the clone directory if you heavily use a fork-based workflow. - Control the clone directory if you heavily use a fork-based workflow.
- Optimise `git clean` flags to ensure that you remove or keep data that might affect or speed-up your build. - Optimize `git clean` flags to ensure that you remove or keep data that might affect or speed-up your build.
## Shallow cloning ## Shallow cloning
...@@ -76,7 +76,7 @@ done by GitLab, requiring you to do them. ...@@ -76,7 +76,7 @@ done by GitLab, requiring you to do them.
This can have implications if you heavily use big repositories with fork workflow. This can have implications if you heavily use big repositories with fork workflow.
Fork workflow from GitLab Runner's perspective is stored as a separate repository Fork workflow from GitLab Runner's perspective is stored as a separate repository
with separate worktree. That means that GitLab Runner cannot optimise the usage with separate worktree. That means that GitLab Runner cannot optimize the usage
of worktrees and you might have to instruct GitLab Runner to use that. of worktrees and you might have to instruct GitLab Runner to use that.
In such cases, ideally you want to make the GitLab Runner executor be used only used only In such cases, ideally you want to make the GitLab Runner executor be used only used only
...@@ -113,7 +113,7 @@ available parameters are dependent on Git version. ...@@ -113,7 +113,7 @@ available parameters are dependent on Git version.
Following the guidelines above, lets imagine that we want to: Following the guidelines above, lets imagine that we want to:
- Optimise for a big project (more than 50k files in directory). - Optimize for a big project (more than 50k files in directory).
- Use forks-based workflow for contributing. - Use forks-based workflow for contributing.
- Reuse existing worktrees. Have preconfigured runners that are pre-cloned with repositories. - Reuse existing worktrees. Have preconfigured runners that are pre-cloned with repositories.
- Runner assigned only to project and all forks. - Runner assigned only to project and all forks.
......
--- ---
redirect_to: '../user/project/issues/index.md#new-issue' redirect_to: '../user/project/issues/index.md#issue-actions'
--- ---
This document was moved to [another location](../user/project/issues/index.md#new-issue). This document was moved to [another location](../user/project/issues/index.md#issue-actions).
...@@ -60,7 +60,7 @@ By doing so: ...@@ -60,7 +60,7 @@ By doing so:
## Issues and merge requests within a group ## Issues and merge requests within a group
Issues and merge requests are part of projects. For a given group, view all the Issues and merge requests are part of projects. For a given group, view all the
[issues](../project/issues/index.md#issues-per-group) and [merge requests](../project/merge_requests/index.md#merge-requests-per-group) across all the projects in that group, [issues](../project/issues/index.md#issues-list) and [merge requests](../project/merge_requests/index.md#merge-requests-per-group) across all the projects in that group,
together in a single list view. together in a single list view.
## Create a new group ## Create a new group
......
...@@ -38,8 +38,8 @@ GitLab is a Git-based platform that integrates a great number of essential tools ...@@ -38,8 +38,8 @@ GitLab is a Git-based platform that integrates a great number of essential tools
- Hosting code in repositories with version control. - Hosting code in repositories with version control.
- Tracking proposals for new implementations, bug reports, and feedback with a - Tracking proposals for new implementations, bug reports, and feedback with a
fully featured [Issue Tracker](project/issues/index.md#issue-tracker). fully featured [Issue Tracker](project/issues/index.md#issues-list).
- Organizing and prioritizing with [Issue Boards](project/issues/index.md#issue-board). - Organizing and prioritizing with [Issue Boards](project/issues/index.md#issue-boards).
- Reviewing code in [Merge Requests](project/merge_requests/index.md) with live-preview changes per - Reviewing code in [Merge Requests](project/merge_requests/index.md) with live-preview changes per
branch with [Review Apps](../ci/review_apps/index.md). branch with [Review Apps](../ci/review_apps/index.md).
- Building, testing, and deploying with built-in [Continuous Integration](../ci/README.md). - Building, testing, and deploying with built-in [Continuous Integration](../ci/README.md).
......
...@@ -581,11 +581,11 @@ Alt-H2 ...@@ -581,11 +581,11 @@ Alt-H2
------ ------
``` ```
### Header IDs and links #### Header IDs and links
All Markdown-rendered headers automatically get IDs, except in comments. All Markdown-rendered headers automatically get IDs, which can be linked to, except in comments.
On hover, a link to those IDs becomes visible to make it easier to copy the link to the header to give it to someone else. On hover, a link to those IDs becomes visible to make it easier to copy the link to the header to use it somewhere else.
The IDs are generated from the content of the header according to the following rules: The IDs are generated from the content of the header according to the following rules:
...@@ -612,8 +612,8 @@ Would generate the following link IDs: ...@@ -612,8 +612,8 @@ Would generate the following link IDs:
1. `this-header-has-spaces-in-it` 1. `this-header-has-spaces-in-it`
1. `this-header-has-a-in-it` 1. `this-header-has-a-in-it`
1. `this-header-has-unicode-in-it-한글` 1. `this-header-has-unicode-in-it-한글`
1. `this-header-has-spaces-in-it`
1. `this-header-has-spaces-in-it-1` 1. `this-header-has-spaces-in-it-1`
1. `this-header-has-spaces-in-it-2`
1. `this-header-has-3-5-in-it-and-parentheses` 1. `this-header-has-3-5-in-it-and-parentheses`
Note that the Emoji processing happens before the header IDs are generated, so the Emoji is converted to an image which then gets removed from the ID. Note that the Emoji processing happens before the header IDs are generated, so the Emoji is converted to an image which then gets removed from the ID.
...@@ -718,25 +718,25 @@ Becomes: ...@@ -718,25 +718,25 @@ Becomes:
There are two ways to create links, inline-style and reference-style. There are two ways to create links, inline-style and reference-style.
[I'm an inline-style link](https://www.google.com) ```markdown
[I'm an inline-style link](https://www.google.com)
[I'm a reference-style link][Arbitrary case-insensitive reference text] [I'm a link to a repository file in the same directory](index.md)
[I am an absolute reference within the repository](/doc/user/index.md)
[I'm a relative reference to a repository file](LICENSE) [I'm a relative link to the Milestones page](../README.md)
[I am an absolute reference within the repository](/doc/user/markdown.md)
[I link to the Milestones page](/../milestones)
[You can use numbers for reference-style link definitions][1] [I link to a section on a different markdown page, using a header ID](index.md#overview)
[I link to a different section on the same page, using the header ID](#header-ids-and-links)
Or leave it empty and use the [link text itself][] [I'm a reference-style link][Arbitrary case-insensitive reference text]
[You can use numbers for reference-style link definitions][1]
Or leave it empty and use the [link text itself][]
Some text to show that the reference links can follow later. Some text to show that the reference links can follow later.
[arbitrary case-insensitive reference text]: https://www.mozilla.org [arbitrary case-insensitive reference text]: https://www.mozilla.org
[1]: http://slashdot.org [1]: http://slashdot.org
[link text itself]: https://www.reddit.com [link text itself]: https://www.reddit.com
```
>**Note:** >**Note:**
Relative links do not allow referencing project files in a wiki page or wiki Relative links do not allow referencing project files in a wiki page or wiki
......
...@@ -42,7 +42,7 @@ below. ...@@ -42,7 +42,7 @@ below.
## How it works ## How it works
The Issue Board builds on GitLab's existing The Issue Board builds on GitLab's existing
[issue tracking functionality](issues/index.md#issue-tracker) and [issue tracking functionality](issues/index.md#issues-list) and
leverages the power of [labels](labels.md) by utilizing them as lists of the scrum board. leverages the power of [labels](labels.md) by utilizing them as lists of the scrum board.
With the Issue Board you can have a different view of your issues while With the Issue Board you can have a different view of your issues while
......
...@@ -7,7 +7,7 @@ the information illustrated on the image below. ...@@ -7,7 +7,7 @@ the information illustrated on the image below.
![New issue from the issues list](img/new_issue.png) ![New issue from the issues list](img/new_issue.png)
Read through the [issues functionalities documentation](issues_functionalities.md#issues-functionalities) Read through the [issue data and actions documentation](issue_data_and_actions.md#parts-of-an-issue)
to understand these fields one by one. to understand these fields one by one.
## New issue from the Issue Tracker ## New issue from the Issue Tracker
......
...@@ -78,7 +78,7 @@ While you can view and manage the full detail of an issue at its URL, you can al ...@@ -78,7 +78,7 @@ While you can view and manage the full detail of an issue at its URL, you can al
On an issue’s page, you can view all aspects of the issue, and you can also modify them if you you have the necessary [permissions](../../permissions.md). On an issue’s page, you can view all aspects of the issue, and you can also modify them if you you have the necessary [permissions](../../permissions.md).
For more information, see the [Issue Functionalities](issues_functionalities.md) page. For more information, see the [Issue Data and Actions](issue_data_and_actions.md) page.
### Issues list ### Issues list
...@@ -86,7 +86,7 @@ For more information, see the [Issue Functionalities](issues_functionalities.md) ...@@ -86,7 +86,7 @@ For more information, see the [Issue Functionalities](issues_functionalities.md)
On the Issues List, you can view all issues in the current project, or from multiple projects when opening the Issues List from the higher-level group context. Filter the issue list by [any search query](../../search/index.md#issues-and-merge-requests-per-project) and/or specific metadata, such as label(s), assignees(s), status, and more. From this view, you can also make certain changes [in bulk](../bulk_editing.md) to the displayed issues. On the Issues List, you can view all issues in the current project, or from multiple projects when opening the Issues List from the higher-level group context. Filter the issue list by [any search query](../../search/index.md#issues-and-merge-requests-per-project) and/or specific metadata, such as label(s), assignees(s), status, and more. From this view, you can also make certain changes [in bulk](../bulk_editing.md) to the displayed issues.
For more information, see the [Issue Functioinalities](issues_functionalities.md) page. For more information, see the [Issue Data and Actions](issue_data_and_actions.md) page.
### Issue boards ### Issue boards
...@@ -123,7 +123,7 @@ For more information, see [Crosslinking issues](crosslinking_issues.md). ...@@ -123,7 +123,7 @@ For more information, see [Crosslinking issues](crosslinking_issues.md).
- [Close an issue](closing_issues.md) - [Close an issue](closing_issues.md)
- [Move an issue](moving_issues.md) - [Move an issue](moving_issues.md)
- [Delete an issue](deleting_issues.md) - [Delete an issue](deleting_issues.md)
- [Create a merge request from an issue](issues_functionalities.md#18-new-merge-request) - [Create a merge request from an issue](issue_data_and_actions.md#18-new-merge-request)
## Advanced issue management ## Advanced issue management
......
...@@ -77,7 +77,7 @@ can be changed as many times as needed. ...@@ -77,7 +77,7 @@ can be changed as many times as needed.
Categorize issues by giving them [labels](../labels.md). They help to Categorize issues by giving them [labels](../labels.md). They help to
organize workflows, and they enable you to work with the organize workflows, and they enable you to work with the
[GitLab Issue Board](index.md#issue-board). [GitLab Issue Board](index.md#issue-boards).
Group Labels, which allow you to use the same labels for a Group Labels, which allow you to use the same labels for a
group of projects, can be also given to issues. They work exactly the same, group of projects, can be also given to issues. They work exactly the same,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment