gitlab-org--gitlab-foss/lib/gitlab
Christian Couder 8256d4075d Support rm src branch on merge w/ push option
MergeRequests::PushOptionsHandlerService has been updated to allow
creating and updating merge requests with the
`remove_source_branch` set using git push options.

To create a new merge request and set it to remove the source branch
when it is merged:

  git push -u origin -o merge_request.create \
    -o merge_request.remove_source_branch

To update an existing merge request and set it to remove the source
branch when it is merged:

  git push -u origin -o merge_request.remove_source_branch

Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64320
2019-07-17 13:32:41 +02:00
..
access Refactor code for protecting default branches 2019-01-16 14:25:14 +01:00
action_view_output Fix slow performance with compiling HAML templates 2019-04-29 05:33:50 -07:00
asciidoc Enable AsciiDoc syntax highlighting (using Rouge) 2019-07-02 09:24:05 +02:00
auth Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
background_migration Migrate null values for users.private_profile 2019-07-15 21:07:54 +00:00
badge Add :preparing status to HasStatus 2019-03-20 11:48:31 +11:00
bare_repository_import Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
bitbucket_import Avoid storing backtraces from Bitbucket Cloud imports in the database 2019-06-19 12:04:24 -07:00
bitbucket_server_import Fix issuables state_id nil when importing projects from GitHub 2019-05-06 19:45:17 +00:00
cache
chat Move ChatOps to Core 2019-02-20 21:29:48 +00:00
checks Add documentation and tests 2019-06-19 07:08:56 +00:00
ci Propagate PIP index URL 2019-07-17 00:59:03 +00:00
cleanup Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
cluster Run do_master_restart callback on server start 2019-07-01 15:32:19 +00:00
config Prevent Billion Laughs attack 2019-07-02 06:23:06 +00:00
conflict
cross_project_access
cycle_analytics Add attribute reader 2019-07-10 13:22:29 +02:00
danger DRY up conditions for files require DB review 2019-07-04 18:47:16 +00:00
data_builder Added labels_hook_attrs method 2019-06-24 11:51:34 +02:00
database Upgrade to Rails 5.2 2019-07-12 10:15:31 +08:00
database_importers Remove unnecessary rubocop disable 2019-07-09 17:02:08 -06:00
dependency_linker Raise not implemented error on BaseLinker for package_url 2019-02-25 10:22:13 -03:00
diff Refactor PositionTracer to support different types 2019-07-05 11:03:47 +00:00
discussions_diff Remove cleaned up OIDs from database and cache 2019-05-06 11:35:03 +01:00
downtime_check
email Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
error_tracking Update Sentry client to get project list 2019-01-31 10:05:29 +00:00
etag_caching Fix real-time updates for projects that contain a reserved word 2019-04-05 11:59:20 -07:00
external_authorization Adds identity information while making external authorization requests 2019-06-19 06:04:33 +00:00
fogbugz_import Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
gfm Enable CommonMark source line position information 2019-01-21 13:45:16 -06:00
git Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
git_access_result Allow console messages be sent to gitlab-shell 2019-04-04 14:20:11 +11:00
gitaly_client Upgrade Gitaly-Proto to 1.37.0 2019-07-16 10:33:07 +02:00
github_import Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
gitlab_import
gl_repository Make Gitlab::GlRepository#types an instance method 2019-04-30 17:17:08 +02:00
google_code_import
gpg Fix GPG signature verification with recent versions of GnuPG 2019-06-17 13:33:39 +00:00
grape_logging Migrate correlation and tracing code to LabKit 2019-04-18 09:57:16 +02:00
graphql Improve Graphql Docs 2019-07-11 08:06:35 +00:00
graphs
hashed_storage Display the amount for Hashed Storage migration/rollback correctly 2019-07-10 22:14:50 +01:00
health_checks Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
hook_data Added labels_hook_attrs method 2019-06-24 11:51:34 +02:00
i18n Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
import Setup Phabricator import 2019-05-31 09:40:54 +02:00
import_export Merge branch 'remove-support-for-legacy-pipeline-triggers' into 'master' 2019-07-16 12:16:12 +00:00
kubernetes GitLab Managed App ensure helm version uses tls opts 2019-07-15 11:38:40 +10:00
legacy_github_import Show upcoming status for releases 2019-07-03 09:12:15 +00:00
lets_encrypt Use project depended feature flag for pages ssl 2019-06-25 10:30:12 +02:00
manifest_import
markdown_cache Banzai - avoid redis if attr is in DB cache 2019-07-10 21:35:43 -06:00
metrics Remove unused method 2019-07-11 18:25:43 +00:00
middleware Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
patch Use transactions in JS feature specs 2019-07-12 10:39:14 +08:00
performance_bar Only save Peek session in Redis when Peek is enabled 2019-07-03 16:02:42 +02:00
phabricator_import Fetch users from Phabricator to link to issues 2019-07-10 17:15:43 +02:00
popen
profiler
project_authorizations
prometheus Remove legacy Kubernetes #actual_namespace 2019-05-21 11:38:11 -05:00
query_limiting
quick_actions Change 'Todo' to 'To Do' 2019-07-04 15:45:54 +00:00
redis
request_profiler
sanitizers Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
search Fix a typo in lib/gitlab/search/found_blob.rb 2019-07-01 10:43:06 +02:00
serializer
sherlock Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
sidekiq_logging Limit Sidekiq args logging to 10 KB of JSON 2019-01-22 10:54:12 +00:00
sidekiq_middleware Migrate correlation and tracing code to LabKit 2019-04-18 09:57:16 +02:00
sidekiq_status
sidekiq_versioning
slash_commands Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
sql Ignore min_chars_for_partial_matching unles trigrm 2019-07-04 10:56:13 -06:00
template Merge branch 'require-all-templates-to-include-default-stages' into 'master' 2019-04-15 12:47:35 +02:00
testing
untrusted_regexp Allow to use untrusted Regexp via feature flag 2019-04-04 15:00:56 +00:00
usage_data_counters Refactored WebIdeCommitsCount class 2019-07-16 13:12:37 +00:00
utils Prevent Billion Laughs attack 2019-07-02 06:23:06 +00:00
verify
view/presenter
webpack
access.rb Add part of needed code 2019-04-05 18:49:46 +00:00
action_rate_limiter.rb
allowable.rb
app_logger.rb
asciidoc.rb Enable section anchors 2019-07-16 12:53:38 +02:00
audit_json_logger.rb
auth.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
auth_logger.rb Changes RackAttack logger to use structured logs 2019-05-24 00:45:02 +00:00
authorized_keys.rb Handle cases when authorized_keys doesn't exist 2019-03-20 09:16:26 +08:00
background_migration.rb Add methods to check dead and retrying jobs 2019-04-08 19:47:36 -03:00
base_doorkeeper_controller.rb
batch_pop_queueing.rb Efficient merge train locks 2019-07-11 13:44:12 +07:00
blame.rb
blob_helper.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
branch_push_merge_commit_analyzer.rb
build_access.rb
changes_list.rb
chat.rb Move ChatOps to Core 2019-02-20 21:29:48 +00:00
chat_name_token.rb
ci_access.rb
closing_issue_extractor.rb
color_schemes.rb Add "none" syntax highlighting "color" scheme 2018-12-18 00:34:50 +00:00
config_helper.rb
content_disposition.rb Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
contributions_calendar.rb Eliminate most N+1 queries loading UserController#calendar_activities 2019-03-01 10:57:09 -08:00
contributor.rb
correlation_id.rb
cross_project_access.rb
crypto_helper.rb
current_settings.rb Upgrade to Rails 5.2 2019-07-12 10:15:31 +08:00
daemon.rb
database.rb Merge branch 'js-specs-transactions' into 'master' 2019-07-12 13:30:42 +00:00
dependency_linker.rb
downtime_check.rb
ee_compat_check.rb Don't ignore conflicts in db/schema.rb 2019-01-04 16:22:00 +01:00
emoji.rb
encoding_helper.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
environment.rb
environment_logger.rb
exclusive_lease.rb
exclusive_lease_helpers.rb
external_authorization.rb Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE 2019-04-09 15:38:58 +00:00
fake_application_settings.rb Introduce ApplicationSettingImplementation yay 2019-03-19 13:01:37 +08:00
favicon.rb fix(favicon): get favicon_path, so it works also with uploads object store 2019-06-14 13:58:51 +02:00
file_detector.rb Update metrics dashboard API to load yml from repo 2019-05-01 10:16:03 +00:00
file_finder.rb
file_markdown_link_builder.rb
file_type_detection.rb
git.rb Revert "Use to_s.start_with? in tag/branch ref method" 2018-12-08 19:28:56 +01:00
git_access.rb Port changes for design management to CE 2019-04-29 08:28:43 +02:00
git_access_wiki.rb Don't run single change checks when changes are unknown 2019-01-02 15:31:32 +01:00
git_logger.rb
git_post_receive.rb Use Gitlab::PushOptions for ci.skip push option 2019-04-09 10:03:26 +12:00
git_ref_validator.rb Validate MR branch names 2019-05-03 03:02:58 +08:00
gitaly_client.rb Remove catfile cache feature flag 2019-07-15 11:32:56 -07:00
github_import.rb
gl_id.rb
gl_repository.rb Make Gitlab::GlRepository#types an instance method 2019-04-30 17:17:08 +02:00
global_id.rb GraphQL support for Notes created in discussions 2019-07-10 12:13:48 +12:00
gon_helper.rb Push feature flag for embedding metrics 2019-07-09 04:04:59 +00:00
gpg.rb Remove rails4 specific code 2018-12-16 10:48:41 +01:00
graphql.rb Remove :graphql feature flag 2019-07-09 12:45:23 +00:00
graphql_logger.rb Implement logger analyzer 2019-05-30 18:27:28 +12:00
group_search_results.rb Add improvements to the global search process 2019-05-07 11:08:25 +00:00
highlight.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
http.rb Add OpenSSL::OpenSSLError to HTTP_ERRORS 2019-07-05 21:05:24 +00:00
http_connection_adapter.rb Add DNS rebinding protection settings 2019-05-30 10:47:57 -03:00
http_io.rb
i18n.rb
identifier.rb
import_export.rb
import_formatter.rb
import_sources.rb Setup Phabricator import 2019-05-31 09:40:54 +02:00
incoming_email.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
insecure_key_fingerprint.rb
issuable_metadata.rb Expose merge requests count based on user access 2019-06-18 12:46:46 +03:00
issuable_sorter.rb
issuables_count_for_state.rb
issues_labels.rb
job_waiter.rb
json_cache.rb Parse the cached value when the it is false 2019-06-25 19:30:05 -03:00
json_logger.rb Migrate correlation and tracing code to LabKit 2019-04-18 09:57:16 +02:00
kubernetes.rb Select deployments that only has the app label 2019-06-21 20:45:06 +00:00
language_data.rb
language_detection.rb
lazy.rb
lets_encrypt.rb Remove auto ssl feature flags 2019-07-12 16:53:44 +00:00
lfs_token.rb Geo: Remove Gitlab::LfsToken::LegacyRedisDeviseToken implementation 2019-05-22 16:11:08 +10:00
logger.rb
loop_helpers.rb Remove expired artifacts periodically 2019-01-24 20:50:42 +09:00
mail_room.rb
markdown_cache.rb Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00
markup_helper.rb
metrics.rb
multi_collection_paginator.rb
namespace_sanitizer.rb
namespaced_session_store.rb CE port of "Require session with smartcard login for Git access" 2019-07-05 08:12:29 +02:00
null_request_store.rb
object_hierarchy.rb Prevent infinite loops in ObjectHierarchy 2019-04-05 07:56:21 +08:00
omniauth_initializer.rb Symbolize client_auth_method for quirked providers 2019-07-15 09:01:55 -05:00
optimistic_locking.rb Adds metrics to measure database transactions 2019-06-28 12:46:51 +02:00
other_markup.rb
otp_key_rotator.rb
pages.rb
pages_client.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
pages_transfer.rb
path_regex.rb Remove deprecated /u/:username routes 2019-06-26 09:18:13 +03:00
performance_bar.rb Cache PerformanceBar.allowed_user_ids list locally and in Redis 2019-07-03 18:47:30 +02:00
phabricator_import.rb Setup Phabricator import 2019-05-31 09:40:54 +02:00
plugin.rb
plugin_logger.rb
polling_interval.rb
popen.rb
private_commit_email.rb
profiler.rb Fix Profiler to work with Ruby 5.1 2019-04-26 21:22:23 -07:00
project_search_results.rb Resolve: Milestones leaked via search API 2019-05-20 11:08:34 -03:00
project_service_logger.rb
project_template.rb Add Android template 2019-03-07 20:02:40 +01:00
project_transfer.rb
prometheus_client.rb Add a proxy method to PrometheusClient 2019-04-05 08:05:54 +00:00
protocol_access.rb
push_options.rb Support rm src branch on merge w/ push option 2019-07-17 13:32:41 +02:00
query_limiting.rb
recaptcha.rb Apply recaptcha API changes in 4.0 2019-03-08 15:04:04 +01:00
reference_counter.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
reference_extractor.rb
regex.rb Lesser Namespace#name validations 2019-07-09 18:09:45 +02:00
repo_path.rb Fall back to project repository type by default 2019-04-05 10:51:42 +00:00
repository_cache.rb Revert "Merge branch '3062-improve-project-cache' into 'master'" 2019-01-08 13:14:06 -08:00
repository_cache_adapter.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
repository_check_logger.rb
request_context.rb Fix health checks not working behind load balancers 2019-03-12 12:46:40 -07:00
request_forgery_protection.rb
request_profiler.rb
route_map.rb
routing.rb Fix typos in the whole gitlab-ce project 2019-05-20 14:11:44 +00:00
safe_request_store.rb Change SafeRequestStore#write to accept an options hash 2018-12-17 19:57:03 -02:00
search_results.rb Revert "Avoid loading objects from DB in ES results" 2019-06-13 11:07:55 +01:00
seeder.rb Backport of elastic-test-repos from EE 2019-01-08 17:18:15 -06:00
sentry.rb refactor: remove Sentry from application settings 2019-06-25 21:17:19 +02:00
session.rb Session stored globally per request 2019-05-02 12:28:26 +07:00
setup_helper.rb Only use Gitaly catfile_cache_size=5 in test 2019-06-06 14:11:44 +00:00
shard_health_cache.rb
shell.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
shell_adapter.rb
sherlock.rb
sidekiq_config.rb Change path of bin/sidkiq-cluster in comments 2019-04-29 10:32:33 +10:00
sidekiq_logger.rb
sidekiq_signals.rb Fix Sidekiq process group killing 2019-03-07 12:37:59 +00:00
sidekiq_status.rb Clarify documentation of Gitlab::SidekiqStatus 2019-07-04 08:45:14 +01:00
sidekiq_versioning.rb
snippet_search_results.rb
ssh_public_key.rb Fix ConstantName rubocop offense 2018-12-09 22:45:48 +05:00
string_placeholder_replacer.rb
string_range_marker.rb
string_regex_marker.rb
task_helpers.rb Add cache to the 'compile-assets' and 'gitlab:assets:compile' jobs 2019-02-05 14:04:54 +01:00
tcp_checker.rb
template_helper.rb
temporarily_allow.rb
themes.rb
thread_memory_cache.rb Add a memory cache local to the thread to reduce Redis load 2019-07-01 22:23:01 -07:00
time_tracking_formatter.rb Rename to time_tracking_limit_to_hours 2019-06-25 09:31:23 +08:00
timeless.rb
tracing.rb Switch back to using regexps in tracing_url_template 2019-02-22 14:47:37 +02:00
tree_summary.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
untrusted_regexp.rb Bring back Gitlab::UntrustedRegexp.with_fallback 2019-04-03 15:31:56 +08:00
update_path_error.rb
uploads_transfer.rb
url_blocker.rb Don't use bang method when there is no safe method 2019-07-12 07:04:44 +00:00
url_builder.rb Update deployment chat message notification 2019-05-02 16:07:26 +00:00
url_helpers.rb Renamed terminal_specification to channel_specification 2019-04-04 18:32:02 +00:00
url_sanitizer.rb Hide password on import by url form 2019-05-29 14:03:50 +03:00
usage_data.rb Refactored WebIdeCommitsCount class 2019-07-16 13:12:37 +00:00
user_access.rb Add documentation and tests 2019-06-19 07:08:56 +00:00
utils.rb Backport try_megabytes_to_bytes from EE 2019-03-12 14:04:05 +01:00
version_info.rb Revert the "What's new" feature 2019-01-29 20:45:47 +00:00
visibility_level.rb Fix inability to set visibility_level on project via API 2019-06-14 07:36:35 -07:00
wiki_file_finder.rb Remove BATCH_SIZE from WikiFileFinder 2019-02-06 13:22:35 +01:00
workhorse.rb Add a feature flag for subdirectory archives 2019-04-16 15:16:23 +01:00
zoom_link_extractor.rb Fetch latest link in the description for zoom link, add more tests and remove frontend spec unnecessary tests 2019-07-17 06:41:26 +00:00