Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
13c4ea35
Commit
13c4ea35
authored
Dec 13, 2018
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
7e6b7b67
0bb17425
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
doc/development/automatic_ce_ee_merge.md
doc/development/automatic_ce_ee_merge.md
+13
-11
No files found.
doc/development/automatic_ce_ee_merge.md
View file @
13c4ea35
# Automatic CE->EE merge
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
context of EE. This means that any merge conflicts are resolved by taking the EE
changes and discarding the CE changes. This removes the need for resolving
conflicts or reverting changes, at the cost of
**absolutely requiring**
EE merge
requests to be created whenever a CE merge request causes merge conflicts.
Failing to do so can result in changes not making their way into EE.
every 5 minutes. Changes are merged using the
`recursive=ours`
merge strategy in
the context of EE. This means that any merge conflicts are resolved by taking
the EE changes and discarding the CE changes. This removes the need for
resolving conflicts or reverting changes, at the cost of
**
absolutely
requiring
**
EE merge requests to be created whenever a CE merge request causes
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
...
...
@@ -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
before merging your changes into CE.
---
[
Return to Development documentation
](
README.md
)
## FAQ
### How does automatic merging work?
...
...
@@ -180,7 +177,8 @@ before merging your changes into CE.
The automatic merging is performed using a project called
[
Merge
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
--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
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
injected into the appropriate classes or modules. See
[
Guidelines for
implementing Enterprise Edition features
](
ee_features.md
)
for more information.
---
[
Return to Development documentation
](
README.md
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment