gitlab-org--gitlab-foss/lib/gitlab
Douwe Maan c363629691 Merge branch 'gh-pull-requests' into 'master'
Check out GH pull requests locally where the source/target branch had been deleted

## What does this MR do?

Check out GitHub pull requests where source/target branches that had been deleted locally rather than temporarily restoring them on GitHub using their References API. This helps us to not get rate limited, and allow us to import cross-repository pull requests (those from forks).

## What are the relevant issue numbers?

Fixes #15528

Fixes #17766

Fixes #19310

Fixes #19439

Fixes #19998

Fixes #20153

Fixes #20552

Fixes https://gitlab.com/gitlab-com/support-forum/issues/801

#20385

## Screenshots (if relevant)

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [X] ~~API support added~~
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] 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)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5630
2016-08-09 23:26:15 +00:00
..
auth Fix tests 2016-06-06 17:40:26 +02:00
backend Fix a bug where forking a project from a repository storage to another would fail 2016-07-26 17:22:13 -04:00
badge
bitbucket_import
checks Limit git rev-list output count to one in forced push check 2016-07-19 21:22:58 +02:00
ci Memoize CI config node validator to prevent leaks 2016-08-09 11:29:32 +02:00
database Disable statement timeout outside of transaction and during adding concurrent index 2016-07-14 18:50:46 -07:00
diff switch from diff_file_collection to diffs 2016-08-03 07:00:20 +02:00
downtime_check Added checks for migration downtime 2016-07-20 12:41:56 +02:00
email Rails prefers require_dependency so that it won't require twice: 2016-08-09 06:48:23 +00:00
fogbugz_import
gfm
git Merge branch '18627-wildcard-branch-protection' into 'master' 2016-07-07 22:37:30 +00:00
github_import Prefixes removed branches name with PR number when importing PR from GH 2016-08-08 20:24:40 -03:00
gitlab_import fixed similar issue with gitlab.com importer because why not! 2016-07-14 17:06:48 +02:00
gitorious_import
google_code_import
graphs
import_export fix MR source project assignment 2016-08-09 11:03:02 +02:00
ldap Enable Style/SpaceAroundEqualsInParameterDefault cop 2016-08-06 04:03:01 +02:00
lfs Fix LFS specs 2016-07-15 15:06:19 +02:00
markdown
metrics Reduce instrumentation overhead 2016-07-28 16:56:17 +02:00
middleware
o_auth Merge branch 'master' into dev-master 2016-07-02 22:58:21 +02:00
request_profiler Rails prefers require_dependency so that it won't require twice: 2016-08-09 06:48:23 +00:00
saml Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
sanitizers Refactored SVG sanitizer 2016-06-12 21:05:58 -04:00
sherlock
sidekiq_middleware Add support for using RequestStore within Sidekiq tasks via SIDEKIQ_REQUEST_STORE env variable 2016-07-25 17:59:09 -07:00
sql
template fixup! override content method 2016-06-20 14:48:28 -05:00
access.rb Optimize maximum user access level lookup in loading of notes 2016-07-26 15:33:05 -07:00
akismet_helper.rb Refactor spam validation to a concern that can be easily reused and improve legibility in SpamCheckService 2016-07-26 19:29:16 -05:00
app_logger.rb
asciidoc.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
auth.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
award_emoji.rb Upgrade Gemojione from 2.6.1 to 3.0.1. 2016-07-18 10:40:16 -06:00
bitbucket_import.rb
blame.rb add custom highlighting via .gitattributes 2016-06-27 14:17:49 -07:00
build_data_builder.rb
closing_issue_extractor.rb Don’t close issues on original project from a fork 2016-08-04 12:38:08 +02:00
color_schemes.rb
config_helper.rb
contributions_calendar.rb
contributor.rb
current_settings.rb Refactor and rename restricted_signup_domains to domain_whitelist to better conform to its behavior and newly introduced behavior. 2016-07-18 17:53:43 -05:00
database.rb Fix methods visibility in gitlab database module 2016-07-19 15:12:14 +02:00
devise_failure.rb
downtime_check.rb Added checks for migration downtime 2016-07-20 12:41:56 +02:00
emoji.rb Add emoji.rb in lib/gitlab instead of using the gitlab_emoji gem. 2016-06-29 14:53:09 -06:00
exclusive_lease.rb
git.rb
git_access.rb Stop 'git push' over HTTP early 2016-08-03 14:54:12 +02:00
git_access_status.rb Ensure to_json methods take optional argument 2016-07-20 11:14:06 +01:00
git_access_wiki.rb Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
git_logger.rb
git_post_receive.rb Log base64-decoded PostReceive arguments 2016-08-05 15:00:12 +02:00
git_ref_validator.rb
gitorious_import.rb
gl_id.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
gon_helper.rb Fix help page paths to make sure shortcuts and the UI help page work. 2016-07-19 11:17:14 -06:00
highlight.rb use the proper variable names o_O 2016-07-14 12:21:22 -07:00
identifier.rb
import_export.rb using shared path for project import uploads and refactored gitlab remove export worker 2016-08-04 12:51:55 +02:00
import_formatter.rb
import_sources.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
incoming_email.rb
issues_labels.rb
key_fingerprint.rb Enable Style/UnneededCapitalW Rubocop cop 2016-06-30 13:31:52 +02:00
lazy.rb
logger.rb
mail_room.rb Small refactor and a few documentation fixes 2016-08-04 19:02:39 +02:00
markup_helper.rb
metrics.rb Gitlab::Metrics.current_transaction needs to be public for RailsQueueDuration 2016-08-01 14:13:04 +02:00
note_data_builder.rb
other_markup.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
popen.rb Enable Style/SpaceAroundEqualsInParameterDefault cop 2016-08-06 04:03:01 +02:00
production_logger.rb
project_search_results.rb
protocol_access.rb Default Git access protocol to web 2016-07-05 16:54:22 -05:00
push_data_builder.rb
recaptcha.rb
redis.rb Small refactor in Redis class and improved specs 2016-08-06 04:15:16 +02:00
reference_extractor.rb
regex.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
repository_check_logger.rb
request_profiler.rb Profile requests when a header is passed 2016-07-26 20:06:09 +02:00
routing.rb
search_results.rb
seeder.rb
sherlock.rb
sidekiq_logger.rb
snippet_search_results.rb
themes.rb Refactor gitlab themes module to make it singleton 2016-07-19 15:12:14 +02:00
timeless.rb Add Timeless helper module to prevent updated_at from being updated 2016-07-06 18:50:58 -04:00
upgrader.rb
uploads_transfer.rb
url_builder.rb
url_sanitizer.rb spec and fix for sanitize method 2016-07-11 09:01:09 +02:00
user_access.rb changes default_branch_protection to allow devs_can_merge protection option aswell 2016-08-04 21:15:26 +01:00
utils.rb
version_info.rb
visibility_level.rb
workhorse.rb If version file is unavailable unknown status 2016-07-23 06:56:32 +02:00