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
b02b0cfc
Commit
b02b0cfc
authored
Sep 04, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
54ac853f
39d52cfb
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
14 additions
and
14 deletions
+14
-14
app/services/auth/container_registry_authentication_service.rb
...ervices/auth/container_registry_authentication_service.rb
+1
-1
app/services/auto_merge_service.rb
app/services/auto_merge_service.rb
+1
-1
app/services/merge_requests/rebase_service.rb
app/services/merge_requests/rebase_service.rb
+1
-1
app/services/projects/destroy_service.rb
app/services/projects/destroy_service.rb
+1
-1
app/services/projects/lfs_pointers/lfs_download_link_list_service.rb
...s/projects/lfs_pointers/lfs_download_link_list_service.rb
+1
-1
app/services/projects/lfs_pointers/lfs_list_service.rb
app/services/projects/lfs_pointers/lfs_list_service.rb
+1
-1
app/services/projects/lfs_pointers/lfs_object_download_list_service.rb
...projects/lfs_pointers/lfs_object_download_list_service.rb
+2
-2
app/services/projects/open_issues_count_service.rb
app/services/projects/open_issues_count_service.rb
+2
-2
app/services/projects/update_pages_service.rb
app/services/projects/update_pages_service.rb
+2
-2
app/services/submit_usage_ping_service.rb
app/services/submit_usage_ping_service.rb
+1
-1
app/services/wikis/create_attachment_service.rb
app/services/wikis/create_attachment_service.rb
+1
-1
No files found.
app/services/auth/container_registry_authentication_service.rb
View file @
b02b0cfc
...
...
@@ -2,7 +2,7 @@
module
Auth
class
ContainerRegistryAuthenticationService
<
BaseService
AUDIENCE
=
'container_registry'
.
freeze
AUDIENCE
=
'container_registry'
def
execute
(
authentication_abilities
:)
@authentication_abilities
=
authentication_abilities
...
...
app/services/auto_merge_service.rb
View file @
b02b0cfc
# frozen_string_literal: true
class
AutoMergeService
<
BaseService
STRATEGY_MERGE_WHEN_PIPELINE_SUCCEEDS
=
'merge_when_pipeline_succeeds'
.
freeze
STRATEGY_MERGE_WHEN_PIPELINE_SUCCEEDS
=
'merge_when_pipeline_succeeds'
STRATEGIES
=
[
STRATEGY_MERGE_WHEN_PIPELINE_SUCCEEDS
].
freeze
class
<<
self
...
...
app/services/merge_requests/rebase_service.rb
View file @
b02b0cfc
...
...
@@ -2,7 +2,7 @@
module
MergeRequests
class
RebaseService
<
MergeRequests
::
WorkingCopyBaseService
REBASE_ERROR
=
'Rebase failed. Please rebase locally'
.
freeze
REBASE_ERROR
=
'Rebase failed. Please rebase locally'
def
execute
(
merge_request
)
@merge_request
=
merge_request
...
...
app/services/projects/destroy_service.rb
View file @
b02b0cfc
...
...
@@ -6,7 +6,7 @@ module Projects
DestroyError
=
Class
.
new
(
StandardError
)
DELETED_FLAG
=
'+deleted'
.
freeze
DELETED_FLAG
=
'+deleted'
REPO_REMOVAL_DELAY
=
5
.
minutes
.
to_i
def
async_execute
...
...
app/services/projects/lfs_pointers/lfs_download_link_list_service.rb
View file @
b02b0cfc
...
...
@@ -5,7 +5,7 @@
module
Projects
module
LfsPointers
class
LfsDownloadLinkListService
<
BaseService
DOWNLOAD_ACTION
=
'download'
.
freeze
DOWNLOAD_ACTION
=
'download'
DownloadLinksError
=
Class
.
new
(
StandardError
)
DownloadLinkNotFound
=
Class
.
new
(
StandardError
)
...
...
app/services/projects/lfs_pointers/lfs_list_service.rb
View file @
b02b0cfc
...
...
@@ -4,7 +4,7 @@
module
Projects
module
LfsPointers
class
LfsListService
<
BaseService
REV
=
'HEAD'
.
freeze
REV
=
'HEAD'
# Retrieve all lfs blob pointers and returns a hash
# with the structure { lfs_file_oid => lfs_file_size }
...
...
app/services/projects/lfs_pointers/lfs_object_download_list_service.rb
View file @
b02b0cfc
...
...
@@ -8,9 +8,9 @@ module Projects
class
LfsObjectDownloadListService
<
BaseService
include
Gitlab
::
Utils
::
StrongMemoize
HEAD_REV
=
'HEAD'
.
freeze
HEAD_REV
=
'HEAD'
LFS_ENDPOINT_PATTERN
=
/^\t?url\s*=\s*(.+)$/
.
freeze
LFS_BATCH_API_ENDPOINT
=
'/info/lfs/objects/batch'
.
freeze
LFS_BATCH_API_ENDPOINT
=
'/info/lfs/objects/batch'
LfsObjectDownloadListError
=
Class
.
new
(
StandardError
)
...
...
app/services/projects/open_issues_count_service.rb
View file @
b02b0cfc
...
...
@@ -7,8 +7,8 @@ module Projects
include
Gitlab
::
Utils
::
StrongMemoize
# Cache keys used to store issues count
PUBLIC_COUNT_KEY
=
'public_open_issues_count'
.
freeze
TOTAL_COUNT_KEY
=
'total_open_issues_count'
.
freeze
PUBLIC_COUNT_KEY
=
'public_open_issues_count'
TOTAL_COUNT_KEY
=
'total_open_issues_count'
def
initialize
(
project
,
user
=
nil
)
@user
=
user
...
...
app/services/projects/update_pages_service.rb
View file @
b02b0cfc
...
...
@@ -7,11 +7,11 @@ module Projects
BLOCK_SIZE
=
32
.
kilobytes
MAX_SIZE
=
1
.
terabyte
PUBLIC_DIR
=
'public'
.
freeze
PUBLIC_DIR
=
'public'
# this has to be invalid group name,
# as it shares the namespace with groups
TMP_EXTRACT_PATH
=
'@pages.tmp'
.
freeze
TMP_EXTRACT_PATH
=
'@pages.tmp'
attr_reader
:build
...
...
app/services/submit_usage_ping_service.rb
View file @
b02b0cfc
# frozen_string_literal: true
class
SubmitUsagePingService
URL
=
'https://version.gitlab.com/usage_data'
.
freeze
URL
=
'https://version.gitlab.com/usage_data'
METRICS
=
%w[leader_issues instance_issues percentage_issues leader_notes instance_notes
percentage_notes leader_milestones instance_milestones percentage_milestones
...
...
app/services/wikis/create_attachment_service.rb
View file @
b02b0cfc
...
...
@@ -2,7 +2,7 @@
module
Wikis
class
CreateAttachmentService
<
Files
::
CreateService
ATTACHMENT_PATH
=
'uploads'
.
freeze
ATTACHMENT_PATH
=
'uploads'
MAX_FILENAME_LENGTH
=
255
delegate
:wiki
,
to: :project
...
...
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