Commit 0bb17425 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'docs/fix-automatic-merge-documentation' into 'master'

Fix documentation for automatic merging

See merge request gitlab-org/gitlab-ce!23784
parents b5dbfbba 8028f245
# Automatic CE->EE merge # Automatic CE->EE merge
Commits pushed to CE `master` are automatically merged into EE `master` roughly Commits pushed to CE `master` are automatically merged into EE `master` roughly
every 5 minutes. Changes are merged using the `ours` merge strategy in the every 5 minutes. Changes are merged using the `recursive=ours` merge strategy in
context of EE. This means that any merge conflicts are resolved by taking the EE the context of EE. This means that any merge conflicts are resolved by taking
changes and discarding the CE changes. This removes the need for resolving the EE changes and discarding the CE changes. This removes the need for
conflicts or reverting changes, at the cost of **absolutely requiring** EE merge resolving conflicts or reverting changes, at the cost of **absolutely
requests to be created whenever a CE merge request causes merge conflicts. requiring** EE merge requests to be created whenever a CE merge request causes
Failing to do so can result in changes not making their way into EE. merge conflicts. Failing to do so can result in changes not making their way
into EE.
## Always create an EE merge request if there are conflicts ## Always create an EE merge request if there are conflicts
...@@ -169,10 +170,6 @@ you are not required to submit the EE-equivalent MR, but it's still recommended. ...@@ -169,10 +170,6 @@ you are not required to submit the EE-equivalent MR, but it's still recommended.
job failed, you are required to submit the EE MR so that you can fix the conflicts in EE job failed, you are required to submit the EE MR so that you can fix the conflicts in EE
before merging your changes into CE. before merging your changes into CE.
---
[Return to Development documentation](README.md)
## FAQ ## FAQ
### How does automatic merging work? ### How does automatic merging work?
...@@ -180,7 +177,8 @@ before merging your changes into CE. ...@@ -180,7 +177,8 @@ before merging your changes into CE.
The automatic merging is performed using a project called [Merge The automatic merging is performed using a project called [Merge
Train](https://gitlab.com/gitlab-org/merge-train/). This project will clone CE Train](https://gitlab.com/gitlab-org/merge-train/). This project will clone CE
and EE master, and merge CE master into EE master using `git merge and EE master, and merge CE master into EE master using `git merge
--strategy=ours`. This process runs roughly every 5 minutes. --strategy=recursive --strategy-option=ours`. This process runs multiple times
per hour.
For more information on the exact implementation you can refer to the source For more information on the exact implementation you can refer to the source
code. code.
...@@ -225,3 +223,7 @@ so that the EE specific changes are not intertwined with CE code. For Ruby code ...@@ -225,3 +223,7 @@ so that the EE specific changes are not intertwined with CE code. For Ruby code
you can do this by moving the EE code to a separate module, which can then be you can do this by moving the EE code to a separate module, which can then be
injected into the appropriate classes or modules. See [Guidelines for injected into the appropriate classes or modules. See [Guidelines for
implementing Enterprise Edition features](ee_features.md) for more information. implementing Enterprise Edition features](ee_features.md) for more information.
---
[Return to Development documentation](README.md)
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