Find a file
Jacob Schatz 4e6af0c3fa Merge branch 'merge-conflicts-editor-2' into 'master'
Resolve Merge conflicts in editor

## What does this MR do?

This is the second iteration of https://gitlab.com/gitlab-org/gitlab-ce/issues/20344 which now allows to resolve conflicts manually providing an editor to the user.

## Are there points in the code the reviewer needs to double check?

- Previous implementation has been refactored almost from the ground up.
- Also some components like `parallel-conflict-lines` has been optimized to work well with PhantomJS.
- The app and files required files are loaded only when needed. `merge_conflicts_bundle.js` is only loaded in `/<group>/<project>/merge_requests/<Id>/conflicts` only

## Why was this MR needed?

Some MRs were unable to be solved interactively in the UI, with this MR we let the user to manually fix complex merge request conflicts.

## Screenshots (if relevant)

<img src="/uploads/33a016f025bd590b1fc6eeee1ee11626/Screen_Shot_2016-09-19_at_1.39.39_PM.png" width="800">

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20344, https://gitlab.com/gitlab-org/gitlab-ce/issues/3567.

See merge request !6374
2016-10-18 00:19:40 +00:00
.github Address feedback about wording. 2016-06-09 11:25:47 -06:00
.gitlab remove a period that can be annoying 2016-10-14 15:16:18 +02:00
app Merge branch 'merge-conflicts-editor-2' into 'master' 2016-10-18 00:19:40 +00:00
bin Use ENABLE_SPRING to use it by default 2016-06-17 16:54:55 +02:00
builds
changelogs Add changelogs/unreleased/.gitkeep 2016-09-09 14:37:25 -04:00
config Merge branch 'merge-conflicts-editor-2' into 'master' 2016-10-18 00:19:40 +00:00
db Add test, fix merge error 2016-10-14 12:28:19 +02:00
doc Merge branch 'dz-rename-user-routes' into 'master' 2016-10-17 20:47:46 +02:00
docker Update README.md 2016-10-13 14:43:05 +00:00
features Merge branch 'dz-fix-spinach-mr' into 'master' 2016-10-17 11:27:39 +00:00
fixtures/emojis Upgrade Gemojione from 2.6.1 to 3.0.1. 2016-07-18 10:40:16 -06:00
generator_templates/active_record/migration Added checks for migration downtime 2016-07-20 12:41:56 +02:00
lib Merge branch 'master' into merge-conflicts-editor-2 2016-10-17 12:17:12 -05:00
log
public Merge branch 'patch-3' into 'master' 2016-09-26 14:02:39 +00:00
rubocop Added RuboCop cops for checking DB migrations 2016-06-29 14:14:02 +02:00
scripts Convert CHANGELOG to Markdown 2016-10-16 21:05:24 +02:00
shared
spec Merge branch 'merge-conflicts-editor-2' into 'master' 2016-10-18 00:19:40 +00:00
tmp
vendor Update templates for 8.13 2016-09-30 12:16:41 +02:00
.csscomb.json Remove SCSS rules for short hex chars. 2016-10-03 20:40:22 -04:00
.flayignore Tell Flay to ignore Gitlab::Diff::PositionTracer 2016-09-27 14:31:33 +02:00
.foreman
.gitattributes Convert CHANGELOG to Markdown 2016-10-16 21:05:24 +02:00
.gitignore Verify JWT messages from gitlab-workhorse 2016-09-05 15:05:31 +02:00
.gitlab-ci.yml Merge branch 'master' into merge-conflicts-editor-2 2016-10-17 10:56:55 +01:00
.haml-lint.yml Improve .haml-lint.yml, simplify the haml_lint task and remove CHANGELOG entry 2016-09-13 18:56:00 +02:00
.mailmap Add an initial .mailmap 2016-08-06 23:21:11 +02:00
.pkgr.yml Update .pkgr.yml with Ubuntu 16.04 dependencies 2016-09-20 17:35:49 +02:00
.rspec
.rubocop.yml Update RuboCop to 0.43.0 and update configuration 2016-10-04 13:28:01 +02:00
.rubocop_todo.yml Update RuboCop to 0.43.0 and update configuration 2016-10-04 13:28:01 +02:00
.ruby-version Default build tests ruby 2.3.1 2016-08-11 19:00:00 +02:00
.scss-lint.yml Enforce TrailingSemicolon and EmptyLineBetweenBlocks in scss-lint 2016-10-14 16:28:10 -05:00
CHANGELOG.md Merge branch 'merge-conflicts-editor-2' into 'master' 2016-10-18 00:19:40 +00:00
config.ru
CONTRIBUTING.md Convert CHANGELOG to Markdown 2016-10-16 21:05:24 +02:00
doc_styleguide.md
docker-compose.yml
Gemfile Enable activerecord_sane_schema_dumper for test 2016-10-17 17:10:37 +02:00
Gemfile.lock Re-run specs if failed 2016-10-14 14:26:12 +02:00
GITLAB_SHELL_VERSION Update to gitlab-shell 3.6.6 2016-10-12 16:44:47 +02:00
GITLAB_WORKHORSE_VERSION Use gitlab-workhorse 0.8.5 2016-10-14 14:47:13 +01:00
LICENSE
MAINTENANCE.md Update MAINTENANCE.md with our latest policy 2016-07-19 09:05:56 +03:00
PROCESS.md Fix grammar (those issue -> those issues) 2016-08-31 15:23:31 +00:00
Procfile
Rakefile
README.md Add link to test coverage report to README 2016-10-10 15:22:09 +02:00
VERSION Update VERSION to 8.13.0-pre 2016-09-22 17:39:25 +02:00

