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
dfbe5ce4
Commit
dfbe5ce4
authored
Jun 27, 2018
by
gfyoung
Committed by
Rémy Coutable
Jun 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable frozen string literals for app/workers/*.rb
parent
c03701b9
Changes
87
Hide whitespace changes
Inline
Side-by-side
Showing
87 changed files
with
183 additions
and
9 deletions
+183
-9
app/workers/admin_email_worker.rb
app/workers/admin_email_worker.rb
+2
-0
app/workers/archive_trace_worker.rb
app/workers/archive_trace_worker.rb
+2
-0
app/workers/authorized_projects_worker.rb
app/workers/authorized_projects_worker.rb
+2
-0
app/workers/background_migration_worker.rb
app/workers/background_migration_worker.rb
+2
-0
app/workers/build_coverage_worker.rb
app/workers/build_coverage_worker.rb
+2
-0
app/workers/build_finished_worker.rb
app/workers/build_finished_worker.rb
+2
-0
app/workers/build_hooks_worker.rb
app/workers/build_hooks_worker.rb
+2
-0
app/workers/build_queue_worker.rb
app/workers/build_queue_worker.rb
+2
-0
app/workers/build_success_worker.rb
app/workers/build_success_worker.rb
+2
-0
app/workers/build_trace_sections_worker.rb
app/workers/build_trace_sections_worker.rb
+2
-0
app/workers/cluster_install_app_worker.rb
app/workers/cluster_install_app_worker.rb
+2
-0
app/workers/cluster_provision_worker.rb
app/workers/cluster_provision_worker.rb
+2
-0
app/workers/cluster_wait_for_app_installation_worker.rb
app/workers/cluster_wait_for_app_installation_worker.rb
+2
-0
app/workers/cluster_wait_for_ingress_ip_address_worker.rb
app/workers/cluster_wait_for_ingress_ip_address_worker.rb
+2
-0
app/workers/create_gpg_signature_worker.rb
app/workers/create_gpg_signature_worker.rb
+2
-0
app/workers/create_note_diff_file_worker.rb
app/workers/create_note_diff_file_worker.rb
+2
-0
app/workers/create_pipeline_worker.rb
app/workers/create_pipeline_worker.rb
+2
-0
app/workers/delete_merged_branches_worker.rb
app/workers/delete_merged_branches_worker.rb
+2
-0
app/workers/delete_user_worker.rb
app/workers/delete_user_worker.rb
+2
-0
app/workers/email_receiver_worker.rb
app/workers/email_receiver_worker.rb
+2
-0
app/workers/emails_on_push_worker.rb
app/workers/emails_on_push_worker.rb
+2
-0
app/workers/expire_build_artifacts_worker.rb
app/workers/expire_build_artifacts_worker.rb
+2
-0
app/workers/expire_build_instance_artifacts_worker.rb
app/workers/expire_build_instance_artifacts_worker.rb
+2
-0
app/workers/expire_job_cache_worker.rb
app/workers/expire_job_cache_worker.rb
+2
-0
app/workers/expire_pipeline_cache_worker.rb
app/workers/expire_pipeline_cache_worker.rb
+2
-0
app/workers/git_garbage_collect_worker.rb
app/workers/git_garbage_collect_worker.rb
+2
-0
app/workers/gitlab_shell_worker.rb
app/workers/gitlab_shell_worker.rb
+2
-0
app/workers/gitlab_usage_ping_worker.rb
app/workers/gitlab_usage_ping_worker.rb
+2
-0
app/workers/group_destroy_worker.rb
app/workers/group_destroy_worker.rb
+2
-0
app/workers/import_export_project_cleanup_worker.rb
app/workers/import_export_project_cleanup_worker.rb
+2
-0
app/workers/invalid_gpg_signature_update_worker.rb
app/workers/invalid_gpg_signature_update_worker.rb
+2
-0
app/workers/irker_worker.rb
app/workers/irker_worker.rb
+8
-9
app/workers/issue_due_scheduler_worker.rb
app/workers/issue_due_scheduler_worker.rb
+2
-0
app/workers/merge_worker.rb
app/workers/merge_worker.rb
+2
-0
app/workers/namespaceless_project_destroy_worker.rb
app/workers/namespaceless_project_destroy_worker.rb
+2
-0
app/workers/new_issue_worker.rb
app/workers/new_issue_worker.rb
+2
-0
app/workers/new_merge_request_worker.rb
app/workers/new_merge_request_worker.rb
+2
-0
app/workers/new_note_worker.rb
app/workers/new_note_worker.rb
+2
-0
app/workers/object_storage_upload_worker.rb
app/workers/object_storage_upload_worker.rb
+2
-0
app/workers/pages_domain_verification_cron_worker.rb
app/workers/pages_domain_verification_cron_worker.rb
+2
-0
app/workers/pages_domain_verification_worker.rb
app/workers/pages_domain_verification_worker.rb
+2
-0
app/workers/pages_worker.rb
app/workers/pages_worker.rb
+2
-0
app/workers/pipeline_hooks_worker.rb
app/workers/pipeline_hooks_worker.rb
+2
-0
app/workers/pipeline_metrics_worker.rb
app/workers/pipeline_metrics_worker.rb
+2
-0
app/workers/pipeline_notification_worker.rb
app/workers/pipeline_notification_worker.rb
+2
-0
app/workers/pipeline_process_worker.rb
app/workers/pipeline_process_worker.rb
+2
-0
app/workers/pipeline_schedule_worker.rb
app/workers/pipeline_schedule_worker.rb
+2
-0
app/workers/pipeline_success_worker.rb
app/workers/pipeline_success_worker.rb
+2
-0
app/workers/pipeline_update_worker.rb
app/workers/pipeline_update_worker.rb
+2
-0
app/workers/plugin_worker.rb
app/workers/plugin_worker.rb
+2
-0
app/workers/post_receive.rb
app/workers/post_receive.rb
+2
-0
app/workers/process_commit_worker.rb
app/workers/process_commit_worker.rb
+2
-0
app/workers/project_cache_worker.rb
app/workers/project_cache_worker.rb
+2
-0
app/workers/project_destroy_worker.rb
app/workers/project_destroy_worker.rb
+2
-0
app/workers/project_export_worker.rb
app/workers/project_export_worker.rb
+2
-0
app/workers/project_migrate_hashed_storage_worker.rb
app/workers/project_migrate_hashed_storage_worker.rb
+2
-0
app/workers/project_service_worker.rb
app/workers/project_service_worker.rb
+2
-0
app/workers/propagate_service_template_worker.rb
app/workers/propagate_service_template_worker.rb
+2
-0
app/workers/prune_old_events_worker.rb
app/workers/prune_old_events_worker.rb
+2
-0
app/workers/reactive_caching_worker.rb
app/workers/reactive_caching_worker.rb
+2
-0
app/workers/rebase_worker.rb
app/workers/rebase_worker.rb
+2
-0
app/workers/remove_expired_group_links_worker.rb
app/workers/remove_expired_group_links_worker.rb
+2
-0
app/workers/remove_expired_members_worker.rb
app/workers/remove_expired_members_worker.rb
+2
-0
app/workers/remove_old_web_hook_logs_worker.rb
app/workers/remove_old_web_hook_logs_worker.rb
+2
-0
app/workers/remove_unreferenced_lfs_objects_worker.rb
app/workers/remove_unreferenced_lfs_objects_worker.rb
+2
-0
app/workers/repository_archive_cache_worker.rb
app/workers/repository_archive_cache_worker.rb
+2
-0
app/workers/repository_fork_worker.rb
app/workers/repository_fork_worker.rb
+2
-0
app/workers/repository_import_worker.rb
app/workers/repository_import_worker.rb
+2
-0
app/workers/repository_remove_remote_worker.rb
app/workers/repository_remove_remote_worker.rb
+2
-0
app/workers/repository_update_remote_mirror_worker.rb
app/workers/repository_update_remote_mirror_worker.rb
+2
-0
app/workers/requests_profiles_worker.rb
app/workers/requests_profiles_worker.rb
+2
-0
app/workers/run_pipeline_schedule_worker.rb
app/workers/run_pipeline_schedule_worker.rb
+2
-0
app/workers/schedule_update_user_activity_worker.rb
app/workers/schedule_update_user_activity_worker.rb
+2
-0
app/workers/stage_update_worker.rb
app/workers/stage_update_worker.rb
+2
-0
app/workers/storage_migrator_worker.rb
app/workers/storage_migrator_worker.rb
+2
-0
app/workers/stuck_ci_jobs_worker.rb
app/workers/stuck_ci_jobs_worker.rb
+2
-0
app/workers/stuck_import_jobs_worker.rb
app/workers/stuck_import_jobs_worker.rb
+2
-0
app/workers/stuck_merge_jobs_worker.rb
app/workers/stuck_merge_jobs_worker.rb
+2
-0
app/workers/system_hook_push_worker.rb
app/workers/system_hook_push_worker.rb
+2
-0
app/workers/trending_projects_worker.rb
app/workers/trending_projects_worker.rb
+2
-0
app/workers/update_head_pipeline_for_merge_request_worker.rb
app/workers/update_head_pipeline_for_merge_request_worker.rb
+2
-0
app/workers/update_merge_requests_worker.rb
app/workers/update_merge_requests_worker.rb
+2
-0
app/workers/update_user_activity_worker.rb
app/workers/update_user_activity_worker.rb
+2
-0
app/workers/upload_checksum_worker.rb
app/workers/upload_checksum_worker.rb
+2
-0
app/workers/wait_for_cluster_creation_worker.rb
app/workers/wait_for_cluster_creation_worker.rb
+2
-0
app/workers/web_hook_worker.rb
app/workers/web_hook_worker.rb
+2
-0
changelogs/unreleased/frozen-string-app-workers.yml
changelogs/unreleased/frozen-string-app-workers.yml
+5
-0
No files found.
app/workers/admin_email_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
AdminEmailWorker
class
AdminEmailWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/archive_trace_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ArchiveTraceWorker
class
ArchiveTraceWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineBackgroundQueue
include
PipelineBackgroundQueue
...
...
app/workers/authorized_projects_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
AuthorizedProjectsWorker
class
AuthorizedProjectsWorker
include
ApplicationWorker
include
ApplicationWorker
prepend
WaitableWorker
prepend
WaitableWorker
...
...
app/workers/background_migration_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
BackgroundMigrationWorker
class
BackgroundMigrationWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/build_coverage_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
BuildCoverageWorker
class
BuildCoverageWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/build_finished_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
BuildFinishedWorker
class
BuildFinishedWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/build_hooks_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
BuildHooksWorker
class
BuildHooksWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/build_queue_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
BuildQueueWorker
class
BuildQueueWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/build_success_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
BuildSuccessWorker
class
BuildSuccessWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/build_trace_sections_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
BuildTraceSectionsWorker
class
BuildTraceSectionsWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/cluster_install_app_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ClusterInstallAppWorker
class
ClusterInstallAppWorker
include
ApplicationWorker
include
ApplicationWorker
include
ClusterQueue
include
ClusterQueue
...
...
app/workers/cluster_provision_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ClusterProvisionWorker
class
ClusterProvisionWorker
include
ApplicationWorker
include
ApplicationWorker
include
ClusterQueue
include
ClusterQueue
...
...
app/workers/cluster_wait_for_app_installation_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ClusterWaitForAppInstallationWorker
class
ClusterWaitForAppInstallationWorker
include
ApplicationWorker
include
ApplicationWorker
include
ClusterQueue
include
ClusterQueue
...
...
app/workers/cluster_wait_for_ingress_ip_address_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ClusterWaitForIngressIpAddressWorker
class
ClusterWaitForIngressIpAddressWorker
include
ApplicationWorker
include
ApplicationWorker
include
ClusterQueue
include
ClusterQueue
...
...
app/workers/create_gpg_signature_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
CreateGpgSignatureWorker
class
CreateGpgSignatureWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/create_note_diff_file_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
CreateNoteDiffFileWorker
class
CreateNoteDiffFileWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/create_pipeline_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
CreatePipelineWorker
class
CreatePipelineWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/delete_merged_branches_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
DeleteMergedBranchesWorker
class
DeleteMergedBranchesWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/delete_user_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
DeleteUserWorker
class
DeleteUserWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/email_receiver_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
EmailReceiverWorker
class
EmailReceiverWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/emails_on_push_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
EmailsOnPushWorker
class
EmailsOnPushWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/expire_build_artifacts_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ExpireBuildArtifactsWorker
class
ExpireBuildArtifactsWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/expire_build_instance_artifacts_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ExpireBuildInstanceArtifactsWorker
class
ExpireBuildInstanceArtifactsWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/expire_job_cache_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ExpireJobCacheWorker
class
ExpireJobCacheWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/expire_pipeline_cache_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ExpirePipelineCacheWorker
class
ExpirePipelineCacheWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/git_garbage_collect_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
GitGarbageCollectWorker
class
GitGarbageCollectWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/gitlab_shell_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
GitlabShellWorker
class
GitlabShellWorker
include
ApplicationWorker
include
ApplicationWorker
include
Gitlab
::
ShellAdapter
include
Gitlab
::
ShellAdapter
...
...
app/workers/gitlab_usage_ping_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
GitlabUsagePingWorker
class
GitlabUsagePingWorker
LEASE_TIMEOUT
=
86400
LEASE_TIMEOUT
=
86400
...
...
app/workers/group_destroy_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
GroupDestroyWorker
class
GroupDestroyWorker
include
ApplicationWorker
include
ApplicationWorker
include
ExceptionBacktrace
include
ExceptionBacktrace
...
...
app/workers/import_export_project_cleanup_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ImportExportProjectCleanupWorker
class
ImportExportProjectCleanupWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/invalid_gpg_signature_update_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
InvalidGpgSignatureUpdateWorker
class
InvalidGpgSignatureUpdateWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/irker_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
require
'json'
require
'json'
require
'socket'
require
'socket'
...
@@ -69,8 +71,8 @@ class IrkerWorker
...
@@ -69,8 +71,8 @@ class IrkerWorker
newbranch
=
"
#{
Gitlab
.
config
.
gitlab
.
url
}
/
#{
repo_path
}
/branches"
newbranch
=
"
#{
Gitlab
.
config
.
gitlab
.
url
}
/
#{
repo_path
}
/branches"
newbranch
=
"
\x03
02
\x1f
#{
newbranch
}
\x0f
"
if
@colors
newbranch
=
"
\x03
02
\x1f
#{
newbranch
}
\x0f
"
if
@colors
privmsg
=
"[
#{
repo_name
}
]
#{
committer
}
has created a new branch "
privmsg
=
"[
#{
repo_name
}
]
#{
committer
}
has created a new branch "
\
privmsg
+=
"
#{
branch
}
:
#{
newbranch
}
"
"
#{
branch
}
:
#{
newbranch
}
"
sendtoirker
privmsg
sendtoirker
privmsg
end
end
...
@@ -112,9 +114,7 @@ class IrkerWorker
...
@@ -112,9 +114,7 @@ class IrkerWorker
url
=
compare_url
data
,
project
.
full_path
url
=
compare_url
data
,
project
.
full_path
commits
=
colorize_commits
data
[
'total_commits_count'
]
commits
=
colorize_commits
data
[
'total_commits_count'
]
new_commits
=
'new commit'
new_commits
=
'new commit'
.
pluralize
(
data
[
'total_commits_count'
])
new_commits
+=
's'
if
data
[
'total_commits_count'
]
>
1
sendtoirker
"[
#{
repo
}
]
#{
committer
}
pushed
#{
commits
}
#{
new_commits
}
"
\
sendtoirker
"[
#{
repo
}
]
#{
committer
}
pushed
#{
commits
}
#{
new_commits
}
"
\
"to
#{
branch
}
:
#{
url
}
"
"to
#{
branch
}
:
#{
url
}
"
end
end
...
@@ -122,8 +122,8 @@ class IrkerWorker
...
@@ -122,8 +122,8 @@ class IrkerWorker
def
compare_url
(
data
,
repo_path
)
def
compare_url
(
data
,
repo_path
)
sha1
=
Commit
.
truncate_sha
(
data
[
'before'
])
sha1
=
Commit
.
truncate_sha
(
data
[
'before'
])
sha2
=
Commit
.
truncate_sha
(
data
[
'after'
])
sha2
=
Commit
.
truncate_sha
(
data
[
'after'
])
compare_url
=
"
#{
Gitlab
.
config
.
gitlab
.
url
}
/
#{
repo_path
}
/compare"
compare_url
=
"
#{
Gitlab
.
config
.
gitlab
.
url
}
/
#{
repo_path
}
/compare"
\
compare_url
+=
"/
#{
sha1
}
...
#{
sha2
}
"
"/
#{
sha1
}
...
#{
sha2
}
"
colorize_url
compare_url
colorize_url
compare_url
end
end
...
@@ -144,8 +144,7 @@ class IrkerWorker
...
@@ -144,8 +144,7 @@ class IrkerWorker
def
files_count
(
commit
)
def
files_count
(
commit
)
diff_size
=
commit
.
raw_deltas
.
size
diff_size
=
commit
.
raw_deltas
.
size
files
=
"
#{
diff_size
}
file"
files
=
"
#{
diff_size
}
file"
.
pluralize
(
diff_size
)
files
+=
's'
if
diff_size
>
1
files
files
end
end
...
...
app/workers/issue_due_scheduler_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
IssueDueSchedulerWorker
class
IssueDueSchedulerWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/merge_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
MergeWorker
class
MergeWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/namespaceless_project_destroy_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
# Worker to destroy projects that do not have a namespace
# Worker to destroy projects that do not have a namespace
#
#
# It destroys everything it can without having the info about the namespace it
# It destroys everything it can without having the info about the namespace it
...
...
app/workers/new_issue_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
NewIssueWorker
class
NewIssueWorker
include
ApplicationWorker
include
ApplicationWorker
include
NewIssuable
include
NewIssuable
...
...
app/workers/new_merge_request_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
NewMergeRequestWorker
class
NewMergeRequestWorker
include
ApplicationWorker
include
ApplicationWorker
include
NewIssuable
include
NewIssuable
...
...
app/workers/new_note_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
NewNoteWorker
class
NewNoteWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/object_storage_upload_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
# @Deprecated - remove once the `object_storage_upload` queue is empty
# @Deprecated - remove once the `object_storage_upload` queue is empty
# The queue has been renamed `object_storage:object_storage_background_upload`
# The queue has been renamed `object_storage:object_storage_background_upload`
#
#
...
...
app/workers/pages_domain_verification_cron_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PagesDomainVerificationCronWorker
class
PagesDomainVerificationCronWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/pages_domain_verification_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PagesDomainVerificationWorker
class
PagesDomainVerificationWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/pages_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PagesWorker
class
PagesWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/pipeline_hooks_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PipelineHooksWorker
class
PipelineHooksWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/pipeline_metrics_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PipelineMetricsWorker
class
PipelineMetricsWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/pipeline_notification_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PipelineNotificationWorker
class
PipelineNotificationWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/pipeline_process_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PipelineProcessWorker
class
PipelineProcessWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/pipeline_schedule_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PipelineScheduleWorker
class
PipelineScheduleWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/pipeline_success_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PipelineSuccessWorker
class
PipelineSuccessWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/pipeline_update_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PipelineUpdateWorker
class
PipelineUpdateWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/plugin_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PluginWorker
class
PluginWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/post_receive.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PostReceive
class
PostReceive
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/process_commit_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
# Worker for processing individiual commit messages pushed to a repository.
# Worker for processing individiual commit messages pushed to a repository.
#
#
# Jobs for this worker are scheduled for every commit that is being pushed. As a
# Jobs for this worker are scheduled for every commit that is being pushed. As a
...
...
app/workers/project_cache_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
# Worker for updating any project specific caches.
# Worker for updating any project specific caches.
class
ProjectCacheWorker
class
ProjectCacheWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/project_destroy_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ProjectDestroyWorker
class
ProjectDestroyWorker
include
ApplicationWorker
include
ApplicationWorker
include
ExceptionBacktrace
include
ExceptionBacktrace
...
...
app/workers/project_export_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ProjectExportWorker
class
ProjectExportWorker
include
ApplicationWorker
include
ApplicationWorker
include
ExceptionBacktrace
include
ExceptionBacktrace
...
...
app/workers/project_migrate_hashed_storage_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ProjectMigrateHashedStorageWorker
class
ProjectMigrateHashedStorageWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/project_service_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ProjectServiceWorker
class
ProjectServiceWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/propagate_service_template_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
# Worker for updating any project specific caches.
# Worker for updating any project specific caches.
class
PropagateServiceTemplateWorker
class
PropagateServiceTemplateWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/prune_old_events_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
PruneOldEventsWorker
class
PruneOldEventsWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/reactive_caching_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ReactiveCachingWorker
class
ReactiveCachingWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/rebase_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RebaseWorker
class
RebaseWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/remove_expired_group_links_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RemoveExpiredGroupLinksWorker
class
RemoveExpiredGroupLinksWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/remove_expired_members_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RemoveExpiredMembersWorker
class
RemoveExpiredMembersWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/remove_old_web_hook_logs_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RemoveOldWebHookLogsWorker
class
RemoveOldWebHookLogsWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/remove_unreferenced_lfs_objects_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RemoveUnreferencedLfsObjectsWorker
class
RemoveUnreferencedLfsObjectsWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/repository_archive_cache_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RepositoryArchiveCacheWorker
class
RepositoryArchiveCacheWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/repository_fork_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RepositoryForkWorker
class
RepositoryForkWorker
include
ApplicationWorker
include
ApplicationWorker
include
Gitlab
::
ShellAdapter
include
Gitlab
::
ShellAdapter
...
...
app/workers/repository_import_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RepositoryImportWorker
class
RepositoryImportWorker
include
ApplicationWorker
include
ApplicationWorker
include
ExceptionBacktrace
include
ExceptionBacktrace
...
...
app/workers/repository_remove_remote_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RepositoryRemoveRemoteWorker
class
RepositoryRemoveRemoteWorker
include
ApplicationWorker
include
ApplicationWorker
include
ExclusiveLeaseGuard
include
ExclusiveLeaseGuard
...
...
app/workers/repository_update_remote_mirror_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RepositoryUpdateRemoteMirrorWorker
class
RepositoryUpdateRemoteMirrorWorker
UpdateAlreadyInProgressError
=
Class
.
new
(
StandardError
)
UpdateAlreadyInProgressError
=
Class
.
new
(
StandardError
)
UpdateError
=
Class
.
new
(
StandardError
)
UpdateError
=
Class
.
new
(
StandardError
)
...
...
app/workers/requests_profiles_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RequestsProfilesWorker
class
RequestsProfilesWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/run_pipeline_schedule_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
RunPipelineScheduleWorker
class
RunPipelineScheduleWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/schedule_update_user_activity_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
ScheduleUpdateUserActivityWorker
class
ScheduleUpdateUserActivityWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/stage_update_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
StageUpdateWorker
class
StageUpdateWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/storage_migrator_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
StorageMigratorWorker
class
StorageMigratorWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/stuck_ci_jobs_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
StuckCiJobsWorker
class
StuckCiJobsWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/stuck_import_jobs_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
StuckImportJobsWorker
class
StuckImportJobsWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/stuck_merge_jobs_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
StuckMergeJobsWorker
class
StuckMergeJobsWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/system_hook_push_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
SystemHookPushWorker
class
SystemHookPushWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/trending_projects_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
TrendingProjectsWorker
class
TrendingProjectsWorker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
app/workers/update_head_pipeline_for_merge_request_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
UpdateHeadPipelineForMergeRequestWorker
class
UpdateHeadPipelineForMergeRequestWorker
include
ApplicationWorker
include
ApplicationWorker
include
PipelineQueue
include
PipelineQueue
...
...
app/workers/update_merge_requests_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
UpdateMergeRequestsWorker
class
UpdateMergeRequestsWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/update_user_activity_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
UpdateUserActivityWorker
class
UpdateUserActivityWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/upload_checksum_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
UploadChecksumWorker
class
UploadChecksumWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/wait_for_cluster_creation_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
WaitForClusterCreationWorker
class
WaitForClusterCreationWorker
include
ApplicationWorker
include
ApplicationWorker
include
ClusterQueue
include
ClusterQueue
...
...
app/workers/web_hook_worker.rb
View file @
dfbe5ce4
# frozen_string_literal: true
class
WebHookWorker
class
WebHookWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
changelogs/unreleased/frozen-string-app-workers.yml
0 → 100644
View file @
dfbe5ce4
---
title
:
Enable frozen string in app/workers/*.rb
merge_request
:
19944
author
:
gfyoung
type
:
other
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