GitLab

Build status CE coverage report Code Climate Core Infrastructure Initiative Best Practices

Canonical source

The canonical source of GitLab Community Edition is hosted on GitLab.com.

Open source software to collaborate on code

To see how GitLab looks please see the features page on our website.

  • Manage Git repositories with fine grained access controls that keep your code secure
  • Perform code reviews and enhance collaboration with merge requests
  • Each project can also have an issue tracker and a wiki
  • Used by more than 100,000 organizations, GitLab is the most popular solution to manage Git repositories on-premises
  • Completely free and open source (MIT Expat license)
  • Powered by Ruby on Rails

Hiring

We're hiring developers, support people, and production engineers all the time, please see our jobs page.

Editions

There are two editions of GitLab:

  • GitLab Community Edition (CE) is available freely under the MIT Expat license.
  • GitLab Enterprise Edition (EE) includes extra features that are more useful for organizations with more than 100 users. To use EE and get official support please become a subscriber.

Website

On about.gitlab.com you can find more information about:

Requirements

Please see the requirements documentation for system requirements and more information about the supported operating systems.

Installation

The recommended way to install GitLab is with the Omnibus packages on our package server. Compared to an installation from source, this is faster and less error prone. Just select your operating system, download the respective package (Debian or RPM) and install it using the system's package manager.

There are various other options to install GitLab, please refer to the installation page on the GitLab website for more information.

You can access a new installation with the login root and password 5iveL!fe, after login you are required to set a unique password.

Install a development environment

To work on GitLab itself, we recommend setting up your development environment with the GitLab Development Kit. If you do not use the GitLab Development Kit you need to install and setup all the dependencies yourself, this is a lot of work and error prone. One small thing you also have to do when installing it yourself is to copy the example development unicorn configuration file:

cp config/unicorn.rb.example.development config/unicorn.rb

Instructions on how to start GitLab and how to run the tests can be found in the development section of the GitLab Development Kit.

Software stack

GitLab is a Ruby on Rails application that runs on the following software:

  • Ubuntu/Debian/CentOS/RHEL
  • Ruby (MRI) 2.3
  • Git 2.7.4+
  • Redis 2.8+
  • MySQL or PostgreSQL

For more information please see the architecture documentation.

Third-party applications

There are a lot of third-party applications integrating with GitLab. These include GUI Git clients, mobile applications and API wrappers for various languages.

GitLab release cycle

For more information about the release process see the release documentation.

Upgrading

For upgrading information please see our update page.

Documentation

All documentation can be found on doc.gitlab.com/ce/.

Getting help

Please see Getting help for GitLab on our website for the many options to get help.

Is it any good?

Yes

Is it awesome?

Thanks for asking this question Joshua. These people seem to like it.